Skip to content

Commit 451d17d

Browse files
authored
Merge pull request #89 from graingert/fix-ci
2 parents 0bd7637 + 6942ccf commit 451d17d

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version:
17-
[3.7, 3.8, 3.9, "3.10", 3.11, 3.12-dev, pypy-3.7, pypy-3.8, pypy-3.9]
16+
python-version: [3.8, 3.9, '3.10', 3.11, 3.12, pypy-3.8, pypy-3.9]
1817
os: [macOS-latest, ubuntu-latest, windows-latest]
1918

2019
steps:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ repos:
33
rev: v3.4.0
44
hooks:
55
- id: pyupgrade
6-
args: ["--py37-plus"]
6+
args: ['--py38-plus']
77

88
- repo: https://github.com/psf/black
99
rev: 23.3.0
1010
hooks:
1111
- id: black
12-
args: ["--target-version", "py37"]
12+
args: ['--target-version', 'py38']
1313

1414
- repo: https://github.com/pycqa/isort
1515
rev: 5.12.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ and your tests executed by pytest all will have access to the `httpbin` and
131131

132132
## Support and dependencies
133133

134-
pytest-httpbin supports Python 2.6, 2.7, 3.4-3.6, and pypy. It will automatically
134+
pytest-httpbin supports Python 3.8+, and pypy. It will automatically
135135
install httpbin and flask when you install it from PyPI.
136136

137137
[httpbin](https://github.com/postmanlabs/httpbin) itself does not support python 2.6 as

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ classifiers = [
1515
"License :: OSI Approved :: MIT License",
1616
"Programming Language :: Python :: 3",
1717
"Programming Language :: Python :: 3 :: Only",
18-
"Programming Language :: Python :: 3.7",
1918
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
]
2423
keywords = ["pytest-httpbin testing pytest httpbin"]
25-
requires-python = ">=3.7"
24+
requires-python = ">=3.8"
2625
dependencies = ["httpbin"]
2726
dynamic = ["version"]
2827

@@ -72,13 +71,14 @@ legacy_tox_ini = """
7271
requires=
7372
virtualenv>=20.13.2
7473
tox-gh-actions>=2.9.1
75-
envlist = py37, py38, py39, py310, pypy3
74+
envlist = py38, py39, py310, pypy3
7675
7776
[testenv]
7877
package = wheel
7978
wheel_build_env = .pkg
8079
extras = test
8180
commands = pytest -v -s {posargs}
81+
install_command = python -I -m pip install --use-pep517 {opts} {packages}
8282
8383
[testenv:release]
8484
deps =

0 commit comments

Comments
 (0)