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

Fix tmp_path regression introduced in 7.3.0 (#10911)

The problem is that we would loop over all directories of the basetemp directory searching for d...

d38077106556184026137fe83d8351970f08ac89 authored almost 2 years ago
Merge pull request #10907 from bluetech/empty-traceback

code: handle repr'ing empty tracebacks gracefully

b893d2a0fe3e6b5c0ab5e009cf4ceba98180d384 authored almost 2 years ago
code: handle repr'ing empty tracebacks gracefully

By "empty traceback" I mean a traceback all of whose entries have been
filtered/cut/pruned out.
...

e3b179976666b53f170b95c586322e1feb483a3c authored almost 2 years ago
Merge pull request #10901 from bluetech/exceptioninfo-from-exception

code: add `ExceptionInfo.from_exception`

5d1385320f3d69173cf22c84a31bd28dd00aa7b9 authored almost 2 years ago
Merge pull request #10904 from bluetech/revert-10772

Revert "Correctly handle tracebackhide for chained exceptions (#10772)"

eff54aece16f4a6314ea64e8901cc849ea316bec authored almost 2 years ago
Merge branch 'main' into exceptioninfo-from-exception

bc1fc3f0fc2f25c19741363471b3fa0fd0a8b6ab authored almost 2 years ago
Merge pull request #10900 from bluetech/exceptioninfo-from_exc_info-exp

code: drop Experimental API label from ExceptionInfo.from_exc_info

784ffa0fad9f11043fee5e0e27317f4cd91e6243 authored almost 2 years ago
Revert "Correctly handle tracebackhide for chained exceptions (#10772)"

This reverts commit 431ec6d34ef99d80f90b330876ed6231144a3ce7.

Fix #10903.
Reopen #1904.

90412827c3c87ceb1a903743110f0b892f13feec authored almost 2 years ago
code: add ExceptionInfo.from_exception

The old-style `sys.exc_info()` triplet is redundant nowadays with
`(type(exc), exc, exc.__traceb...

424c3eebde1192b671767359c23b6344c795dc70 authored almost 2 years ago
code: drop Experimental API label from ExceptionInfo.from_exc_info

This API is OK, I don't think we're going to change something about it
at this point.

9c2247ec1b9566266478e6f561cad30079533ed5 authored almost 2 years ago
Merge pull request #10893 from bluetech/py312

Python 3.12 alpha fixes

61f7c27ec03099c0ed9c80b74fd37687e610ffa7 authored almost 2 years ago
pathlib: fix Python 3.12 rmtree(onerror=...) deprecation

Fixes #10890
Ref: https://docs.python.org/3.12/library/shutil.html#shutil.rmtree

1b196fbeaf7e9048054cb411d911237eba6a74a9 authored almost 2 years ago
unittest: add addDuration function for Python 3.12 support

Fix #10875

Without this, fails with

```
...
E AttributeError: 'TestCaseFunction' obj...

1b81d636e2a086403031909cfb71a397d1ce26de authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate (#10891)

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

22524046cff84c66f128da9e3cdb993082445c75 authored almost 2 years ago
Amend changelog note for removal of attrs (#10888)

As discussed in https://github.com/pytest-dev/pytest/pull/10669#issuecomment-1501497729, we shou...

6dcd652d4a55bacda01a15017e155caa816e15a5 authored almost 2 years ago
build(deps): Bump peter-evans/create-pull-request from 4.2.4 to 5.0.0 (#10887)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from...

be9faa68d8887a071acb9b6ad3937be444e60008 authored almost 2 years ago
build(deps): Bump django in /testing/plugins_integration (#10886)

Bumps [django](https://github.com/django/django) from 4.1.7 to 4.2.
- [Release notes](https://g...

e4e13dd913ebdb333e5dabf7f63c8ffcc4006c4e authored almost 2 years ago
Merge pull request #10884 from pytest-dev/update-plugin-list/patch-ec8e23951

[automated] Update plugin list

5a399030c15e504995b924826f01beaca05fafb0 authored almost 2 years ago
Merge pull request #10880 from bluetech/regen-rm-dataclasses-dep

tox: remove `dataclasses` dependency from `regen`

19c8ef63a4f443e93e4c813c599f65192244f291 authored almost 2 years ago
[automated] Update plugin list

22951bba6746b1a8a3e783789a18c4518b22ab33 authored almost 2 years ago
Merge pull request #10883 from bluetech/cherry-pick-release

Cherry pick 7.3.0 release notes

ec8e23951dc72ddb4a2bc273a0f5b6406f555a14 authored almost 2 years ago
Merge pull request #10881 from pytest-dev/release-7.3.0

Prepare release 7.3.0

(cherry picked from commit cec5bfe0588adaa2ca36c72c724378982db6410a)

bf47357511c6f13012e89f7e142c8c6b4bf413c0 authored almost 2 years ago
tox: remove `dataclasses` dependency from `regen`

This dep is not needed on newer Pythons.

2d2dc4a2a8eb40d1d04c2f5673734ea958efb5cc authored almost 2 years ago
FormattedExcinfo.get_source: avoid crash when line number is out-of-bounds/negative

pytest could crash given pathological AST position attributes, which shouldn't happen when testi...

3683722bcbc0facc8fe695c7ece286f26fc6234f authored almost 2 years ago
[automated] Update plugin list (#10857)

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

31d0b51039fc295dfb14bfc5d2baddebe11bb746 authored almost 2 years ago
Merge pull request #10862 from pytest-dev/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

2d2f69dab5a9042a45d4ee6a1bf0227f8487657b authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0.....

2a39ed3461e44d4801316783308d8d9595422c83 authored almost 2 years ago
Update fixture scope in package/directory fixture example.

f1c75851846c5b709049fa92d609b4736b72474b authored almost 2 years ago
[automated] Update plugin list (#10838)

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

a3b39069bc44774206c7bd682e0ca253d5f74efc authored almost 2 years ago
[automated] Update plugin list (#10823)

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

172c832cbdbfa407087ed6a895a298b48984da2a authored almost 2 years ago
build(deps): Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4 (#10828)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from...

839b90db457eacd7a0c541c8a64d0dfe3447a33c authored almost 2 years ago
build(deps): Bump pytest-asyncio in /testing/plugins_integration (#10827)

Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.2 to 0.21.0.
- [...

549cc512f7aca5da453d22b0663ae4dbbc0d611e authored almost 2 years ago
Merge pull request #10727 from RonnyPfannschmidt/ronny/split-report-header

split up report header lines for config, rootdir and testpaths

2369bed1db7a2c840e2f651bbef37eaa112f1c0d authored almost 2 years ago
bugfix: fix imports for simple example

54864f0c9b44dead80a0f4d6601a2da1e0203a19 authored almost 2 years ago
split up report header lines

i found it painful to read crammed in a single line
thus rootdir, config file and testpaths now ...

407b330fe10a2290389c61b6ecf3bb2c7714f465 authored almost 2 years ago
run regendoc

ba969d2ae749d7b284cf14d15e56a08162fb2b32 authored almost 2 years ago
Correctly handle tracebackhide for chained exceptions (#10772)

431ec6d34ef99d80f90b330876ed6231144a3ce7 authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate (#10814)

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

eada68b2b3ac4814319f79f4bb72ec42809f0e07 authored almost 2 years ago
build(deps): Bump pytest-rerunfailures in /testing/plugins_integration (#10812)

Bumps [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) from 11.1.1 to ...

ab069247cd8b54f88ff8811174f99e4c6421e966 authored almost 2 years ago
[automated] Update plugin list (#10810)

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

7af1e4e4edf706c261a246b3a060cf7b906f617b authored almost 2 years ago
Include `pyproject.toml` in help section that lists out config files with ini-options (#10807)

0ae04ae629e0576090346ddc91e7f1cbfb122205 authored almost 2 years ago
doc: Remove done training (#10805)

723035be7f6abd339bba233ad05f9db41202a904 authored almost 2 years ago
Fix walrus operator support in assertion rewriting (#10758)

Closes #10743

6e478b094787f3d2bf2db3676d330c7a13ac6b98 authored almost 2 years ago
New option to allow a progress report even when capture=no (#10755)

a869141b3de68ea5bb3ad7b9d1935e94fc54b78b authored almost 2 years ago
Merge pull request #10794 from pytest-dev/update-plugin-list/patch-d5dda84ef

[automated] Update plugin list

5e98aefc92d6aa1bc27b367b518b1fd77eb33f86 authored almost 2 years ago
Merge pull request #10795 from bluthej/fix-10782

Fix example in the documentation (#10782)

5f47e423b2866ee9ba9fbb701d1dd660477daa62 authored almost 2 years ago
Fix example in the documentation (#10782)

5a61ec3d4a7495e65686b35617e3277ec44b6213 authored almost 2 years ago
Merge pull request #10766 from rdb/fix-10765

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

1d48b3021ddae7efe659008ac8221bed51e8c317 authored almost 2 years ago
Merge pull request #10793 from nicoddemus/cherry-pick-release

Merge pull request #10792 from pytest-dev/release-7.2.2

d5dda84ef346b83e0b634a92e00c62a8a10e0061 authored almost 2 years ago
Merge pull request #10792 from pytest-dev/release-7.2.2

Prepare release 7.2.2

(cherry picked from commit 3ce6030f0cc0e6fb18cbee1a4a8b1cec8c6d0b0c)

517e02e59e2960c8688dbbcd000cf231b7531348 authored almost 2 years ago
Normalize how changelog entries are written (#10779)

Went over all changelog entries making sure they follow our guidelines as written at:

https:/...

4e259590c99b75c32ab2b498b0f75cd18ee24629 authored almost 2 years ago
Fix test_cmdline_python_namespace_package (#10788)

pgk_resources.declare_namespace has been deprecated, so added an ignore warnings option
to the ...

97a2761d72d881f6b0d313428835cf161b608d69 authored almost 2 years ago
Minor updates to fixtures docs (#10724)

Updated the c fixture to be a little more consistent with other fixtures in the corresponding im...

88c9e92258a15697c4f125ea1b930856ebe2975f authored almost 2 years ago
Docs: be more explicit about module level skip preventing collection (#10753)

72ad32411f5db346933925a07de04463ebafcbdf authored almost 2 years ago
Move logic to get_user_id in compat

cb9e8be301cc32d285fe7a0dc50b2efb904f5344 authored almost 2 years ago
Apply suggestions from code review

d72da480c43521eae289200b63131a0228fc7da8 authored almost 2 years ago
Update changelog/10765.bugfix.rst

07e7deb4a79833309b0165b0d0456a321755c14d authored almost 2 years ago
Merge pull request #10767 from alexhad6/fix-typo-in-python_api.py

Fix typo in python_api.py

572b5657d7ca557593418ce0319fabff88800c73 authored almost 2 years ago
build(deps): Bump pytest-rerunfailures in /testing/plugins_integration (#10754)

Bumps [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) from 11.1 to 11...

44afed9b13cda220155338fe7a7d381a4c50068d authored almost 2 years ago
[automated] Update plugin list (#10752)

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

13ea4780b8c88a19928bd1c97f255b0ec584846c authored almost 2 years ago
Fix typo in python_api.py

135600fca39bc9326150d86f6f34707c1cad4fac authored almost 2 years ago
Fix OSError in tmpdir on emscripten due to missing getuid()

Fixes #10765

c237297b3d673b8d141a388991c3a4b182e12332 authored almost 2 years ago
Merge pull request #10756 from pytest-dev/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

9ccae9a8e3c7bb532eb7dc225f4c68f7dd5a8534 authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-mypy: v1.0.0 → v1.0.1](https://github.com/pre-commit/m...

77152d26e7f4c0236c778009e3e07653bba4131c authored almost 2 years ago
Update import mode documentation to not refer to __import__() anymore. (#10747)

Nowadays, the prepend and append import modes use importlib.import_module() instead of __import_...

da626e7186cc7bf213bc9f8d52e42ff0daf28b92 authored almost 2 years ago
Add CI and BUILD_NUMBER env var in docs (#10749)

051f8f1f0fd14e77e467372fa4b83e84a329e57c authored almost 2 years ago
Merge pull request #10741 from pytest-dev/dependabot/pip/testing/plugins_integration/django-4.1.7

build(deps): Bump django from 4.1.6 to 4.1.7 in /testing/plugins_integration

31ad577325e571ff68a21de80be1ad8736fc122b authored almost 2 years ago
build(deps): Bump django in /testing/plugins_integration

Bumps [django](https://github.com/django/django) from 4.1.6 to 4.1.7.
- [Release notes](https://...

835cac8d8bfd4e3c0d63a6b1c5edf929c0345504 authored almost 2 years ago
Update open training (#10739)

464f29901fd437d03a3434bbcda0918c9c330868 authored almost 2 years ago
Fix entry-points declaration in the documentation example using Hatch

Closes #10721

aa72496d24bf0664d13f1ea19c221762708f83c9 authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate (#10733)

updates:
- [github.com/pre-commit/mirrors-mypy: v0.991 → v1.0.0](https://github.com/pre-commit/...

e9f3a01392d944fc291633579274021dc7b2f948 authored almost 2 years ago
build(deps): Bump pytest-rerunfailures in /testing/plugins_integration (#10731)

Bumps [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) from 11.0 to 11...

00c94ab01bfc567e6c89330c67f2dc65a6126208 authored almost 2 years ago
[automated] Update plugin list (#10726)

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

9048621002fab610e187d1c9e2c251fd8ff65eb3 authored almost 2 years ago
Use build-and-inspect-python-package action (#10722)

This uses https://github.com/hynek/build-and-inspect-python-package to ensure our package is cor...

27165cf8db836c18bd818989ae9478cd4f3a1ee7 authored almost 2 years ago
Document the location tuple (#10700)

7a829cb57d879e0732045305696cf8bd3ef419d8 authored almost 2 years ago
Propagate timestamps from CallInfo to TestReport objects (#10711)

This makes it possible to correlate pytest stages with external events, and also makes it readab...

5e1c3d2477a32b27e11a555ef10cc18707b93c09 authored almost 2 years ago
[pre-commit.ci] pre-commit autoupdate (#10712)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](...

59e7d2bbc9f6b29734fc744664a58beec65c6ccb authored almost 2 years ago
Add a note about -W vs filterwarnings. (#10713)

Closes #10687

Signed-off-by: mvashishtha <[email protected]>

af990401236973b7f9c1cd319c0d180741d1fe2e authored almost 2 years ago
build(deps): Bump django in /testing/plugins_integration (#10706)

Bumps [django](https://github.com/django/django) from 4.1.5 to 4.1.6.
- [Release notes](https:/...

a2b7db7655d96ca3d77348031f107cf1c88563a9 authored almost 2 years ago
[automated] Update plugin list (#10707)

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

9c93c96b14f904edab43aa715b67db33204e88a0 authored almost 2 years ago
[automated] Update plugin list (#10699)

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

4a46ee8bc957b06265c016cc837862447dde79d2 authored about 2 years ago
Fix fixtures named teardown being considered by nose (#10696)

Closes #10597

5dbfb8e108e04d287a47527aa1ede8d6371f8b0b authored about 2 years ago
Clarify docs for `match` regarding escaping (#10695)

Add example using `re.escape` to escape arbitrary literal strings which might contain regular ex...

86a1beba072cb72c1a265ec523cbed84f377913a authored about 2 years ago
Add check for zero denominator in approx (#10624)

Closes #10533

ca40380e99c2cdaab1d0c041f9f28cff37ef8ff9 authored about 2 years ago
Merge pull request #10599 from pytest-dev/fix-update-plugin-list-workflow

Fix update-plugin-list workflow due to new 'packaging'

05eee78aaac97217c1eed1193691b1c8b8936241 authored about 2 years ago
Merge pull request #10680 from bluetech/capture-typing

capture: improve typing

02893139f9d164372c806c6b6ca82d69647d7057 authored about 2 years ago
capture: improve `SysCapture`/`FDCapture` typing

Instead of `SysCapture`/`FDCapture` inheriting from
`SysCaptureBinary`/`FDCaptureBinary`, have b...

c746d2b016a149338c68511d2c5bee8cc5a31325 authored about 2 years ago
capture: improve `DontReadFromInput` typing

Have `DontReadFromInput` inherit from `TextIO`, ensuring it's fully
compatible with `sys.stdin` ...

a3693ce50396e05910c9602443a825831d97a214 authored about 2 years ago
capture: fix pyright type error

This is OK in mypy, but doesn't hurt to fix.

8c53dbf9d746292a36160d290c77a350533cbdba authored about 2 years ago
capture: improve NoCapture typing

54b8b40f83308dd87695d0ec596d1ad767f3f5ab authored about 2 years ago
capture: improve `captureclass` typing

Previously, the any `captureclass` arguments were Any. We need to
introduce another common base ...

54911acf8dd5af091e91f215b6fca78e06ef5a9d authored about 2 years ago
Allow spaces in -p arguments (#10658)

af4143729f04fdbe8ecd206d40ceb58c07da56f5 authored about 2 years ago
Initialize args and args_source during Config.__init__

Closes #10626

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

bd7919e03d1d1fd14b30cfa9211b2a51a00f81ba authored about 2 years ago
capture: fix some Anys

7d4b40337b3c2642e40ac462ba45d69f164a3f02 authored about 2 years ago
capture: `CaptureResult` can be a namedtuple again (#10678)

mypy now supports generic NamedTuple.

6a714d7b70f22dbc9415e28800f0e8d24f645087 authored about 2 years ago
Merge pull request #10668 from pytest-dev/dependabot/pip/testing/plugins_integration/pytest-rerunfailures-11.0

build(deps): Bump pytest-rerunfailures from 10.3 to 11.0 in /testing/plugins_integration

5a23eeff7ac839196ccd9d3d7e36cdaf7dd2efec authored about 2 years ago
Drop attrs dependency, use dataclasses instead (#10669)

Since pytest now requires Python>=3.7, we can use the stdlib attrs
clone, dataclasses, instead ...

310b67b2271cb05f575054c1cdd2ece2412c89a2 authored about 2 years ago
Fix crash if `--cache-show` and `--help` are passed at the same time

Closes #10592

4d4ed42c34fbd6b30bff1bbdf664aeac3300a83a authored about 2 years ago
Merge pull request #10660 from ikonst/2023-01-13-raises-typing

Derive pytest.raises from AbstractContextManager

096b942ec4c215ef037e624b12f57c800519580f authored about 2 years ago