Drop 3.5 host support and adapt CI configurations

This commit is contained in:
Yannick Jadoul
2020-05-06 23:57:00 +02:00
parent 1a765ac431
commit 575e229514
5 changed files with 20 additions and 31 deletions
+13 -13
View File
@@ -6,22 +6,22 @@ branches:
jobs: jobs:
include: include:
- name: Linux | x86_64 + i686 | Python 3.5 - name: Linux | x86_64 + i686 | Python 3.6
language: python language: python
python: 3.5 python: 3.6
services: docker services: docker
env: PYTHON=python env: PYTHON=python
- name: Linux | arm64 | Python 3.5 - name: Linux | arm64 | Python 3.6
language: python language: python
python: 3.5 python: 3.6
services: docker services: docker
arch: arm64 arch: arm64
env: PYTHON=python env: PYTHON=python
- name: Linux | ppc64le | Python 3.5 - name: Linux | ppc64le | Python 3.6
language: python language: python
python: 3.5 python: 3.6
services: docker services: docker
arch: ppc64le arch: ppc64le
env: PYTHON=python env: PYTHON=python
@@ -30,25 +30,25 @@ jobs:
os: osx os: osx
env: PYTHON=python3 env: PYTHON=python3
- name: Windows | x86_64 | Python 3.5 - name: Windows | x86_64 | Python 3.6
os: windows os: windows
language: shell language: shell
before_install: before_install:
- choco install python3 --version 3.5.4 --no-progress -y - choco install python3 --version 3.6.8 --no-progress -y
env: env:
- PYTHON=C:\\Python35\\python - PYTHON=C:\\Python36\\python
- &linux_s390x_35 - &linux_s390x_36
name: Linux | s390x | Python 3.5 name: Linux | s390x | Python 365
language: python language: python
python: 3.5 python: 3.6
services: docker services: docker
arch: s390x arch: s390x
env: PYTHON=python env: PYTHON=python
allow_failures: allow_failures:
# must repeat the s390x job above exactly to match # must repeat the s390x job above exactly to match
- *linux_s390x_35 - *linux_s390x_36
install: $PYTHON -m pip install -r requirements-dev.txt install: $PYTHON -m pip install -r requirements-dev.txt
+6 -6
View File
@@ -1,12 +1,12 @@
This is a summary of the Python versions and platforms covered by the different CI platforms: This is a summary of the Python versions and platforms covered by the different CI platforms:
| | 3.5 | 3.6 | 3.7 | 3.8 | | | 3.6 | 3.7 | 3.8 |
|----------|------------------|------------------|----------------------------------------------------|------------------| |----------|------------------------------|-----------------------------------------------------|------------------|
| Linux | Travis CI | CircleCI | AppVeyor² / GitHub Actions | Azure Pipelines | | Linux | Travis CI / CircleCI | AppVeyor² / GitHub Actions | Azure Pipelines |
| macOS | Azure Pipelines | CircleCI | AppVeyor² / Travis CI¹ / CircleCI / GitHub Actions | Azure Pipelines | | macOS | CircleCI | AppVeyor² / Travis CI¹ / CircleCI / GitHub Actions | Azure Pipelines |
| Windows | TravisCI | Azure Pipelines | AppVeyor² / GitHub Actions | Azure Pipelines | | Windows | Travis CI / Azure Pipelines | AppVeyor² / GitHub Actions | Azure Pipelines |
> ¹ Python version not really pinned, but dependent on the (default) version of image used. > ¹ Python version not really pinned, but dependent on the (default) version of image used.
> ² AppVeyor only runs the "basic" test to reduce load. > ² AppVeyor only runs the "basic" test to reduce load.
Non-x86 architectures are covered on Travis CI using Python 3.5. Non-x86 architectures are covered on Travis CI using Python 3.6.
-10
View File
@@ -9,16 +9,6 @@ jobs:
python -m pip install -r requirements-dev.txt python -m pip install -r requirements-dev.txt
python ./bin/run_tests.py python ./bin/run_tests.py
- job: macos_35
pool: {vmImage: 'macOS-10.15'}
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.5'
- bash: |
python -m pip install -r requirements-dev.txt
python ./bin/run_tests.py
- job: macos_38 - job: macos_38
pool: {vmImage: 'macOS-10.15'} pool: {vmImage: 'macOS-10.15'}
steps: steps:
-1
View File
@@ -7,7 +7,6 @@
language: python language: python
python: python:
- 3.5
- 3.6 - 3.6
- 3.7 - 3.7
- 3.8 - 3.8
+1 -1
View File
@@ -28,7 +28,7 @@ setup(
'cibuildwheel': ['resources/*'], 'cibuildwheel': ['resources/*'],
}, },
# Supported python versions # Supported python versions
python_requires='>=3.5', python_requires='>=3.6',
keywords='ci wheel packaging pypi travis appveyor macos linux windows', keywords='ci wheel packaging pypi travis appveyor macos linux windows',
classifiers=[ classifiers=[
'Intended Audience :: Developers', 'Intended Audience :: Developers',