summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2022-12-23 09:27:18 +0100
committerGitHub <noreply@github.com>2022-12-23 09:27:18 +0100
commite2d9d9d49ceadb0c62ab96117ffc4dfa532819e0 (patch)
tree62e9110f084d572bf06f25115c8f1f794a8f19e9 /.github
parent831a34f5cf3e2c4297e0da35c4f38e7cf12fac16 (diff)
downloadzope-security-e2d9d9d49ceadb0c62ab96117ffc4dfa532819e0.tar.gz
Config with c code template 831a34f5 (#91)
* Drop support for Python 2.7, 3.5, 3.6.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml43
1 files changed, 1 insertions, 42 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9a7f8c9..9551c7b 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -96,11 +96,7 @@ jobs:
fail-fast: false
matrix:
python-version:
- - "2.7"
- - "3.5"
- - "pypy-2.7"
- "pypy-3.7"
- - "3.6"
- "3.7"
- "3.8"
- "3.9"
@@ -109,11 +105,7 @@ jobs:
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
- python-version: "pypy-2.7"
- - os: macos-latest
python-version: "pypy-3.7"
- - os: macos-latest
- python-version: "3.5"
steps:
- name: checkout
@@ -141,16 +133,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- - name: Install Build Dependencies (PyPy2)
- if: >
- startsWith(matrix.python-version, 'pypy-2.7')
- run: |
- pip install -U pip
- pip install -U setuptools wheel twine "cffi != 1.15.1"
- pip install -U zope.proxy
- - name: Install Build Dependencies (other Python versions)
- if: >
- !startsWith(matrix.python-version, 'pypy-2.7')
+ - name: Install Build Dependencies
run: |
pip install -U pip
pip install -U setuptools wheel twine cffi
@@ -160,9 +143,6 @@ jobs:
if: >
startsWith(runner.os, 'Mac')
&& !(startsWith(matrix.python-version, 'pypy')
- || matrix.python-version == '2.7'
- || matrix.python-version == '3.5'
- || matrix.python-version == '3.6'
|| matrix.python-version == '3.7')
env:
MACOSX_DEPLOYMENT_TARGET: 10.9
@@ -177,9 +157,6 @@ jobs:
if: >
startsWith(runner.os, 'Mac')
&& !(startsWith(matrix.python-version, 'pypy')
- || matrix.python-version == '2.7'
- || matrix.python-version == '3.5'
- || matrix.python-version == '3.6'
|| matrix.python-version == '3.7')
env:
MACOSX_DEPLOYMENT_TARGET: 11.0
@@ -194,9 +171,6 @@ jobs:
if: >
!startsWith(runner.os, 'Mac')
|| startsWith(matrix.python-version, 'pypy')
- || matrix.python-version == '2.7'
- || matrix.python-version == '3.5'
- || matrix.python-version == '3.6'
|| matrix.python-version == '3.7'
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
@@ -207,7 +181,6 @@ jobs:
- name: Install zope.security and dependencies
run: |
# Install to collect dependencies into the (pip) cache.
- pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
pip install .[test]
- name: Check zope.security build
@@ -225,9 +198,6 @@ jobs:
if: >
startsWith(runner.os, 'Mac')
&& !(startsWith(matrix.python-version, 'pypy')
- || matrix.python-version == '2.7'
- || matrix.python-version == '3.5'
- || matrix.python-version == '3.6'
|| matrix.python-version == '3.7')
uses: actions/upload-artifact@v3
with:
@@ -264,11 +234,7 @@ jobs:
fail-fast: false
matrix:
python-version:
- - "2.7"
- - "3.5"
- - "pypy-2.7"
- "pypy-3.7"
- - "3.6"
- "3.7"
- "3.8"
- "3.9"
@@ -277,11 +243,7 @@ jobs:
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
- python-version: "pypy-2.7"
- - os: macos-latest
python-version: "pypy-3.7"
- - os: macos-latest
- python-version: "3.5"
steps:
- name: checkout
@@ -318,7 +280,6 @@ jobs:
run: |
pip install -U wheel setuptools
pip install -U coverage
- pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
pip install -U 'cffi; platform_python_implementation == "CPython"'
# Unzip into src/ so that testrunner can find the .so files
# when we ask it to load tests from that directory. This
@@ -498,8 +459,6 @@ jobs:
# An alternate way to do this is to run the container directly with a uses:
# and then the script runs inside it. That may work better with caching.
# See https://github.com/pyca/bcrypt/blob/f6b5ee2eda76d077c531362ac65e16f045cf1f29/.github/workflows/wheel-builder.yml
- # The 2010 image is the most recent spec that comes with Python 2.7,
- # and only up through the tag 2021-02-06-3d322a5
env:
DOCKER_IMAGE: quay.io/pypa/${{ matrix.image }}
run: |