Bruno Oliveira
e2a9381036
Merge pull request #731 from pytest-dev/pre-commit-ci-update-config
2021-11-28 10:31:05 -03:00
pre-commit-ci[bot]
982de538c0
[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/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1 )
2021-11-22 20:53:14 +00:00
Ran Benita
2bac85562b
Merge pull request #728 from bluetech/hookimpl-decorators
...
Add explicit pytest.hookspec/hookimpl annotations, avoid legacy tryfirst/trylast marks
2021-11-02 12:28:36 +02:00
Ran Benita
b2586c3f48
Merge pull request #727 from bluetech/deprecate-boxed
...
Deprecate `--boxed`
2021-11-02 12:28:19 +02:00
Ran Benita
b85b71cd22
Add explicit pytest.hookspec/hookimpl annotations, avoid legacy tryfirst/trylast marks
2021-11-02 09:42:00 +02:00
Ran Benita
89a3df3e20
Deprecate --boxed
...
This will allow removing the pytest-forked dependency in the future.
Refs #468 .
2021-11-02 09:38:56 +02:00
Bruno Oliveira
39eec49ddf
Merge pull request #726 from pytest-dev/pre-commit-ci-update-config
2021-11-01 19:02:26 -03:00
pre-commit-ci[bot]
bf9606c672
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0 )
2021-11-01 20:27:36 +00:00
Ran Benita
18cd9b900c
Merge pull request #725 from bluetech/docs-master
...
README,OVERVIEW: replace master -> controller
2021-11-01 18:27:19 +02:00
Bruno Oliveira
10d8198d88
Merge pull request #724 from pytest-dev/bluetech-patch-1
2021-11-01 08:08:20 -03:00
Ran Benita
475d7c4c2a
README,OVERVIEW: replace master -> controller
2021-11-01 09:36:12 +02:00
Ran Benita
0fac79b29c
README: fill in TBD version
2021-11-01 09:24:59 +02:00
Ran Benita
827909b4e1
Merge pull request #723 from bluetech/modernize
...
Modernize packaging, require pytest 6.2, prepare for pytest 7, other changes
2021-11-01 09:19:04 +02:00
Ran Benita
ae58690f3e
Avoid soft-deprecated pathlist ini type on pytest>=7
...
This allows the test suite to succeed with the legacypath plugin
blocked.
Fix #722 .
2021-11-01 09:06:32 +02:00
Ran Benita
d794b27e72
Use config._tmp_path_factory instead of config._tmpdirhandler
...
Both are private, and shouldn't be used, but not sure how to fix it
currently. But `_tmpdirhandler` will be relegated to the legacypath
plugin so should extra not be used.
2021-11-01 09:06:32 +02:00
Ran Benita
787b8d9c14
Add basic mypy linting
...
Based on pytest setup, though more lax. Currently only the tests are
annotated so only helpful for them.
Fix #721 .
2021-11-01 09:06:32 +02:00
Ran Benita
9ddb274f23
Update test suite to modern pytest
...
- Use pytest>=6.2 features (same as install_requires).
When we can require >=7, can fix some more typing omissions and
version checks.
- Replace testdir with pytester
- Replace py.test with pytest
- Replace tmpdir with tmp_path
- Remove (almost) all other uses of py
- Add some type annotations (not checked yet)
Ref #722 .
2021-11-01 09:05:28 +02:00
Ran Benita
5672d85809
Require pytest>=6.2
...
This makes things much easier in terms of typing.
pytest 6.2 has been out for a ~year so if someone updates pytest-xdist
they should also update pytest!
Fix #720 .
2021-11-01 09:04:16 +02:00
Ran Benita
999923ba97
Allow black and rst pre-commit hooks to run on any Python 3 version
...
Since py2 is dropped we don't really need to worry about this anymore.
2021-11-01 09:04:16 +02:00
Ran Benita
f51289582e
Bring back tox -e linting
...
It just runs pre-commit, and CI doesn't use i,t but I still find it
useful for local development.
2021-11-01 09:04:16 +02:00
Ran Benita
130dcdef76
Add build-system to pyproject.toml
...
So doesn't use legacy stuff.
Fix #719 .
2021-11-01 09:04:14 +02:00
Ran Benita
f8a434e349
Move metadata from setup.py to setup.cfg
...
Using https://github.com/asottile/setup-py-upgrade
Refs #719 .
2021-10-30 21:04:10 +03:00
Bruno Oliveira
b2f3d08106
Merge pull request #715 from pytest-dev/pre-commit-ci-update-config
2021-10-11 17:03:57 -03:00
pre-commit-ci[bot]
4d902461f9
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1 )
2021-10-11 19:44:07 +00:00
Bruno Oliveira
15b411e94b
Merge pull request #713 from pytest-dev/pre-commit-ci-update-config
2021-10-04 18:57:14 -03:00
pre-commit-ci[bot]
3fa5431a53
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0 )
2021-10-04 19:50:07 +00:00
Bruno Oliveira
640c85a70a
Merge pull request #710 from pytest-dev/pre-commit-ci-update-config
2021-09-27 22:52:42 -03:00
pre-commit-ci[bot]
c0ce0c0171
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0 )
2021-09-27 19:44:31 +00:00
Bruno Oliveira
9943887304
Merge pull request #708 from nicoddemus/use-modern-hook-opts
2021-09-24 10:18:39 -03:00
Bruno Oliveira
c7c7f9ef5b
Use modern options configurations for hooks
...
Noticed while reviewing https://github.com/pytest-dev/pytest/pull/9118
2021-09-24 10:09:24 -03:00
Bruno Oliveira
56275d4418
Merge pull request #701 from nicoddemus/release-2.4.0
2021-09-21 09:26:20 -03:00
Bruno Oliveira
4097c343c2
Add final note to merge PR in RELEASING.rst
2021-09-21 09:21:51 -03:00
Bruno Oliveira
4b487ed5e1
Manually fix changelog title
build / build (ubuntu-latest, 3.10-dev, py310-pytestlatest) (push) Failing after 3s
build / build (ubuntu-latest, 3.6, py36-pytestlatest) (push) Failing after 2s
build / build (ubuntu-latest, 3.7, py37-pytestlatest) (push) Failing after 2s
build / build (ubuntu-latest, 3.8, py38-psutil) (push) Failing after 2s
build / build (ubuntu-latest, 3.8, py38-pytestlatest) (push) Failing after 2s
build / build (ubuntu-latest, 3.8, py38-pytestmain) (push) Failing after 3s
build / build (ubuntu-latest, 3.8, py38-setproctitle) (push) Failing after 2s
build / build (ubuntu-latest, 3.9, py39-pytestlatest) (push) Failing after 2s
build / build (windows-latest, 3.10-dev, py310-pytestlatest) (push) Has been cancelled
build / build (windows-latest, 3.6, py36-pytestlatest) (push) Has been cancelled
build / build (windows-latest, 3.7, py37-pytestlatest) (push) Has been cancelled
build / build (windows-latest, 3.8, py38-psutil) (push) Has been cancelled
build / build (windows-latest, 3.8, py38-pytestlatest) (push) Has been cancelled
build / build (windows-latest, 3.8, py38-pytestmain) (push) Has been cancelled
build / build (windows-latest, 3.8, py38-setproctitle) (push) Has been cancelled
build / build (windows-latest, 3.9, py39-pytestlatest) (push) Has been cancelled
build / deploy (push) Has been cancelled
v2.4.0
2021-09-20 21:19:04 -03:00
Bruno Oliveira
ecf4d3be31
Release 2.4.0
2021-09-20 21:17:31 -03:00
Bruno Oliveira
87d89795e3
Merge pull request #704 from hugovk/add-3.10
2021-09-20 21:16:42 -03:00
Bruno Oliveira
b4544c8849
Merge pull request #706 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-20 21:04:22 -03:00
pre-commit-ci[bot]
66dc3904b4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0 )
2021-09-20 20:00:03 +00:00
Hugo van Kemenade
e0ce1b7418
Add news file to add support for Python 3.10
2021-09-15 17:28:44 +03:00
Hugo van Kemenade
ed47f0e01a
Add support for Python 3.10
2021-09-15 17:14:59 +03:00
Bruno Oliveira
1c8178abc5
Merge pull request #703 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-15 08:52:56 -03:00
pre-commit-ci[bot]
9807064f66
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0 )
2021-09-13 19:41:01 +00:00
David Lamparter
766e67ce52
Use setproctitle if available to show state ( #696 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2021-09-03 12:58:01 -03:00
Bruno Oliveira
305aeeacec
Merge pull request #700 from nicoddemus/fix-pytestmaster
...
Fix test_fixture_teardown_failure for pytest master
2021-09-03 12:45:44 -03:00
Bruno Oliveira
90fc616906
Fix test_fixture_teardown_failure for pytest master
...
`--debug` now receives an optional file, so the way the test
was calling pytest made it seem like it was passing the python file
file as the debug file.
2021-09-01 07:54:13 -03:00
Bruno Oliveira
5f4d6ea0e6
Merge pull request #699 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-09-01 07:50:56 -03:00
pre-commit-ci[bot]
a0ad5cf041
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.7b0 → 21.8b0](https://github.com/psf/black/compare/21.7b0...21.8b0 )
- [github.com/asottile/pyupgrade: v2.24.0 → v2.25.0](https://github.com/asottile/pyupgrade/compare/v2.24.0...v2.25.0 )
2021-08-30 19:26:09 +00:00
Bruno Oliveira
5e0b40cea2
Merge pull request #694 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-08-24 08:08:18 -03:00
pre-commit-ci[bot]
513e203ee1
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.23.0 → v2.24.0](https://github.com/asottile/pyupgrade/compare/v2.23.0...v2.24.0 )
2021-08-23 18:59:34 +00:00
Thomas Grainger
a5c65dd1e4
Merge pull request #689 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-07-26 19:55:07 +01:00
pre-commit-ci[bot]
ccb14f24fc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.21.2 → v2.23.0](https://github.com/asottile/pyupgrade/compare/v2.21.2...v2.23.0 )
2021-07-26 18:05:33 +00:00