Skip to content

Commit 948b698

Browse files
committed
ci: unbreak travis build - drop py3.7, add py3.12
Python 3.7 is unsupported as of June 2023, and no longer supported by tox, one of our dev dependencies. Python 3.12 was published in October 2023 and is a stable release. Signed-off-by: Michael Hough <[email protected]>
1 parent ce30ad6 commit 948b698

File tree

2 files changed

+1680
-2133
lines changed

2 files changed

+1680
-2133
lines changed

.travis.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
language: python
22
python:
3-
- '3.7'
43
- '3.8'
54
- '3.9'
65
- '3.10'
76
- '3.11'
7+
- '3.12'
88

9-
dist: focal
9+
node_js:
10+
- 18
11+
12+
dist: jammy
1013

1114
cache: pip
1215

@@ -15,11 +18,11 @@ notifications:
1518

1619
matrix:
1720
include:
18-
- python: 3.7
1921
- python: 3.8
2022
- python: 3.9
2123
- python: 3.10
2224
- python: 3.11
25+
- python: 3.12
2326

2427
before_install:
2528
- npm install npm@latest -g
@@ -51,8 +54,8 @@ deploy:
5154
skip_cleanup: true
5255
on:
5356
branch: main
54-
# only on Python 3.7
55-
python: '3.7'
57+
# only on Python 3.8
58+
python: '3.8'
5659
# ensure semantic-release is functional
5760
- provider: script
5861
script:
@@ -61,12 +64,12 @@ deploy:
6164
on:
6265
all_branches: true
6366
# only on 1 matrix job
64-
python: '3.7'
67+
python: '3.8'
6568
- provider: pypi
6669
user: __token__
6770
password: $PYPI_TOKEN
6871
repository: https://upload.pypi.org/legacy
6972
skip_cleanup: true
7073
on:
71-
python: '3.7'
74+
python: '3.8'
7275
tags: true

0 commit comments

Comments
 (0)