Skip to content

Commit 076dfeb

Browse files
committed
Try older Python versions
1 parent d7a777a commit 076dfeb

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,9 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9", "pypy3.10"]
34+
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9", "pypy3.10"]
3535
os: [ubuntu-latest, windows-latest]
3636
include:
37-
- python: "2.7"
38-
tox_env: "py27"
39-
- python: "3.5"
40-
tox_env: "py35"
41-
- python: "3.6"
42-
tox_env: "py36"
4337
- python: "3.7"
4438
tox_env: "py37"
4539
- python: "3.8"
@@ -76,5 +70,4 @@ jobs:
7670
7771
- name: Test
7872
shell: bash
79-
run: |
80-
tox run -e ${{ matrix.tox_env }} --installpkg `find dist/*.tar.gz`
73+
run: tox run -e ${{ matrix.tox_env }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ dist
88
*.egg-info
99
*.pyc
1010
*.pyo
11+
.idea
12+
venv

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Requirements
3030

3131
You will need the following prerequisites in order to use pytest-repeat:
3232

33-
- Python 2.7, 3.5+ or PyPy
34-
- pytest 3.6 or newer
33+
- Python 3.7+ or PyPy3
34+
- pytest 4 or newer
3535

3636
Installation
3737
------------

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
install_requires=['pytest>=3.6'],
1515
license='Mozilla Public License 2.0 (MPL 2.0)',
1616
keywords='pytest pytest repeat',
17-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
17+
python_requires='>=3.7',
1818
classifiers=[
1919
'Development Status :: 5 - Production/Stable',
2020
'Framework :: Pytest',
@@ -27,9 +27,6 @@
2727
'Topic :: Software Development :: Testing',
2828
'Topic :: Utilities',
2929
'Programming Language :: Python',
30-
'Programming Language :: Python :: 2.7',
31-
'Programming Language :: Python :: 3.5',
32-
'Programming Language :: Python :: 3.6',
3330
'Programming Language :: Python :: 3.7',
3431
'Programming Language :: Python :: 3.8',
3532
'Programming Language :: Python :: 3.9',

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@
66
[tox]
77
minversion = 3.4.0
88
isolated_build = true
9-
envlist = py{27,35,36,37,38,39,310,311,py3}-pytest{3,4,6,7}, flake8
9+
envlist =
10+
py{37,38,39,310,311,py3}-pytest7
11+
py37-pytest{4,5,6}
12+
flake8
1013

1114
[testenv]
1215
commands = pytest {posargs}
1316
deps =
14-
pytest3: pytest~=3.6
1517
pytest4: pytest~=4.6
16-
pytest6: pytest>=6,<7
18+
pytest5: pytest~=5.4
19+
pytest6: pytest~=6.2
1720
pytest7: pytest>=7
1821

1922
[testenv:flake8]

0 commit comments

Comments
 (0)