Skip to content

Commit ac3830a

Browse files
committed
Update test config.
1 parent 35d59fb commit ac3830a

File tree

6 files changed

+20
-26
lines changed

6 files changed

+20
-26
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,6 +34,7 @@ jobs:
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3738

3839
steps:
3940
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-22.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2727

2828
strategy:
2929
fail-fast: False
@@ -35,6 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3839

3940
steps:
4041
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-${{ matrix.config.os-ver }}"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,6 +34,7 @@ jobs:
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
3636
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
3738

3839
steps:
3940
- name: Checkout 🛎️

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Topic :: Utilities",
3535
"Typing :: Typed",
3636
]
37-
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
37+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3838
python-implementations = [ "CPython",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"
@@ -157,3 +157,6 @@ include = false
157157
[tool.dependency-dash."doc-source/requirements.txt"]
158158
order = 30
159159
include = false
160+
161+
[tool.dep_checker.name_mapping]
162+
attrs = "attr"

repo_helper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ python_versions:
2727
- '3.10'
2828
- '3.11'
2929
- '3.12'
30+
- '3.13'
3031

3132
extra_sphinx_extensions:
3233
- enum_tools.autoenum

tox.ini

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# * pytest
2323

2424
[tox]
25-
envlist = py37, py38, py39, py310, py311, py312, mypy, build
25+
envlist = py37, py38, py39, py310, py311, py312, py313, mypy, build
2626
skip_missing_interpreters = True
2727
isolated_build = True
2828
requires =
@@ -32,7 +32,7 @@ requires =
3232
virtualenv!=20.16.0
3333

3434
[envlists]
35-
test = py37, py38, py39, py310, py311, py312
35+
test = py37, py38, py39, py310, py311, py312, py313
3636
qa = mypy, lint
3737
cov = py37, coverage
3838

@@ -51,6 +51,13 @@ setenv =
5151
PYTHONDEVMODE=1
5252
PIP_DISABLE_PIP_VERSION_CHECK=1
5353

54+
[testenv:py313]
55+
download = True
56+
setenv =
57+
PYTHONDEVMODE=1
58+
PIP_DISABLE_PIP_VERSION_CHECK=1
59+
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
60+
5461
[testenv:py312]
5562
download = True
5663
setenv =
@@ -206,23 +213,3 @@ package = mh_utils
206213
[pytest]
207214
addopts = --color yes --durations 25
208215
timeout = 300
209-
210-
[testenv:py310-dev]
211-
setenv = PYTHONDEVMODE = 1
212-
pip_version = pip>=20.3.3
213-
deps =
214-
numpy @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/numpy-1.20.0-cp310-cp310-linux_x86_64.whl; platform_system == "Linux"
215-
pandas @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/pandas-1.2.1-cp310-cp310-linux_x86_64.whl; platform_system == "Linux"
216-
scipy @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/scipy-1.6.0-cp310-cp310-linux_x86_64.whl; platform_system == "Linux"
217-
lxml @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/lxml-4.6.3-cp310-cp310-linux_x86_64.whl; platform_system == "Linux"
218-
numpy @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/numpy-1.19.3-cp310-cp310-win_amd64.whl; platform_system == "Windows"
219-
pandas @ https://github.com/domdfcoding/3.10-Wheels/raw/36775069e8cbcc374a086de058574e9a25b9cc6b/pandas-1.1.5-cp310-cp310-win_amd64.whl; platform_system == "Windows"
220-
-r{toxinidir}/tests/requirements.txt
221-
commands =
222-
python --version
223-
python -m pytest --cov=mh_utils -r aR tests/ {posargs}
224-
225-
226-
[dep_checker]
227-
name_mapping =
228-
attrs = attr

0 commit comments

Comments
 (0)