Skip to content

Commit 6e095ee

Browse files
authored
Merge pull request #224 from pytest-dev/py3.13
Declare compatibility with python 3.13
2 parents 2bc0019 + 50a116c commit 6e095ee

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
toxfactor: py3.12
3232
ignore-typecheck-outcome: true
3333
ignore-test-outcome: false
34+
- python-version: "3.13-dev"
35+
toxfactor: py3.13
36+
ignore-typecheck-outcome: true
37+
ignore-test-outcome: false
3438

3539
steps:
3640
- uses: actions/checkout@v3
@@ -43,7 +47,7 @@ jobs:
4347

4448
- name: Install poetry
4549
run: |
46-
python -m pip install poetry==1.8.2
50+
python -m pip install poetry==1.8.3
4751
4852
- name: Configure poetry
4953
run: |
@@ -77,7 +81,7 @@ jobs:
7781
coverage combine
7882
coverage xml
7983
80-
- uses: codecov/codecov-action@v3
84+
- uses: codecov/codecov-action@v4
8185
with:
8286
# Explicitly using the token in order to avoid Codecov rate limit errors
8387
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Changelog
33

44
Unreleased
55
----------
6+
- Declare compatibility with python 3.13
7+
- Drop support for pytest < 7.0.0.
68

79
2.7.0
810
----------

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
]
2930

3031
[tool.poetry.plugins."pytest11"]
@@ -34,7 +35,7 @@ classifiers = [
3435
python = ">=3.8"
3536
inflection = "*"
3637
factory_boy = ">=2.10.0"
37-
pytest = ">=6.2"
38+
pytest = ">=7.0"
3839
typing_extensions = "*"
3940
packaging = "*"
4041

@@ -49,7 +50,7 @@ build-backend = "poetry.core.masonry.api"
4950

5051
[tool.black]
5152
line-length = 120
52-
target-version = ["py38", "py39", "py310", "py311", "py312"]
53+
target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]
5354

5455
[tool.isort]
5556
profile = "black"

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
distshare = {homedir}/.tox/distshare
3-
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}
4-
py3.12-pytest{7.3,7.4,latest,main}
3+
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}
4+
py{3.8,3.9,3.10,3.11}-pytest{7.0,7.1,7.2}
55
mypy
66

77

@@ -11,12 +11,15 @@ commands = coverage run -m pytest {posargs:tests}
1111
deps =
1212
pytestlatest: pytest
1313
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
14+
pytest8.3: pytest~=8.3.0
15+
pytest8.2: pytest~=8.2.0
16+
pytest8.1: pytest~=8.1.0
17+
pytest8.0: pytest~=8.0.0
1418
pytest7.4: pytest~=7.4.0
1519
pytest7.3: pytest~=7.3.0
1620
pytest7.2: pytest~=7.2.0
1721
pytest7.1: pytest~=7.1.0
1822
pytest7.0: pytest~=7.0.0
19-
pytest6.2: pytest~=6.2.0
2023

2124
coverage[toml]
2225

0 commit comments

Comments
 (0)