add py3.13 support

This commit is contained in:
Casper da Costa-Luis 2024-08-03 22:52:15 +01:00
parent 448946ae03
commit 47ebd19089
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
5 changed files with 8 additions and 6 deletions

View File

@ -42,12 +42,12 @@ jobs:
strategy:
matrix:
os: [ubuntu]
python: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12]
python: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13]
include:
- os: macos
python: 3.12
python: 3.13
- os: windows
python: 3.12
python: 3.13
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 35
defaults:

View File

@ -99,7 +99,7 @@ Note: to install all versions of the Python interpreter that are specified
in [tox.ini](https://github.com/tqdm/tqdm/blob/master/tox.ini),
you can use `MiniConda` to install a minimal setup. You must also ensure
that each distribution has an alias to call the Python interpreter
(e.g. `python312` for Python 3.12's interpreter).
(e.g. `python313` for Python 3.13's interpreter).
### Alternative unit tests with pytest

View File

@ -6,7 +6,7 @@
"environment_type": "virtualenv",
"build_command": ["PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} ."],
"show_commit_url": "https://github.com/tqdm/tqdm/commit/",
// "pythons": ["3.7", "3.12"],
// "pythons": ["3.7", "3.13"],
// "conda_channels": ["conda-forge", "defaults"],
"matrix": {
"alive-progress": [""],

View File

@ -59,6 +59,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: IronPython",

View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist=py{37,38,39,310,311,312,py3}{,-tf}{,-keras}, perf, check
envlist=py{37,38,39,310,311,312,313,py3}{,-tf}{,-keras}, perf, check
isolated_build=True
[gh-actions]
@ -15,6 +15,7 @@ python=
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy-3.7: pypy3
[gh-actions:env]
PLATFORM=