Skip to content

Commit 260fd0a

Browse files
drop old python, test on newer
1 parent 9e14b7d commit 260fd0a

File tree

3 files changed

+8
-86
lines changed

3 files changed

+8
-86
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -10,83 +10,8 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
name: [
14-
"windows-py27",
15-
"windows-py35",
16-
"windows-py36",
17-
"windows-py37",
18-
"windows-py38",
19-
"windows-py39",
20-
21-
"linux-py27",
22-
"linux-py35",
23-
"linux-py36",
24-
"linux-py37",
25-
"linux-py38",
26-
"linux-py39",
27-
28-
"linux-pypy2",
29-
"linux-pypy3",
30-
]
31-
include:
32-
- name: "windows-py27"
33-
python: "2.7"
34-
tox_env: "py27"
35-
os: "windows-latest"
36-
- name: "windows-py35"
37-
python: "3.5"
38-
tox_env: "py35"
39-
os: "windows-latest"
40-
- name: "windows-py36"
41-
python: "3.6"
42-
tox_env: "py36"
43-
os: "windows-latest"
44-
- name: "windows-py37"
45-
python: "3.7"
46-
tox_env: "py37"
47-
os: "windows-latest"
48-
- name: "windows-py38"
49-
python: "3.8"
50-
tox_env: "py38"
51-
os: "windows-latest"
52-
- name: "windows-py39"
53-
python: "3.9"
54-
tox_env: "py39"
55-
os: "windows-latest"
56-
57-
- name: "linux-py27"
58-
python: "2.7"
59-
tox_env: "py27"
60-
os: "ubuntu-latest"
61-
- name: "linux-py35"
62-
python: "3.5"
63-
tox_env: "py35"
64-
os: "ubuntu-latest"
65-
- name: "linux-py36"
66-
python: "3.6"
67-
tox_env: "py36"
68-
os: "ubuntu-latest"
69-
- name: "linux-py37"
70-
python: "3.7"
71-
tox_env: "py37"
72-
os: "ubuntu-latest"
73-
- name: "linux-py38"
74-
python: "3.8"
75-
tox_env: "py38"
76-
os: "ubuntu-latest"
77-
- name: "linux-py39"
78-
python: "3.9"
79-
tox_env: "py39"
80-
os: "ubuntu-latest"
81-
82-
- name: "linux-pypy2"
83-
python: "pypy-2.7"
84-
tox_env: "pypy2"
85-
os: "ubuntu-latest"
86-
- name: "linux-pypy3"
87-
python: "pypy-3.7"
88-
tox_env: "pypy3"
89-
os: "ubuntu-latest"
13+
os: [windows-latest, ubuntu-latest]
14+
python: ["3.7","3.8","3.10","3.11", "pypy-3.7"]
9015

9116
steps:
9217
- uses: actions/checkout@v1
@@ -97,10 +22,10 @@ jobs:
9722
- name: Install tox setuptools_scm
9823
run: |
9924
python -m pip install --upgrade pip
100-
pip install tox setuptools_scm
25+
pip install tox setuptools_scm hatch
10126
- name: Test
10227
run: |
103-
tox -e ${{ matrix.tox_env }}
28+
tox -e py
10429
10530
deploy:
10631

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dynamic = ["version"]
1111
description = "execnet: rapid multi-Python deployment"
1212
long_description_file = "README.rst"
1313
license = "MIT"
14-
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
14+
requires-python = ">=3.7"
1515
authors = [
1616
{ name = "holger krekel and others" },
1717
]
@@ -22,14 +22,11 @@ classifiers = [
2222
"Operating System :: MacOS :: MacOS X",
2323
"Operating System :: Microsoft :: Windows",
2424
"Operating System :: POSIX",
25-
"Programming Language :: Python :: 2",
26-
"Programming Language :: Python :: 2.7",
27-
"Programming Language :: Python :: 3",
28-
"Programming Language :: Python :: 3.5",
29-
"Programming Language :: Python :: 3.6",
3025
"Programming Language :: Python :: 3.7",
3126
"Programming Language :: Python :: 3.8",
3227
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
3330
"Programming Language :: Python :: Implementation :: CPython",
3431
"Programming Language :: Python :: Implementation :: PyPy",
3532
"Topic :: Software Development :: Libraries",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py27,py37,docs,linting
2+
envlist=py{37,38,39,310,311},docs,linting
33
isolated_build = true
44
[testenv]
55
deps=

0 commit comments

Comments
 (0)