Skip to content

Commit

Permalink
Merge pull request #224 from pytest-dev/py3.13
Browse files Browse the repository at this point in the history
Declare compatibility with python 3.13
  • Loading branch information
youtux authored Sep 30, 2024
2 parents 2bc0019 + 50a116c commit 6e095ee
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
8 changes: 6 additions & 2 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-dev"
toxfactor: py3.13
ignore-typecheck-outcome: true
ignore-test-outcome: false

steps:
- uses: actions/checkout@v3
Expand All @@ -43,7 +47,7 @@ jobs:

- name: Install poetry
run: |
python -m pip install poetry==1.8.2
python -m pip install poetry==1.8.3
- name: Configure poetry
run: |
Expand Down Expand Up @@ -77,7 +81,7 @@ jobs:
coverage combine
coverage xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
# Explicitly using the token in order to avoid Codecov rate limit errors
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Changelog

Unreleased
----------
- Declare compatibility with python 3.13
- Drop support for pytest < 7.0.0.

2.7.0
----------
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions 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 All @@ -49,7 +50,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311", "py312"]
target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]

[tool.isort]
profile = "black"
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 6e095ee

Please sign in to comment.