Skip to content

Commit 1378572

Browse files
authored
Drop old python, add 3.11 instead (#545)
* rip requires.io, add github actions badge * also test 3.11, please * remove 3.6, 3.7 from Azure pipeline, as tests fail because of dependencies * add 3.11
1 parent 5860ade commit 1378572

4 files changed

Lines changed: 7 additions & 49 deletions

File tree

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
19-
python: ["3.8", "3.9", "3.10"]
19+
python: ["3.8", "3.9", "3.10", "3.11"]
2020

2121
steps:
2222
- uses: actions/checkout@v2

README.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
.. image:: https://dev.azure.com/data61/Anonlink/_apis/build/status/data61.anonlink?branchName=main
33
:target: https://dev.azure.com/data61/Anonlink/_build/latest?definitionId=3&branchName=main
44

5+
.. image:: https://github.com/data61/anonlink/actions/workflows/unittests.yml/badge.svg?branch=main
6+
:target: https://github.com/data61/anonlink/actions/workflows/unittests.yml
57

6-
.. image:: https://codecov.io/gh/data61/anonlink/branch/main/graph/badge.svg
8+
.. image:: https://codecov.io/gh/data61/anonlink/branch/main/graph/badge.svg?token=04DblXwUsT
79
:target: https://codecov.io/gh/data61/anonlink
810

9-
10-
.. image:: https://requires.io/github/data61/anonlink/requirements.svg?branch=main
11-
:target: https://requires.io/github/data61/anonlink/requirements/?branch=main
12-
13-
1411
.. image:: https://pepy.tech/badge/anonlink
1512
:target: https://pepy.tech/project/anonlink
1613

azurePipeline.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stages:
1313
# Need to install development libraries for manylinux container
1414
CIBW_BEFORE_ALL_LINUX: 'yum install -y libffi-devel atlas-devel'
1515
# Only build for Python36+, and x64 arch
16-
CIBW_BUILD: 'cp310-* cp39-* cp38-* cp37-* cp36-*'
16+
CIBW_BUILD: 'cp310-* cp39-* cp38-*'
1717
CIBW_SKIP: '*-win32 *-manylinux_i686 *-musllinux_*'
1818
#CIBW_BEFORE_TEST: pip install -r {project}/requirements.txt
1919
#CIBW_TEST_COMMAND: "pytest {project}/tests"
@@ -45,33 +45,13 @@ stages:
4545
steps:
4646
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
4747
- template: .azurePipeline/cibuildwheel_steps.yml
48-
- job: linux_37
49-
displayName: Linux + Python3.7
50-
pool:
51-
vmImage: 'ubuntu-20.04'
52-
variables:
53-
CIBW_BUILD: 'cp37-*'
54-
steps:
55-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
56-
- template: .azurePipeline/cibuildwheel_steps.yml
57-
- job: linux_36
58-
displayName: Linux + Python3.6
59-
pool:
60-
vmImage: 'ubuntu-20.04'
61-
variables:
62-
CIBW_BUILD: 'cp36-*'
63-
steps:
64-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
65-
- template: .azurePipeline/cibuildwheel_steps.yml
6648
- job: macos
6749
displayName: MacOS
6850
pool:
6951
vmImage: 'macOS-10.15'
7052
variables:
7153
MACOSX_DEPLOYMENT_TARGET: '10.15'
7254
steps:
73-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
74-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
7555
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
7656
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.9', architecture: x64}}
7757
- template: .azurePipeline/cibuildwheel_steps.yml
@@ -80,8 +60,6 @@ stages:
8060
pool:
8161
vmImage: 'windows-2019'
8262
steps:
83-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
84-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
8563
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
8664
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.9', architecture: x64}}
8765
- template: .azurePipeline/cibuildwheel_steps.yml
@@ -119,12 +97,6 @@ stages:
11997
vmImage: 'ubuntu-20.04'
12098
strategy:
12199
matrix:
122-
Python3.6:
123-
pythonVersion: '3.6'
124-
artifactName: 'wheels.linux36'
125-
Python3.7:
126-
pythonVersion: '3.7'
127-
artifactName: 'wheels.linux37'
128100
Python3.8:
129101
pythonVersion: '3.8'
130102
artifactName: 'wheels.linux38'
@@ -143,10 +115,6 @@ stages:
143115
vmImage: 'macOS-10.15'
144116
strategy:
145117
matrix:
146-
Python3.7:
147-
pythonVersion: '3.7'
148-
artifactName: 'wheels.macos'
149-
artifactPattern: '**/*cp37*.whl'
150118
Python3.8:
151119
pythonVersion: '3.8'
152120
artifactName: 'wheels.macos'
@@ -168,14 +136,6 @@ stages:
168136
vmImage: 'windows-2019'
169137
strategy:
170138
matrix:
171-
Python3.6:
172-
pythonVersion: '3.6'
173-
artifactName: 'wheels.windows'
174-
artifactPattern: '**/*cp36m*.whl'
175-
Python3.7:
176-
pythonVersion: '3.7'
177-
artifactName: 'wheels.windows'
178-
artifactPattern: '**/*cp37m*.whl'
179139
Python3.8:
180140
pythonVersion: '3.8'
181141
artifactName: 'wheels.windows'
@@ -220,7 +180,7 @@ stages:
220180
# the name of an Azure artifacts feed to publish artifacts to
221181
artifactFeed: anonlink
222182
steps:
223-
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
183+
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
224184
- script: 'pip install twine'
225185
- task: DownloadPipelineArtifact@2
226186
inputs:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"Programming Language :: Python :: 3.8",
101101
"Programming Language :: Python :: 3.9",
102102
"Programming Language :: Python :: 3.10",
103+
"Programming Language :: Python :: 3.11",
103104
"Programming Language :: Python :: Implementation :: CPython",
104105
"Topic :: Scientific/Engineering :: Information Analysis",
105106
"Topic :: Security :: Cryptography",

0 commit comments

Comments
 (0)