Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pythontests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
include:
- python-version: "pypy-3.10"
os: ubuntu-latest
Expand Down
23 changes: 13 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@

## Unreleased

### Changes
- added official support for Python 3.15

### Fixes
* Class-scoped ordering handles parameter IDs containing `::`, such as IPv6 addresses.
* `--order-marker-prefix` uses the complete marker suffix as the order index,
- Class-scoped ordering handles parameter IDs containing `::`, such as IPv6 addresses.
- `--order-marker-prefix` uses the complete marker suffix as the order index,
so multi-digit and negative indices work; negative indices can be written
as `neg` (for example `m_neg1` for -1)

## [Version 1.5.0](https://pypi.org/project/pytest-order/1.5.0/) (2026-06-13)
Adds option to abort tests after a failed ordering.

### New features
* added option `--fail-all-on-failed-ordering` to abort the whole test run
- added option `--fail-all-on-failed-ordering` to abort the whole test run
without executing any tests if some tests could not be ordered

### Fixes
Expand All @@ -22,20 +25,20 @@ Adds option to abort tests after a failed ordering.
Allows the plugin to run after `--failed-first` and similar options.

### Changes
* removed official support for Python 3.7-3.9 (EOL), added Python 3.13 and 3.14
- removed official support for Python 3.7-3.9 (EOL), added Python 3.13 and 3.14

### New features
* added option `--order-after-ff`, that allows to run `pytest-order` after built-in hooks
- added option `--order-after-ff`, that allows to run `pytest-order` after built-in hooks
like the `--failed-first` option (see [#234](https://github.com/pytest-dev/pytest-order/issues/234))

### Infrastructure
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
* use `pyproject.toml` for project setup
- use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
- use `pyproject.toml` for project setup

### Documentation
* use a theme for documentation supporting dark mode
* added use case for ordering test modules (see [#51](https://github.com/pytest-dev/pytest-order/issues/51))
* fixed documentation for `--indulgent-ordering` option
- use a theme for documentation supporting dark mode
- added use case for ordering test modules (see [#51](https://github.com/pytest-dev/pytest-order/issues/51))
- fixed documentation for `--indulgent-ordering` option

## [Version 1.3.0](https://pypi.org/project/pytest-order/1.3.0/) (2024-08-22)
Allows to fail tests that cannot be ordered.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ordering, all configuration options) that are not available in

Supported Python and pytest versions
------------------------------------
``pytest-order`` supports python 3.10 - 3.14 and pypy3, and is
``pytest-order`` supports python 3.10 - 3.15 and pypy3, and is
compatible with pytest 6.2.4 or newer (pytest >= 7.4 for Python 3.14).

All supported combinations of Python and pytest versions are tested in
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[tox]
envlist =
{py310,py311,py312,py313,pypy310,pypy311}-pytest{624,70,74,80,83,90}
py314-pytest{74,80,83,90}
{py310,py311,py312,py313,pypy310,pypy311}-pytest{624,70,74,80,83,90,92}
{py314,py315}-pytest{74,80,83,90,92}
[testenv]
deps =
pytest624: pytest>=6.2.4,<6.3
pytest70: pytest>=7.0,<7.1
pytest74: pytest>=7.3,<8.0
pytest80: pytest==8.0.1
pytest83: pytest>=8.3,<9.0
pytest90: pytest>=9.0,<10.0
pytest90: pytest>=9.0,<9.1
pytest92: pytest>=9.2,<10.0
pytest-cov<2.10
pytest{50,54}: pytest-xdist<2.0.0
pytest{60,62,624,70,74,80,83,90}: pytest-xdist
pytest{60,62,624,70,74,80,83,90,92}: pytest-xdist
pytest-dependency>=0.5.1
pytest-mock

Expand Down
Loading