Skip to content

Commit 7e8efc9

Browse files
committed
Update for python 3.11, update CI for python 3.6/3.11 and to remove numpy/torch workarounds (#359)
* Update for python 3.11, remove numpy/torch workarounds Add python 3.11 support, remove workarounds in CI for torch~=1.13.0 and and numpy>=1.22,<1.24. * Use ubuntu-20.04 for python 3.6 * Switch CI to linux for python 3.11
1 parent 58ffc8e commit 7e8efc9

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

azure-pipelines.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
Python36Linux:
20-
imageName: 'ubuntu-latest'
20+
imageName: 'ubuntu-20.04'
2121
python.version: '3.6'
2222
Python37Mac:
2323
imageName: 'macos-latest'
@@ -34,6 +34,9 @@ jobs:
3434
Python310Windows:
3535
imageName: 'windows-latest'
3636
python.version: '3.10'
37+
Python311Linux:
38+
imageName: 'ubuntu-latest'
39+
python.version: '3.11'
3740
maxParallel: 4
3841
pool:
3942
vmImage: $(imageName)
@@ -67,11 +70,6 @@ jobs:
6770
displayName: 'Install oldest supported torch for python 3.6'
6871
condition: eq(variables['python.version'], '3.6')
6972
70-
- script: |
71-
pip install "torch<1.13.0+cpu" --extra-index-url https://download.pytorch.org/whl/cpu
72-
displayName: 'Install newest working torch for python 3.7+'
73-
condition: ne(variables['python.version'], '3.6')
74-
7573
- bash: |
7674
SDIST=$(python -c "import os;print(os.listdir('./dist')[0])" 2>&1)
7775
python -m pip install dist/$SDIST

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.8
2525
Programming Language :: Python :: 3.9
2626
Programming Language :: Python :: 3.10
27+
Programming Language :: Python :: 3.11
2728

2829
[options]
2930
zip_safe = false

0 commit comments

Comments
 (0)