Skip to content

Commit 3bb565f

Browse files
committed
Remove python 3.7 compatibility
1 parent d45c543 commit 3bb565f

File tree

6 files changed

+13
-99
lines changed

6 files changed

+13
-99
lines changed

.github/workflows/main.yml

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ jobs:
1111
strategy:
1212
matrix:
1313
include:
14-
- python-version: "3.7"
15-
toxfactor: py37
16-
ignore-typecheck-outcome: true
17-
ignore-test-outcome: false
1814
- python-version: "3.8"
1915
toxfactor: py38
2016
ignore-typecheck-outcome: true

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
rev: v3.3.1
2323
hooks:
2424
- id: pyupgrade
25-
args: ["--py37-plus"]
25+
args: ["--py38-plus"]
2626
# TODO: Enable mypy checker when the checks succeed
2727
#- repo: https://github.com/pre-commit/mirrors-mypy
2828
# rev: v0.931

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Changelog
33

44
Unreleased
55
----------
6+
- Drop python 3.7 compatibility, as it's no longer supported.
67
- ⚠️ Backwards incompatible: - ``parsers.re`` now does a `fullmatch <https://docs.python.org/3/library/re.html#re.fullmatch>`_ instead of a partial match. This is to make it work just like the other parsers, since they don't ignore non-matching characters at the end of the string. `#539 <https://github.com/pytest-dev/pytest-bdd/pull/539>`_
78
- Add support for Scenarios and Scenario Outlines to have descriptions. `#600 <https://github.com/pytest-dev/pytest-bdd/pull/600>`_
89

poetry.lock

+7-89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers = [
2020
"Topic :: Software Development :: Libraries",
2121
"Topic :: Utilities",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.7",
2423
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
@@ -34,7 +33,7 @@ classifiers = [
3433
"pytest-bdd" = "pytest_bdd.scripts:main"
3534

3635
[tool.poetry.dependencies]
37-
python = "^3.7"
36+
python = ">=3.8"
3837
Mako = "*"
3938
parse = "*"
4039
parse-type = "*"
@@ -55,7 +54,7 @@ build-backend = "poetry.core.masonry.api"
5554

5655
[tool.black]
5756
line-length = 120
58-
target-version = ["py37", "py38", "py39", "py310", "py311"]
57+
target-version = ["py38", "py39", "py310", "py311"]
5958

6059
[tool.isort]
6160
profile = "black"
@@ -87,7 +86,7 @@ source = [
8786

8887

8988
[tool.mypy]
90-
python_version = "3.7"
89+
python_version = "3.8"
9190
warn_return_any = true
9291
warn_unused_configs = true
9392
files = "src/pytest_bdd/**/*.py"

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
distshare = {homedir}/.tox/distshare
3-
envlist = py{37,38,39,310,311,312}-pytest{62,70,71,72,latest}-coverage
3+
envlist = py{38,39,310,311,312}-pytest{62,70,71,72,latest}-coverage
44
py311-pytestlatest-xdist-coverage
55
mypy
66

0 commit comments

Comments
 (0)