Skip to content

Commit

Permalink
Add Python 3.10 (#690)
Browse files Browse the repository at this point in the history
* Replace 3.6 by 3.10
Co-authored-by: Pierre Delaunay <[email protected]>
Co-authored-by: Xavier Bouthillier <[email protected]>
  • Loading branch information
Delaunay authored Nov 29, 2022
1 parent 0f57350 commit 642f9a6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
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

0 comments on commit 642f9a6

Please sign in to comment.