add py3.12 support

This commit is contained in:
Casper da Costa-Luis 2024-02-05 23:15:53 +00:00
parent d8ac65641d
commit 46cd395804
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]
python: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12]
include:
- os: macos
python: 3.11
python: 3.12
- os: windows
python: 3.11
python: 3.12
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. `python311` for Python 3.11's interpreter).
(e.g. `python312` for Python 3.12'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.11"],
// "pythons": ["3.7", "3.12"],
// "conda_channels": ["conda-forge", "defaults"],
"matrix": {
"alive-progress": [""],

View File

@ -58,6 +58,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"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,py3}{,-tf}{,-keras}, perf, check
envlist=py{37,38,39,310,311,312,py3}{,-tf}{,-keras}, perf, check
isolated_build=True
[gh-actions]
@ -14,6 +14,7 @@ python=
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy-3.7: pypy3
[gh-actions:env]
PLATFORM=