Skip to content

Commit 12aa80e

Browse files
authored
Add Python 3.10 (giotto-ai#644)
* [MNT] Add Python 3.10 to Azure pipelines * Add Python 3.10 to setup.py metadata * Update ccache
1 parent 37ecaaa commit 12aa80e

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

azure-pipelines.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131
plat: manylinux2014_x86_64
3232
python_ver: '39'
3333
python.version: '3.9'
34+
Python310:
35+
arch: x86_64
36+
plat: manylinux2014_x86_64
37+
python_ver: '310'
38+
python.version: '3.10'
3439
variables:
3540
CCACHE_DIR: $(Pipeline.Workspace)/ccache
3641

@@ -41,7 +46,7 @@ jobs:
4146

4247
- task: Cache@2
4348
inputs:
44-
key: '"ccache-wheels-v2022.7.29" | $(Agent.OS) | "$(python.version)"'
49+
key: '"ccache-wheels-v2022.8.25" | $(Agent.OS) | "$(python.version)"'
4550
path: $(CCACHE_DIR)
4651
displayName: ccache
4752

@@ -121,6 +126,8 @@ jobs:
121126
python.version: '3.8'
122127
Python39:
123128
python.version: '3.9'
129+
Python310:
130+
python.version: '3.10'
124131
variables:
125132
CCACHE_DIR: $(Pipeline.Workspace)/ccache
126133

@@ -141,7 +148,7 @@ jobs:
141148
142149
- task: Cache@2
143150
inputs:
144-
key: '"ccache-v2022.7.29" | $(Agent.OS) | "$(python.version)"'
151+
key: '"ccache-v2022.8.25" | $(Agent.OS) | "$(python.version)"'
145152
path: $(CCACHE_DIR)
146153
displayName: ccache
147154

@@ -244,6 +251,8 @@ jobs:
244251
python.version: '3.8'
245252
Python39:
246253
python.version: '3.9'
254+
Python310:
255+
python.version: '3.10'
247256

248257
steps:
249258
- task: UsePythonVersion@0

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
MAINTAINER_EMAIL = "[email protected]"
3030
URL = "https://github.com/giotto-ai/giotto-tda"
3131
LICENSE = "GNU AGPLv3"
32-
DOWNLOAD_URL = "https://github.com/giotto-ai/giotto-tda/tarball/v0.5.1"
3332
VERSION = __version__ # noqa
33+
DOWNLOAD_URL = f"https://github.com/giotto-ai/giotto-tda/tarball/v{VERSION}"
3434
CLASSIFIERS = ["Intended Audience :: Science/Research",
3535
"Intended Audience :: Developers",
3636
"License :: OSI Approved",
@@ -44,7 +44,8 @@
4444
"Operating System :: MacOS",
4545
"Programming Language :: Python :: 3.7",
4646
"Programming Language :: Python :: 3.8",
47-
"Programming Language :: Python :: 3.9"]
47+
"Programming Language :: Python :: 3.9",
48+
"Programming Language :: Python :: 3.10"]
4849
KEYWORDS = "machine learning, topological data analysis, persistent " \
4950
"homology, persistence diagrams, Mapper"
5051
INSTALL_REQUIRES = requirements

0 commit comments

Comments
 (0)