Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pytest-dev/pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://github.com/pytest-dev/pytest

testing/python/collect: replace use of deprecated/removed `imp` module

40590008349facb37d48ec147c0d3b6d663cfc4c authored over 1 year ago
Merge pull request #11086 from pytest-dev/update-plugin-list/patch-32de8e289

[automated] Update plugin list

0ded3297a9749aabad7d3c2447dce98321741dda authored over 1 year ago
[automated] Update plugin list

fc9cbbd4c4d76ca20963370cfd800395b9a87495 authored over 1 year ago
Merge pull request #10853 from stefmolin/patch-1

Update fixture scope in package/directory fixture example.

1a1753906518aeac506b5e14713abbc9112d891a authored over 1 year ago
Merge pull request #11082 from bluetech/norecursedir-in-hook

main: move norecursedir check to main's pytest_ignore_collect

32de8e28931645d6e36e9f1020304e4e878a896b authored over 1 year ago
Merge pull request #11076 from pytest-dev/update-plugin-list/patch-b5ff089d2

[automated] Update plugin list

5d4a342a7aea143c8318b7ee56a9bdf80f14c63a authored over 1 year ago
Introduced a hardcoded list of project to include as plugins beyond those found by their names. (#11077)

1790f172283abe9c22d715731445e22e546b844d authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11084)

