mirror of https://github.com/tqdm/tqdm.git
add py3.12 support
This commit is contained in:
parent
d8ac65641d
commit
46cd395804
|
@ -42,12 +42,12 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu]
|
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:
|
include:
|
||||||
- os: macos
|
- os: macos
|
||||||
python: 3.11
|
python: 3.12
|
||||||
- os: windows
|
- os: windows
|
||||||
python: 3.11
|
python: 3.12
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
timeout-minutes: 35
|
timeout-minutes: 35
|
||||||
defaults:
|
defaults:
|
||||||
|
|
|
@ -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),
|
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
|
you can use `MiniConda` to install a minimal setup. You must also ensure
|
||||||
that each distribution has an alias to call the Python interpreter
|
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
|
### Alternative unit tests with pytest
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"environment_type": "virtualenv",
|
"environment_type": "virtualenv",
|
||||||
"build_command": ["PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} ."],
|
"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/",
|
"show_commit_url": "https://github.com/tqdm/tqdm/commit/",
|
||||||
// "pythons": ["3.7", "3.11"],
|
// "pythons": ["3.7", "3.12"],
|
||||||
// "conda_channels": ["conda-forge", "defaults"],
|
// "conda_channels": ["conda-forge", "defaults"],
|
||||||
"matrix": {
|
"matrix": {
|
||||||
"alive-progress": [""],
|
"alive-progress": [""],
|
||||||
|
|
|
@ -58,6 +58,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: Implementation",
|
"Programming Language :: Python :: Implementation",
|
||||||
"Programming Language :: Python :: Implementation :: IronPython",
|
"Programming Language :: Python :: Implementation :: IronPython",
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -4,7 +4,7 @@
|
||||||
# and then run "tox" from this directory.
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
[tox]
|
[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
|
isolated_build=True
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
|
@ -14,6 +14,7 @@ python=
|
||||||
3.9: py39
|
3.9: py39
|
||||||
3.10: py310
|
3.10: py310
|
||||||
3.11: py311
|
3.11: py311
|
||||||
|
3.12: py312
|
||||||
pypy-3.7: pypy3
|
pypy-3.7: pypy3
|
||||||
[gh-actions:env]
|
[gh-actions:env]
|
||||||
PLATFORM=
|
PLATFORM=
|
||||||
|
|
Loading…
Reference in New Issue