Skip to content

Commit 7cf287f

Browse files
committed
Add support for Python 3.10
1 parent 3f53960 commit 7cf287f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.6, 3.9, pypy3]
14+
python-version: ["3.6", "3.10", "pypy3"]
1515

1616
env:
1717
MINIZINC_URL: https://github.com/MiniZinc/MiniZincIDE/releases/download/2.5.5/MiniZincIDE-2.5.5-x86_64.AppImage

CHANGELOG.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ Added
1313
^^^^^
1414

1515
- Add (generated) ``__version__`` field to the package to abide by the PEP
16-
recommendations
16+
recommendations.
1717
- Add support for using NumPy types to instantiate Models. (``np.array`` and
18-
any type that falls under ``np.generic``)
18+
any type that falls under ``np.generic``).
1919
- Add ``available_solvers`` method to the ``Driver`` objects to explicitly
20-
report the available solvers according to the current environment
20+
report the available solvers according to the current environment.
21+
- Add support for Python 3.10.
2122

2223
Changed
2324
^^^^^^^

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"Programming Language :: Python :: 3.7",
3333
"Programming Language :: Python :: 3.8",
3434
"Programming Language :: Python :: 3.9",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
3537
"Programming Language :: Python :: Implementation :: CPython",
3638
"Programming Language :: Python :: Implementation :: PyPy",
3739
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ isolated_build = true
33
envlist =
44
check,
55
py36,
6-
py39,
6+
py310,
77
pypy3
88

99
[gh-actions]
1010
python =
1111
3.6: py36
12-
3.9: py39, check
12+
3.10: py310, check
1313
pypy3: pypy3
1414

1515
[testenv]

0 commit comments

Comments
 (0)