Bruno Oliveira
10d8198d88
Merge pull request #724 from pytest-dev/bluetech-patch-1
2021-11-01 08:08:20 -03: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
Ronny Pfannschmidt
76dbde0475
Merge pull request #686 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-07-20 10:44:03 +02:00
pre-commit-ci[bot]
1167e1609c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0 )
- [github.com/asottile/pyupgrade: v2.21.0 → v2.21.2](https://github.com/asottile/pyupgrade/compare/v2.21.0...v2.21.2 )
2021-07-19 22:14:44 +00:00
Bruno Oliveira
348a956724
Merge pull request #678 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-07-13 08:02:41 -03:00
pre-commit-ci[bot]
dba716ba91
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.19.4 → v2.21.0](https://github.com/asottile/pyupgrade/compare/v2.19.4...v2.21.0 )
2021-07-12 23:28:12 +00:00
Ronny Pfannschmidt
e7c42f0b3b
finish release 2.3.0
2021-06-16 23:53:52 +02:00
Ronny Pfannschmidt
fe57b39563
fixup: add release title underline for 2.3.0
build / build (ubuntu-latest, 3.6, py36-pytestlatest) (push) Failing after 1s
build / build (ubuntu-latest, 3.7, py37-pytestlatest) (push) Failing after 1s
build / build (ubuntu-latest, 3.8, py38-psutil) (push) Failing after 1s
build / build (ubuntu-latest, 3.8, py38-pytestlatest) (push) Failing after 1s
build / build (ubuntu-latest, 3.8, py38-pytestmain) (push) Failing after 1s
build / build (ubuntu-latest, 3.9, py39-pytestlatest) (push) Failing after 1s
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.9, py39-pytestlatest) (push) Has been cancelled
build / deploy (push) Has been cancelled
v2.3.0
2021-06-16 11:49:15 +02:00
Ronny Pfannschmidt
26e7d953f4
prepare release 2.3.0
2021-06-16 11:46:18 +02:00
Ronny Pfannschmidt
b02a6db771
Merge pull request #667 from graingert/fix-sys-path
...
fix sys.path for local workers Fixes #421
2021-06-16 11:40:55 +02:00
Thomas Grainger
b0722675e0
add newsfile
2021-06-16 10:34:19 +01:00
Bruno Oliveira
881cc48271
Merge pull request #672 from pytest-dev/pre-commit-ci-update-config
2021-06-15 09:46:15 -03:00