Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.10 #690

Merged
merged 9 commits into from
Nov 29, 2022
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
max-parallel: 4
matrix:
platform: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, '3.10']
env:
PLATFORM: ${{ matrix.platform }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions conda/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ conda install conda-build anaconda-client
conda build conda --python 3.7
conda build conda --python 3.8
conda build conda --python 3.9

# Conda 3.10 does not work because of a bug inside conda itself
# conda build conda --python 3.10
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"cloudpickle",
"PyYAML",
"pymongo>=3",
"numpy",
"numpy>=1.17",
"scipy",
"gitpython",
"filelock",
Expand Down Expand Up @@ -175,7 +175,7 @@
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
] + [("Programming Language :: Python :: %s" % x) for x in "3 3.8 3.9".split()]
] + [("Programming Language :: Python :: %s" % x) for x in "3 3.7 3.8 3.9 3.10".split()]

if __name__ == "__main__":
setup(**setup_args)
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39}-{linux,macos}{,-all}
envlist = py{37,38,39,310}-{linux,macos}{,-all}

#########################################################
# Tox environments
Expand All @@ -10,6 +10,7 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy3: pypy3

[gh-actions:env]
Expand Down Expand Up @@ -217,7 +218,7 @@ commands =
description = Invoke sphinx to build documentation and API reference
basepython = python3
skip_install = false
extras =
extras =
docs
pb2
commands =
Expand Down
2 changes: 1 addition & 1 deletion versioneer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* https://github.com/warner/python-versioneer
* Brian Warner
* License: Public Domain
* Compatible With: python2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, and pypy
* Compatible With: python2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10 and pypy
* [![Latest Version]
(https://pypip.in/version/versioneer/badge.svg?style=flat)
](https://pypi.python.org/pypi/versioneer/)
Expand Down