updates:
- [github.com/asottile/setup-cfg-fmt: v2.2.0 → v2.3.0](https://github.com/asottile/set...

ee8baa2676c7f4ecb7e9e64db354b2cee75a18ff authored over 1 year ago
main: move norecursedir check to main's pytest_ignore_collect

Fix #11081

ae38b076da99ea0d4092a4be604ccc4b0f73d8af authored over 1 year ago
build(deps): Bump pytest-xvfb in /testing/plugins_integration (#11079)

Bumps [pytest-xvfb](https://github.com/The-Compiler/pytest-xvfb) from 2.0.0 to 3.0.0.
- [Change...

85c5bd26b6d94dca423c2c0c54717750eac81cae authored over 1 year ago
Merge pull request #11078 from bluetech/pkg-roots-path

main: change pkg_roots to work with `Path`s instead of string paths

e1204e1e23347d0f89e20745b255a078f304fdb9 authored over 1 year ago
main: change pkg_roots to work with `Path`s instead of string paths

- Works better on Windows (case sensitivity)
- Simpler code

313b61471f47d7d95402110ed5960c1ffacd3157 authored over 1 year ago
[automated] Update plugin list

1daa8129c656af9352f25f9ace9cedcc7a262386 authored over 1 year ago
Merge pull request #11069 from bluetech/lf-file

cacheprovider: make file-skipping work with any File, not just Modules

b5ff089d2cc939b042c8ad7a6a0e1850fc169907 authored over 1 year ago
cacheprovider: make file-skipping work with any File, not just Modules

No reason for `--lf`'s whole-file-skipping feature to not for for
non-Python files.

Fix #11068.

fda8024622df64802f9670bfe2ba658b40f6674d authored over 1 year ago
Merge pull request #11059 from bluetech/lf-skip-across

cacheprovider: fix file-skipping functionality across packages

4b823a42ce3dc267196b317513d0558caac9febc authored over 1 year ago
Merge pull request #11070 from bluetech/pkg-redundant-methods

python: remove redundant methods from Package

6c9b277ce4fc87886a13e29184c278bdbbb5386b authored over 1 year ago
python: remove redundant methods from Package

They are already inherited exactly the same from FSCollector.

3de43e51025a75369c2560623c5e7fc50c0b5137 authored over 1 year ago
cacheprovider: fix file-skipping functionality across packages

Continuation of fc538c5766a1c67bfcd704288279ceac5e20070a.
Fixes #11054 again.

c76ae74bd79e8db9ff08996a86bc4f1cfdc1be48 authored over 1 year ago
Merge pull request #11043 from bluetech/confcutdir-rootpath

config: fallback confcutdir to rootpath if inipath is not set

24534cdd29d74e302e86db1a719c99e024d7903e authored over 1 year ago
Merge pull request #10921 from bluetech/tb-simplify-2

Fix hidden traceback entries of chained exceptions getting shown

99c78aa93aff0d1ede554ecde92f955ebe8fb156 authored over 1 year ago
Merge pull request #11055 from bluetech/lf-skipped-package

cacheprovider: fix file-skipping feature for files in packages

3a6bdcd76b57e45ca03e6a20db787564843902f1 authored over 1 year ago
config: fallback confcutdir to rootpath if inipath is not set

Currently, if `--confcutdir` is not set, `inipath.parent` is used, and
if `initpath` is not set,...

4a1bba25b9ad23dccc00c695ffb4050b6ddb4189 authored over 1 year ago
Fix warlus operator behavior when called by a function (#11041)

In #10758 we introduced the support for the use of the walrus operator in the test cases. There ...

9e1add75f771904ac124bbd0e313a77febe62ce4 authored over 1 year ago
Handle microseconds with custom logging.Formatter (#11047)

Added handling of %f directive to print microseconds in log format options, such as log-date-for...

4da9026766b3b6586a12a815a9713457c6567ec1 authored over 1 year ago
Add warning when testpaths is set but paths are not found by glob (#11044)

Closes #11013

---------

Co-authored-by: Ran Benita <[email protected]>

7c231baa6400a653eb322705ffffb6385dead3dc authored over 1 year ago
cacheprovider: fix file-skipping feature for files in packages

`--lf` has a feature where if a certain `Module` (python file) does not
contain any failed tests...

fc538c5766a1c67bfcd704288279ceac5e20070a authored over 1 year ago
build(deps): Bump anyio[curio,trio] in /testing/plugins_integration (#11050)

Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio) from 3.6.2 to 3.7.0.
- [Changelog]...

fbfd4b50050080413c8faca5368b9cb9b1ac9313 authored over 1 year ago
build(deps): Bump pytest-cov in /testing/plugins_integration (#11051)

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0.
- [Changelog](...

ec752537ea01e46ab51bd2787786ce9a5db99597 authored over 1 year ago
nodes: apply same traceback filtering for chained exceptions as main exception

Fix #1904.

dd667336ce0b55b430452e78cd57ba2c0a769066 authored over 1 year ago
Merge pull request #11046 from pytest-dev/update-plugin-list/patch-4f3f36c39

[automated] Update plugin list

29d16d293965a9dc3511576113db8f9eff2c8bc1 authored over 1 year ago
[automated] Update plugin list

5313d50e187ab4dc9f267c88c15ff2a7d757fb05 authored over 1 year ago
Add alias `--config-file` to `-c` (#11036)

Fixes #11031

Signed-off-by: Chris Mahoney <[email protected]>
Co-authored-by: Chris Ma...

4f3f36c396b52f8398bc4734ff0c00c57cf1fed1 authored over 1 year ago
Merge pull request #11026 from bluetech/small-fixes

Small fixes and improvements

af124c7f21c8a73ef9be6ae101d9a1ef96ff6039 authored over 1 year ago
Merge pull request #11033 from jkeifer/patch-1

nonpython example now repr all exceptions

4e6d53fef52f2de364646db669fb9e5b79a98365 authored over 1 year ago
nonpython example now repr all exceptions

The definition of `repr_failure` on the `YamlItem` subclass only handled the custom `YamlExcepti...

751d726d2106be313eb63134b2a699e2c9b23e7b authored over 1 year ago
[automated] Update plugin list (#11027)

Co-authored-by: pytest bot <[email protected]>

9e491f430e5f1e82eb75682342db4e933dd45073 authored over 1 year ago
pathlib: extract `scandir` utility from `visit`

Will be used on its in some upcoming changes, but good on its own.

519f351b4f281473e29fc215f538b74237771ffd authored over 1 year ago
python: simplify code in Package.collect()

The path of Package is already the `__init__.py` file, and we're already
assured it's a file.

baaa67dfb91444a58b28806bb6719a337454c4bb authored over 1 year ago
python: fix syntax typo

63f258f432198e16aa85a265d59a0513d2a02749 authored over 1 year ago
fixtures: use isinstance in get_scope_package

No reason for the exact type equality.

5d53447a73940fd6ff2bc53dd58ac61b861d34e8 authored over 1 year ago
fixtures: type annotate get_scope_package

1716d3c9bf46dabba9f6790b4c1ef88305c5990f authored over 1 year ago
fixtures: add type annotations and docstring to `parsefactories`

ac699e7b25a8d05222fc5b58bd4a1064ff03fa48 authored over 1 year ago
fixtures: inline FixtureRequest._addfinalizer

There are no longer any calls to `_addfinalizer` other than this one
place, so inline it.

a5f37199a95c06088819b8a532d37093c8a2f72e authored over 1 year ago
Use NamedTuple for pytest_report_teststatus return value (#10972)

Closes #10872

---------

Co-authored-by: Bruno Oliveira <[email protected]>

9fa82598a96ce28013630a45ef4af0074f73f944 authored over 1 year ago
add a warning about modifying the root logger during tests

a2feb6bd000fef069ec3065d46470f59c2d24450 authored over 1 year ago
Handle disabled logging in 'caplog.set_level' and 'caplog.at_level' (#8758)

Forces requested `caplog` logging levels to be enabled if they were disabled via `logging.disabl...

ba32a3bd87e92d87d777a62414972374cbbfddf2 authored over 1 year ago
Include reason in cache path warnings to aid debugging (#11005)

Co-authored-by: Bruno Oliveira <[email protected]>

c8641f879f3dac0ce92338a6b87b687b7efe25d7 authored over 1 year ago
Spelling and grammar fixes (#11014)

6041511fb4f43e5c1139ccdca169e0c849d00d54 authored over 1 year ago
Merge pull request #11009 from nicoddemus/reference-status-of-python-versions

Reference "Status of Python Versions" in backwards-compatibility policy

739408b958f8e5a24de81e17e4cc2d4f34d93991 authored over 1 year ago
Reference "Status of Python Versions" in backwards-compatibility policy

As suggested in #10981.

163632299565ec33b8566dc39f6b46c15b922953 authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11007)

updates:
- [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.3.0](https://github.com/pre-commit/...

b8edacb8f1e79d6f5b37e46868d6b1b50c13ad3f authored over 1 year ago
[automated] Update plugin list (#11001)

Co-authored-by: pytest bot <[email protected]>

612489e2bdf0c39818474e7c4e37b367646f79ae authored over 1 year ago
build(deps): Bump actions/stale from 5 to 8 (#11003)

Bumps [actions/stale](https://github.com/actions/stale) from 5 to 8.
- [Release notes](https://g...

383774db1057830fb303c39de6d9ab7741492d87 authored over 1 year ago
monkeypatch: add support for TypedDict (#11000)

3b5b3cf50ee514773c14626419b472625e76e438 authored over 1 year ago
Fix close stale issues workflow (#10990)

Fixed how the label is configured.

23e343af6018ef3dcf8650e9b3c4a8da0fabe566 authored over 1 year ago
Merge pull request #10998 from bluetech/pre-commit-rm-default

pre-commit: remove `default_language_version` setting

f9a995b56d077520ddf87cf4c26b7f4712a2315c authored over 1 year ago
pre-commit: remove `default_language_version` setting

This makes it difficult to run on newer python versions than the one
specified.

d9d78a8aef9619a9efc5a4c835a00af06ee1e863 authored over 1 year ago
Merge pull request #10988 from nicoddemus/initial-testpaths-10987

Consider testpaths for initial conftests

76d15231f5749ca26a180df02ef2e5c138aaefc8 authored over 1 year ago
Fix trailing whitespace in .github/workflows/stale.yml

4cc05e7bee158ba12698880e8bb83d5040aa277d authored over 1 year ago
Consider testpaths for initial conftests

The 'testpaths' option is meant to be identical to execute
pytest passing the 'testpaths' direct...

faeb16146b811488ebbcbd17ef6f9102314065b2 authored over 1 year ago
Fix defaults for tmp_path_retention_count and tmp_path_retention_policy in docs

b241c0b479bb409e496db5751a97dac0bd3ad4d9 authored over 1 year ago
Do not break on very long command-line options

`_set_initial_conftests` could break on some systems if a very long
option was passed, because t...

2d57d5c32f6cce9058c24317dfce4c3de22ad2a3 authored over 1 year ago
Add workflow to close "needs information" labeled issues (#10986)

This introduces a workflow to automatically close issues with the label
`status: needs informat...

78403237cf5026f23618ea7a867bf8b674116e6f authored over 1 year ago
Update usage.rst (#10974)

Added a note for single quotation used in Windows.

f84fea08882461a254663f032a9e397279cb6d79 authored over 1 year ago
Merge pull request #10979 from bluetech/faulthandler-no-encoding

faulthandler: avoid accessing sys.stderr.encoding

271bdf6c235360131ae5a3e3426f39174811c0cf authored over 1 year ago
Merge pull request #10970 from pytest-dev/dependabot/pip/testing/plugins_integration/django-4.2.1

build(deps): Bump django from 4.2 to 4.2.1 in /testing/plugins_integration

fd56968f2b9006b7a93bcf918b465d37bd3eea56 authored over 1 year ago
Merge pull request #10978 from bzoracler/fix-pytest-code-import

fix reference to non-existent module

5b75b0d03f6968e5b389003798589cfa651ac9ff authored over 1 year ago
faulthandler: avoid accessing sys.stderr.encoding

Fixes a pytest-xdist regression after
762bb61562d1300eedeb80be2ec2fb8150b3cc3f (not yet released...

aac5d5d08b715ca63fa49a812e5fd97c3da1a062 authored over 1 year ago
fix reference to non-existent module

b1460f32613bc32f4a4e0accac0f6324bc878f8e authored over 1 year ago
[automated] Update plugin list (#10968)

Co-authored-by: pytest bot <[email protected]>

a88ae8289cd21d39dd360666bb2e83dfa98b215e authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#10975)

updates:
- https://github.com/asottile/reorder_python_imports → https://github.com/asottile/reo...

62320e4ff77af1e50cc93cd664a7549ae08338b7 authored over 1 year ago
build(deps): Bump django in /testing/plugins_integration

Bumps [django](https://github.com/django/django) from 4.2 to 4.2.1.
- [Commits](https://github.c...

6514041a351a2fd370a24358bf8f6644ac18789f authored over 1 year ago
Improve verbose output by wrapping skip/xfail reasons with margin (#10958)

Co-authored-by: Bruno Oliveira <[email protected]>

7d548c38e26398d40e5891b3529a8d1eb72e0d74 authored over 1 year ago
Merge pull request #10957 from pytest-dev/update-plugin-list/patch-762bb6156

[automated] Update plugin list

07eeeb8dfc82de289565a57880ca08b0eac4462d authored over 1 year ago
[automated] Update plugin list

be774667c2313debfa87d4ecd17455d20a4e6187 authored over 1 year ago
Fix couple of EncodingWarnings (#10954)

* faulthandler: fix an EncodingWarning

* _py/path: tiny change to `ensure` to silence Encodin...

762bb61562d1300eedeb80be2ec2fb8150b3cc3f authored over 1 year ago
add flake8-pytest-style mention to goodpractices (#10939)

725de3a0d3bb3554cb987940561276d5e76c828c authored over 1 year ago
code: inline `Traceback.getcrashentry` into `ExceptionInfo._getreprcrash`

Since `Traceback.getcrashentry` takes the `ExceptionInfo`, it is not
really independent of it an...

0a20452f78a2f5401cf0fc05dad04c8aeee170d7 authored over 1 year ago
code: stop storing weakref to ExceptionInfo on Traceback and TracebackEntry

TracebackEntry needs the excinfo for the `__tracebackhide__ = callback`
functionality, where `ca...

cc23ec91d042ee15145b890aea04e96f6e831101 authored over 1 year ago
code: make TracebackEntry immutable

TracebackEntry being mutable caught me by surprise and makes reasoning
about the exception forma...

6f7f89f3c42861448a370fe7bfc343083850f600 authored over 1 year ago
nodes: change _prunetraceback to return the new traceback instead of modifying excinfo

This makes it usable as a general function, and just more understandable
in general.

fcada1ea4763c0e3471cd58ac4b89e7c874e6264 authored over 1 year ago
doc: Fix 2024 training location (#10947)

a15f54496293157b4c8f65164f86ba81c3d908a1 authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#10941)

updates:
- [github.com/PyCQA/autoflake: v2.1.0 → v2.1.1](https://github.com/PyCQA/autoflake/com...

3823ce60dd977e55168915306376b98474531eb2 authored over 1 year ago
Filter new pkg_resources deprecations (#10938)

Fixes https://github.com/pytest-dev/pytest/issues/10815

e03f82c359ee2b6596dbf3aeece8537f4b8fb7ab authored over 1 year ago
Fix documentation typo (#10942)

158f41fdf8d11afcf01e4e15a9d96d95a3041d77 authored over 1 year ago
Merge pull request #10936 from pytest-dev/update-plugin-list/patch-0860f4e91

[automated] Update plugin list

fd6a4507ac047d7b356bb5f92cf33db66176b2b4 authored over 1 year ago
[automated] Update plugin list

15156757b6432669834d5b89810cf9e00f890a2b authored over 1 year ago
Add 2024 pytest training (#10933)

0860f4e916db4f0b7bae99b9c9f85a02e88ff4d3 authored almost 2 years ago
Merge pull request #10920 from bluetech/testing-no-testdir

testing: remove usages of testdir that sneaked back in

11965d1c277dbbc9e0e52b7a0d0801da42485d68 authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate (#10926)

updates:
- [github.com/PyCQA/autoflake: v2.0.2 → v2.1.0](https://github.com/PyCQA/autoflake/comp...

14be71b234a617f487b58a6f277a64c6904b3164 authored almost 2 years ago
build(deps): Bump pytest-sugar in /testing/plugins_integration (#10922)

Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar) from 0.9.5 to 0.9.7.
- [Release not...

2d6206b89a78e2fbcf84094e873b13b15ff7929e authored almost 2 years ago
Fix `pytrace=False` and `--tb=line` reports `None` (#10905)

Closes #10831.

This fixes a small bug where running tests that contained
`pytest.fail(pytrac...

41f57ef95db48be04faea33dd5bd2b414f42a395 authored almost 2 years ago
Merge pull request #10918 from pytest-dev/update-plugin-list/patch-7834b3b07

[automated] Update plugin list

4eca6063c8df11a0bb8dbe23745294aa5d5fec67 authored almost 2 years ago
testing: remove usages of testdir that sneaked back in

819f5abd731a8d48ea05ca01bd2874d298053977 authored almost 2 years ago
Merge pull request #10919 from bluetech/missing-changelog

doc: add missing changelog for #10907

adf891ab1d62fd3bffeb6401561fdd9634b9a088 authored almost 2 years ago
doc: add missing changelog for #10907

f08184ba209fc127e1c483bf7058830db3fea5be authored almost 2 years ago
[automated] Update plugin list

28783e5d23beb23de8f2abff04c7cfada00c9f8b authored almost 2 years ago
Merge pull request #10914 from nicoddemus/cherry-pick-release-7.3.1

Merge pull request #10913 from pytest-dev/release-7.3.1

7834b3b07f7a7b2409331a8f14141c6ee8546215 authored almost 2 years ago
Merge pull request #10913 from pytest-dev/release-7.3.1

Prepare release 7.3.1

(cherry picked from commit a1f7a204df45a4fd07d5d62128f61198e5dd7f23)

ece756fcb4c3ca2bf6368f3abf52db9530930212 authored almost 2 years ago