We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5c2fc commit edc0aaaCopy full SHA for edc0aaa
.github/workflows/pythontests.yml
@@ -14,10 +14,14 @@ jobs:
14
fail-fast: false
15
matrix:
16
os: [ubuntu-latest, windows-latest]
17
- python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "pypy-3.7"]
18
- exclude:
19
- - os: windows-latest
20
- python-version: "pypy-3.7"
+ python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
+ include:
+ - python-version: "pypy-3.7"
+ os: ubuntu-latest
21
+ - python-version: "pypy-3.9"
22
23
+ - python-version: "pypy-3.10"
24
25
env:
26
OS: ${{ matrix.os }}
27
steps:
@@ -42,11 +46,11 @@ jobs:
42
46
python -m pip install pytest pytest-cov tox
43
47
- name: Run tests
44
48
run: |
45
- TOX_PYTHON_VERSION=$(if [ ${{ matrix.python-version }} = pypy-3.7 ]; then echo "pypy3"; else echo py${{ matrix.python-version }} | tr -d .-; fi)
- COV_CMD=$(if [ ${{ matrix.python-version }} = 3.8 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep $TOX_PYTHON_VERSION | paste -sd "," -)
49
+ TOX_PYTHON_VERSION=$(if [[ ${{ matrix.python-version }} == pypy* ]]; then echo ${{ matrix.python-version }} | tr -d .-; else echo py${{ matrix.python-version }} | tr -d .-; fi)
50
+ COV_CMD=$(if [ ${{ matrix.python-version }} == 3.10 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep "$TOX_PYTHON_VERSION" | paste -sd "," -)
51
- name: Upload coverage to Codecov
52
uses: codecov/codecov-action@v1
- if: ${{ success() && matrix.python-version == 3.8 }}
53
+ if: ${{ success() && matrix.python-version == 3.10 }}
54
with:
55
env_vars: OS
56
name: codecov-pytest-order
CHANGELOG.md
@@ -1,10 +1,14 @@
1
# pytest-order Release Notes
2
3
+## [Version 1.2.0](https://pypi.org/project/pytest-order/1.2.0/) (2023-11-18)
4
+Allows using custom markers for ordering.
5
+
6
### New features
7
* added option `--order-marker-prefix` to allow using custom markers for ordering
8
9
### Infrastructure
-* added pre-commit hook for linters
10
+- added pre-commit hook for linters
11
+- added Python 3.12 to supported versions
12
13
## [Version 1.1.0](https://pypi.org/project/pytest-order/1.1.0/) (2023-03-10)
Adds support for executing tests more than once using order marks.
README.md
@@ -12,9 +12,9 @@ relationship to other tests.
[pytest-ordering](https://github.com/ftobia/pytest-ordering) that provides
additional features like ordering relative to other tests.
-`pytest-order` works with Python 3.7 - 3.11, with pytest
+`pytest-order` works with Python 3.7 - 3.12, with pytest
versions >= 5.0.0 for all versions up to Python 3.9, and for pytest >=
-6.2.4 for Python 3.10 and 3.11. `pytest-order` runs on Linux, macOS and Windows.
+6.2.4 for Python >= 3.10. `pytest-order` runs on Linux, macOS and Windows.
Documentation
-------------
docs/source/intro.rst
@@ -38,10 +38,10 @@ ordering, all configuration options) that are not available in
38
39
Supported Python and pytest versions
40
------------------------------------
41
-``pytest-order`` supports python 3.7 - 3.11 and pypy3, and is
+``pytest-order`` supports python 3.7 - 3.12 and pypy3, and is
compatible with pytest 5.0.0 or newer (older versions may also work, but are
not tested) for Python versions up to 3.9, and with pytest >= 6.2.4 for
-Python 3.10 and 3.11.
+Python versions >= 3.10.
All supported combinations of Python and pytest versions are tested in
the CI builds. The plugin shall work under Linux, MacOs and Windows.
pytest_order/__init__.py
@@ -1 +1 @@
-__version__ = "1.2.dev0"
+__version__ = "1.2.0"
setup.py
@@ -49,6 +49,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
tox.ini
@@ -1,7 +1,7 @@
[tox]
envlist =
- {py37,py38,py39,pypy3}-pytest{50,51,52,53,54,60,61,62,70,72}
- {py310,py311}-pytest{624,70,72}
+ {py37,py38,py39,pypy37,pypy39}-pytest{50,51,52,53,54,60,61,62,70,73}
+ {py310,py311,py312,pypy310}-pytest{624,70,73}
[testenv]
deps =
pytest50: pytest>=5.0,<5.1
@@ -14,10 +14,10 @@ deps =
pytest62: pytest>=6.2,<6.3
pytest624: pytest>=6.2.4,<6.3
pytest70: pytest>=7.0,<7.1
- pytest72: pytest>=7.2,<7.3
+ pytest73: pytest>=7.3,<7.4
pytest-cov<2.10
pytest{50,51,52,53,54}: pytest-xdist<2.0.0
- pytest{60,61,62,624,70,72}: pytest-xdist
+ pytest{60,61,62,624,70,73}: pytest-xdist
pytest-dependency>=0.5.1
pytest-mock
0 commit comments