Skip to content

Commit

Permalink
Declare compatibility with python 3.13 and require pytest >= 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Sep 30, 2024
1 parent 2bc0019 commit 1eeac26
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
toxfactor: py3.12
ignore-typecheck-outcome: true
ignore-test-outcome: false
- python-version: "3.13"
toxfactor: py3.13
ignore-typecheck-outcome: true
ignore-test-outcome: false

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[tool.poetry.plugins."pytest11"]
Expand All @@ -34,7 +35,7 @@ classifiers = [
python = ">=3.8"
inflection = "*"
factory_boy = ">=2.10.0"
pytest = ">=6.2"
pytest = ">=7.0"
typing_extensions = "*"
packaging = "*"

Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
distshare = {homedir}/.tox/distshare
envlist = py{3.8,3.9,3.10,3.11}-pytest{6.2,7.0,7.1,7.2,7.3,7.4,latest,main}
py3.12-pytest{7.3,7.4,latest,main}
envlist = py{3.8,3.9,3.10,3.11,3.12,3.13}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,latest,main}
py{3.8,3.9,3.10,3.11}-pytest{7.0,7.1,7.2}
mypy


Expand All @@ -11,12 +11,15 @@ commands = coverage run -m pytest {posargs:tests}
deps =
pytestlatest: pytest
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
pytest8.3: pytest~=8.3.0
pytest8.2: pytest~=8.2.0
pytest8.1: pytest~=8.1.0
pytest8.0: pytest~=8.0.0
pytest7.4: pytest~=7.4.0
pytest7.3: pytest~=7.3.0
pytest7.2: pytest~=7.2.0
pytest7.1: pytest~=7.1.0
pytest7.0: pytest~=7.0.0
pytest6.2: pytest~=6.2.0

coverage[toml]

Expand Down

0 comments on commit 1eeac26

Please sign in to comment.