Ran Benita
0f39f11d88
Remove deprecated `pytest.collect` module
2021-12-07 22:27:35 +02:00
Ran Benita
4a45a5e983
Remove deprecated `-k foobar:` syntax
2021-12-07 22:27:35 +02:00
Ran Benita
927d9d274f
Remove deprecated `-k -foobar` syntax
2021-12-07 22:27:35 +02:00
Ran Benita
41d8fb09ca
Remove deprecated `pytest_warning_captured` hook
2021-12-07 22:27:35 +02:00
Ran Benita
0b0e2d2dbb
Remove deprecated `_fillfuncargs` function
2021-12-07 22:27:35 +02:00
Ran Benita
4d7a962ca0
Merge pull request #9389 from merwok/patch-1
...
fix markup typo that breaks rendering
2021-12-07 18:35:42 +02:00
Éric
b691d31897
fix typo
2021-12-07 18:16:59 +02:00
Ran Benita
d4120738b5
Merge pull request #9387 from pytest-dev/releasing-prerelease-tag
...
RELEASING: should also tag dev0 for prereleases
2021-12-07 17:16:16 +02:00
Ran Benita
49278c1df8
RELEASING: should also tag dev0 for prereleases
2021-12-07 15:04:27 +02:00
Florian Bruhin
21a186bbda
scripts: Use release branch for changelog URL ( #9380 )
...
* scripts: Use release branch for changelog URL
With a prerelease, /stable won't show the correct changelog.
* [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>
2021-12-07 10:24:57 +00:00
Florian Bruhin
5cb50fa13c
Fix changelog URL in 7.0.0rc1 announcement ( #9379 )
...
The changelog does not exist at /stable because an rc isn't stable...
2021-12-07 10:04:55 +00:00
Yuval Shimon
dc7091502d
Fixed error message prints function decorators when using assert in Python 3.9 and above. ( #9359 )
2021-12-07 11:31:03 +02:00
Ran Benita
ef76c28ea2
Merge pull request #9374 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-07 11:20:28 +02:00
Florian Bruhin
0ad452bcba
Prepare release version 7.0.0rc1 ( #9375 ) ( #9377 )
...
Co-authored-by: pytest bot <pytestbot@gmail.com>
(cherry picked from commit 85897eddc6d31c5825f5ca28f85e69b8d1506fc4)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-07 10:13:36 +01:00
Florian Bruhin
fbf64d2529
Don't thank pytest bot ( #9372 )
2021-12-06 22:55:18 +01:00
Florian Bruhin
3a479db126
Fix hook param name in nonpython example ( #9373 )
...
Follow up to #9363
2021-12-06 22:55:06 +01:00
pre-commit-ci[bot]
dd53cc7e38
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-06 21:12:33 +00:00
pre-commit-ci[bot]
d7e7c32a5f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0 )
2021-12-06 21:10:55 +00:00
Bruno Oliveira
70d3d0f390
Drop readline workaround introduced in #1281 ( #8848 )
...
Fix #8733
Closes #8847
2021-12-06 19:50:11 +01:00
Florian Bruhin
b3ed595f52
Revert "Fix Dead link in README for 'assert statements' " ( #9369 )
...
This reverts commit 15989ddc8f
.
Reverts #8945 , thus reintroducing #8926 temporarily, but we should be close to
the 7.0.0 release now, where this is the correct URL to use.
Closes #8831 as follow-up to #8858 .
2021-12-06 17:56:39 +00:00
Ran Benita
5c55e91d77
Merge pull request #9368 from pytest-dev/dependabot/pip/testing/plugins_integration/pytest-django-4.5.1
...
build(deps): Bump pytest-django from 4.4.0 to 4.5.1 in /testing/plugins_integration
2021-12-06 15:39:37 +02:00
Florian Bruhin
663be09723
Improve reference and path/fspath docs ( #9341 )
...
* Improve reference and path/fspath docs
Closes #9283
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixups
* Add explanation
* Update wording after #9363
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-06 11:25:05 +01:00
dependabot[bot]
17e2ecb253
build(deps): Bump pytest-django in /testing/plugins_integration
...
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django ) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.4.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: pytest-django
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 03:02:03 +00:00
Bruno Oliveira
5852d66a6a
Merge pull request #9367 from pytest-dev/update-plugin-list/patch-a335ade1f
...
[automated] Update plugin list
2021-12-05 11:13:37 -03:00
pytest bot
72b7334f1d
[automated] Update plugin list
2021-12-05 00:12:43 +00:00
Bruno Oliveira
a335ade1f5
Rename pathlib hook parameters ( #9363 )
...
* Rename pytest_ignore_collect fspath parameter to collection_path
* Rename pytest_collect_file fspath parameter to file_path
* Rename pytest_pycollect_makemodule fspath parameter to module_path
* Rename pytest_report_header startpath parameter to start_path
* Rename pytest_report_collectionfinish startpath parameter to start_path
* Update docs with the renamed parameters
* Use pytest-flakes fork temporarily to prove it works
* Use pytest-flakes 4.0.5
2021-12-03 13:14:09 +01:00
Bruno Oliveira
96366dca42
Merge pull request #9356 from nicoddemus/copyright
2021-12-02 07:37:16 -03:00
Bruno Oliveira
482b858675
Merge pull request #9357 from GergelyKalmar/remove-unnecessary-newline
2021-12-01 19:08:46 -03:00
GergelyKalmar
82d450f98e
Update authors
2021-11-30 19:04:00 +01:00
GergelyKalmar
1bcc2f87a2
Do not display empty worker info
2021-11-30 18:59:46 +01:00
Bruno Oliveira
ed24f29e60
Change copyright notice so yearly updates are not needed
...
Just learned that we don't need to do this every year: https://hynek.me/til/copyright-years
Followed Go's example of only stating the starting year: https://github.com/golang/go/blob/master/LICENSE
Btw any ideas why the dates vary? Some start in 2004, others 2013, 2015... shouldn't be the same year for all locations?
2021-11-30 09:28:23 -03:00
Zac Hatfield-Dodds
e2ee3144ed
Merge pull request #9352 from truth-quark/spelling_fix_9351
2021-11-30 22:47:35 +11:00
Ben Davies
86bcaad828
Fix output of example test method.
2021-11-30 14:55:05 +11:00
Bruno Oliveira
fa240b0bb4
Merge pull request #9345 from aminalaee/patch-1
2021-11-29 11:43:53 -03:00
Bruno Oliveira
7627a7b413
Merge pull request #9348 from pytest-dev/dependabot/pip/testing/plugins_integration/anyio-curiotrio--3.4.0
...
build(deps): Bump anyio[curio,trio] from 3.3.4 to 3.4.0 in /testing/plugins_integration
2021-11-29 11:32:07 -03:00
dependabot[bot]
a0a37adfb2
build(deps): Bump anyio[curio,trio] in /testing/plugins_integration
...
Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio ) from 3.3.4 to 3.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/3.3.4...3.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>
2021-11-29 03:02:13 +00:00
Ran Benita
64f22dcb80
Merge pull request #9346 from pytest-dev/update-plugin-list/patch-e01231c21
...
[automated] Update plugin list
2021-11-28 15:25:05 +02:00
pytest bot
7de752a50b
[automated] Update plugin list
2021-11-28 00:12:22 +00:00
Amin Alaee
f0d5d523aa
Update .readthedocs.yml
2021-11-27 13:15:16 +01:00
Bruno Oliveira
e01231c215
Merge pull request #9332 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-11-26 11:02:59 -03:00
Florian Bruhin
8436d695e5
Fix doc issues in deprecation change ( #9336 )
...
Follow-up to #9309 .
The issue in the changelog broke the docs build with:
doc/en/_changelog_towncrier_draft.rst:47: WARNING: Inline literal start-string
without end-string.
The second change isn't as critical, but caused the text to be rendered as
monospace including the tilde (i.e. `~pytest.PytestDeprecationwarning`).
2021-11-25 09:43:23 +01:00
pre-commit-ci[bot]
372a6fdfd7
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1 )
- [github.com/asottile/blacken-docs: v1.11.0 → v1.12.0](https://github.com/asottile/blacken-docs/compare/v1.11.0...v1.12.0 )
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1 )
- [github.com/asottile/setup-cfg-fmt: v1.19.0 → v1.20.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.19.0...v1.20.0 )
2021-11-22 20:52:15 +00:00
Ran Benita
df9e94fbca
Change deprecation warnings into errors for 7.0 release, using a new mechanism ( #9309 )
2021-11-21 17:13:44 +02:00
github-actions[bot]
4fd897a631
[automated] Update plugin list ( #9326 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2021-11-21 17:12:22 +02:00
Bruno Oliveira
cd49075ad7
Merge pull request #9319 from nicoddemus/skip-test-prefix-integration-3.9
2021-11-19 12:23:34 -03:00
Bruno Oliveira
bd897513f2
Skip TestPyCacheDir.test_sys_pycache_prefix_integration on Windows + Python 3.9
...
Related to #9298
2021-11-19 11:22:08 -03:00
Ran Benita
a172a4141b
Change PytestRemovedIn7Warning to error by default
...
Per our backward compatibility policy.
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2021-11-14 23:57:10 +02:00
Ran Benita
128f29ee35
Categorize deprecation warnings to `PytestRemovedInXWarning`
...
Closes #7480 .
This allows us to more easily follow our deprecation policy of turning
warnings into errors for the X.0 releases before complete removal in
X.1.
It also makes the deprecation timeline clear to both the users and
pytest developers -- it can be hard to keep track.
Note that the designation is not meant to be a binding contract - if the
time comes for removal of a specific deprecation but we decide it's too
soon, can just bump it to the next major.
Inspired by Django:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#deprecating-a-feature
2021-11-14 23:57:10 +02:00
Bruno Oliveira
3dc17f1c3b
Merge pull request #9293 from hoefling/doc/extlinks-gh-user
2021-11-13 10:57:37 -03:00
Ran Benita
062d91ab47
python: remove the `Instance` collector node
2021-11-13 14:03:44 +02:00