Florian Bruhin
10c6db2df2
doc: Update trainings/events ( #12401 )
2024-05-30 16:48:37 +02:00
Pierre Sassoulas
0ba3e91fbd
Merge pull request #12379 from Pierre-Sassoulas/more-pylint-fixes
...
[pylint] Fix ``consider-using-sys-exit``, ``use-yield-from``, and ``implicit-str-concat``
2024-05-29 15:07:04 +02:00
Pierre Sassoulas
908e112999
[pylint 'implicit-str-concat'] fix existing unwanted implicit str concat
2024-05-29 14:36:01 +02:00
Pierre Sassoulas
0d33cdf02a
[pylint] Disable the only 'misplaced-bare-raise'
2024-05-29 14:36:01 +02:00
Pierre Sassoulas
c45afde35d
[pylint 'consider-using-sys-exit'] Fix all occurences in existing code
2024-05-29 14:36:01 +02:00
Pierre Sassoulas
db67d5c874
[pylint 'use-yield-from'] Fix all occurences in existing code
2024-05-29 14:36:01 +02:00
dependabot[bot]
383659d0be
build(deps): Bump hynek/build-and-inspect-python-package ( #12373 )
...
Bumps [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases )
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 13:39:29 +02:00
Bruno Oliveira
9f121e85a7
Clarify pytest_ignore_collect docs ( #12385 )
...
Fixes #12383
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-05-28 13:47:00 -03:00
pre-commit-ci[bot]
48cb8a2b32
[pre-commit.ci] pre-commit autoupdate ( #12380 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-27 22:31:18 +00:00
Pierre Sassoulas
88fae23bdd
[pylint] Fixes all ``use-maxplit-args``, ``consider-using-enumerate`` ( #12172 )
...
* [pylint 'use-maxsplit-arg'] Do not split more than necessary when using the first element
* [pylint 'consider-using-enumerate'] Use zip when iterating on two iterators
* [pylint] 'cell-var-from-loop' and 'disallowed-name' permanent disable
* [pylint] Disable 'possibly-used-before-assignment' following 3.2.0 release
2024-05-27 12:18:03 -07:00
dependabot[bot]
24abe4eb03
build(deps): Bump anyio[curio,trio] in /testing/plugins_integration ( #12374 )
...
Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/agronholm/anyio/releases )
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst )
- [Commits](https://github.com/agronholm/anyio/compare/4.3.0...4.4.0 )
---
updated-dependencies:
- dependency-name: anyio[curio,trio]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 06:43:30 +02:00
James Frost
020db7ec04
Add html_baseurl to sphinx conf.py ( #12364 )
...
This is used to set the <link rel="canonical" href="X"> tag that points to the canonical version of the webpage. Including this indicates to search engines which version to include in their indexes, and should prevent older versions showing up.
Fixes #12363
2024-05-26 07:21:30 -03:00
Ran Benita
f8dfc1d5f0
Merge pull request #12368 from bluetech/unittest-clear-instance
...
unittest: fix class instances no longer released on test teardown since pytest 8.2.0
2024-05-26 10:34:11 +03:00
Ran Benita
c3c51037f0
unittest: fix class instances no longer released on test teardown since pytest 8.2.0
...
Fix #12367 .
2024-05-26 10:18:42 +03:00
Ran Benita
3fbf4d3cbd
Merge pull request #12369 from pytest-dev/update-plugin-list/patch-889d9b28d
...
[automated] Update plugin list
2024-05-26 10:14:35 +03:00
pytest bot
b83dd34ce1
[automated] Update plugin list
2024-05-26 00:21:28 +00:00
Nathan Goldbaum
889d9b28d7
Add thread safety section to flaky test docs ( #12359 )
...
Closes #12356
2024-05-24 08:16:44 -03:00
Sam Jirovec
cbf6bd9dd2
Issue #12290 - Docs using Furo Theme W/ Dark Mode ( #12326 )
...
* furo theme for docs site
* removing duplicate tocs from deprecations and reference pages
* removing pallets references in code and config
* reverting trainings to sidebar
* removed sphinx style and unpinned packaging version
* updated styles
2024-05-21 13:56:18 +00:00
pre-commit-ci[bot]
5d5c9dc858
[pre-commit.ci] pre-commit autoupdate ( #12321 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4 )
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.1.3 )
Also fix the comment following autofix
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2024-05-21 07:04:09 +00:00
dependabot[bot]
00be7c0739
build(deps): Bump pytest-asyncio in /testing/plugins_integration ( #12345 )
...
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio ) from 0.23.6 to 0.23.7.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases )
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.6...v0.23.7 )
---
updated-dependencies:
- dependency-name: pytest-asyncio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 07:11:04 +02:00
Hynek Schlawack
d4f827d86b
Fix link in changelog ( #12343 )
2024-05-19 21:14:45 +00:00
Ran Benita
69fa9bae43
Merge pull request #12342 from bluetech/cherry-pick-release
...
Cherry pick 8.2.1 release notes
2024-05-19 22:37:32 +03:00
pytest bot
32baa0b93d
Prepare release version 8.2.1
...
(cherry picked from commit 66ff8dffdf
)
2024-05-19 22:11:09 +03:00
Ran Benita
d5b6d44d0e
Merge pull request #12339 from pytest-dev/update-plugin-list/patch-ee9ea703f
...
[automated] Update plugin list
2024-05-19 12:47:55 +03:00
Ran Benita
c1d623cbff
Merge pull request #12334 from bluetech/py313
...
Add Python 3.13 (beta) support
2024-05-19 09:45:09 +03:00
Ran Benita
1cb704ff2c
Add Python 3.13 (beta1) support
2024-05-19 09:25:13 +03:00
pytest bot
cb732bbfb0
[automated] Update plugin list
2024-05-19 00:21:06 +00:00
Ran Benita
dbee3fa34a
testing: remove conditionals for Python 3.11 beta releases
...
No need to support beta releases of an older version anymore.
Ref: 09b2c95320
2024-05-18 19:53:50 +03:00
Jelle Zijlstra
ee9ea703f9
Fix new typing issues in AST code ( #12337 )
...
python/typeshed#11880 adds more precise types for AST nodes. I'm submitting some changes to adapt pytest to these changes.
2024-05-18 19:07:06 +03:00
Bruno Oliveira
635fbe2bff
Attest package provenance ( #12333 )
...
Use the new build provenance support added in [build-and-inspect-python-package 2.5.0](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md#250---2024-05-13 ).
More information: https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/
Tested also in https://github.com/pytest-dev/pytest-mock/pull/431 .
Note: even though it is technically necessary only for the `deploy` workflow, as the `test` workflow does not publish its packages, decided to always attest the provenance in both cases to avoid any surprises related to this (say a misconfiguration) when deploying.
2024-05-17 08:19:13 -03:00
Ran Benita
fdf3aa3fc3
Merge pull request #12329 from pytest-dev/fix-package-scope-reorder
...
fixtures: fix non-working package-scope parametrization reordering
2024-05-16 10:30:34 +03:00
Josh Soref
8d00811822
Spelling and minor changes ( #12122 )
2024-05-15 13:49:34 -03:00
Ran Benita
1acf56d033
fixtures: fix non-working package-scope parametrization reordering
...
The `.parent` was incorrectly removed in
a21fb87a90
, but it was actually correct
(well, it assumes that Module.path.parent == Package.path, which I'm not
sure is always correct, but that's a different matter). Restore it.
Fix #12328 .
2024-05-15 17:29:43 +03:00
Ran Benita
fa1d5be3e8
Merge pull request #12325 from bluetech/pytest-cache-755
...
cacheprovider: fix `.pytest_cache` not being world-readable
2024-05-15 10:57:10 +03:00
Ran Benita
3a64c47f1f
cacheprovider: fix `.pytest_cache` not being world-readable
...
Fix #12308 .
2024-05-14 23:47:12 +03:00
Ran Benita
ae1a47e050
Merge pull request #12320 from pytest-dev/ut-breaking-change
...
changelog: document unittest 8.2 change as breaking
2024-05-14 23:06:48 +03:00
Ran Benita
ebe2e8eac9
changelog: document unittest 8.2 change as breaking
2024-05-13 22:34:35 +03:00
Ran Benita
93dd34e76d
Merge pull request #12310 from pytest-dev/update-plugin-list/patch-5af46f3d4
...
[automated] Update plugin list
2024-05-13 20:34:35 +03:00
Ran Benita
704792ecbd
Merge pull request #12311 from bluetech/pkg-collect-perm-error
...
python: add workaround for permission error crashes from non-selected directories
2024-05-13 20:32:23 +03:00
Ran Benita
d4223b9ae2
Merge pull request #12318 from bluetech/unittest-abc
...
python,unittest: don't collect abstract classes
2024-05-13 20:22:10 +03:00
Ran Benita
37489d3c6c
python,unittest: don't collect abstract classes
...
Fix #12275 .
2024-05-13 13:00:47 +03:00
dependabot[bot]
eea04c2891
build(deps): Bump django in /testing/plugins_integration ( #12314 )
...
Bumps [django](https://github.com/django/django ) from 5.0.4 to 5.0.6.
- [Commits](https://github.com/django/django/compare/5.0.4...5.0.6 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 05:56:16 +02:00
Ran Benita
90a3ef2f36
python: add workaround for permission error crashes from non-selected directories
...
Fix #12120 .
2024-05-12 22:38:49 +03:00
pytest bot
e20a08565f
[automated] Update plugin list
2024-05-12 00:21:02 +00:00
Yutian Li
5af46f3d4e
Fix crashing under squashfuse_ll read-only mounts ( #12301 )
...
Fixes #12300
2024-05-09 15:04:58 -03:00
Florian Bruhin
d49f1fc4db
doc: update sprint repo link ( #12296 )
2024-05-08 10:13:30 -03:00
Brian Okken
8efbefb2d7
New --xfail-tb flag ( #12280 )
...
Fix #12231
2024-05-07 14:37:00 -03:00
pre-commit-ci[bot]
4080459f04
[pre-commit.ci] pre-commit autoupdate ( #12292 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-07 07:28:34 +02:00
Bruno Oliveira
84e59af8c8
Document exceptions raised by exit, skip, xfail, fail, and importorskip ( #12285 )
...
As commented on: https://github.com/pytest-dev/pytest/issues/7469#issuecomment-2094104215
2024-05-05 22:53:16 +00:00
github-actions[bot]
3d09c85df0
[automated] Update plugin list ( #12286 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-05-04 21:26:09 -03:00