0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 22:23:50 +01:00

Drop EOL python 3.6 from CI (#11595)

* remove python 3.6 and postgres 9.6 from github workflow

* remove python 3.6 env from tox

* newsfragment

* correct postgres version

* add py310 to tox env list
This commit is contained in:
Shay 2021-12-21 11:37:04 -08:00 committed by GitHub
parent 144b9ede89
commit 87da37374a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View file

@ -76,7 +76,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] python-version: ["3.7", "3.8", "3.9", "3.10"]
database: ["sqlite"] database: ["sqlite"]
toxenv: ["py"] toxenv: ["py"]
include: include:
@ -85,9 +85,9 @@ jobs:
toxenv: "py-noextras" toxenv: "py-noextras"
# Oldest Python with PostgreSQL # Oldest Python with PostgreSQL
- python-version: "3.6" - python-version: "3.7"
database: "postgres" database: "postgres"
postgres-version: "9.6" postgres-version: "10"
toxenv: "py" toxenv: "py"
# Newest Python with newest PostgreSQL # Newest Python with newest PostgreSQL
@ -167,7 +167,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ["pypy-3.6"] python-version: ["pypy-3.7"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -291,8 +291,8 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- python-version: "3.6" - python-version: "3.7"
postgres-version: "9.6" postgres-version: "10"
- python-version: "3.10" - python-version: "3.10"
postgres-version: "14" postgres-version: "14"

1
changelog.d/11595.misc Normal file
View file

@ -0,0 +1 @@
Drop EOL python 3.6 and postgres 9.6 from CI.

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = packaging, py36, py37, py38, py39, check_codestyle, check_isort envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort
# we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208 # we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
minversion = 2.3.2 minversion = 2.3.2