Skip to content

Commit acc8c81

Browse files
committed
Update Pythons, pin Ubuntu and service database images
1 parent aea56b7 commit acc8c81

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.github/workflows/tox.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@ on:
77
- master
88
jobs:
99
test:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
13-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.7"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.10"]
1414
services:
1515
mariadb:
16-
image: mariadb
16+
image: mariadb:10.11
1717
env:
1818
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes
1919
MARIADB_DATABASE: test
2020
ports:
2121
- 3307:3306
2222
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
2323
mysql:
24-
image: mysql
24+
image: mysql:8.1
2525
env:
2626
MYSQL_ALLOW_EMPTY_PASSWORD: yes
2727
MYSQL_DATABASE: test
2828
ports:
2929
- 3306:3306
3030
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
3131
postgres:
32-
image: postgres
32+
image: postgres:15.4
3333
env:
3434
POSTGRES_PASSWORD: test
3535
POSTGRES_USER: test
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646
- name: Install lxml dependencies
47-
if: ${{ matrix.python-version == 'pypy-3.7' }}
47+
if: ${{ matrix.python-version == 'pypy-3.10' }}
4848
run: |
4949
sudo apt-get install libxml2-dev libxslt-dev
5050
- name: Install dependencies

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ def get_file_contents(filename):
5353
'Intended Audience :: Information Technology',
5454
'License :: OSI Approved :: BSD License',
5555
'Programming Language :: Python',
56-
'Programming Language :: Python :: 3.6',
57-
'Programming Language :: Python :: 3.7',
5856
'Programming Language :: Python :: 3.8',
5957
'Programming Language :: Python :: 3.9',
6058
'Programming Language :: Python :: 3.10',
59+
'Programming Language :: Python :: 3.11',
6160
'Programming Language :: Python :: Implementation :: PyPy',
6261
'Topic :: Internet',
6362
'Topic :: Security',

tox.ini

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[tox]
22
skipsdist = True
3-
envlist = py36-sqlalchemy{13,14}-werkzeuglt21-{sqlite,mysql,mariadb,postgres},
4-
py{37,38,39,310,py3,ston}-sqlalchemy{13,14}-werkzeug{lt21,gte21}-{sqlite,mysql,mariadb,postgres}
3+
envlist = py{38,39,310,py3}-sqlalchemy{13,14}-werkzeug{lt21,gte21}-{sqlite,mysql,mariadb,postgres}
54

65
[gh-actions]
76
python =
8-
3.6: py36
9-
3.7: py37
107
3.8: py38
118
3.9: py39
129
3.10: py310
13-
pypy-3.7: pypy3
10+
3.11: py311
11+
pypy-3.10: pypy3
1412

1513
[testenv]
1614
commands =

0 commit comments

Comments
 (0)