From fcceda3c78e863387d69feab0473d8670a9b5adc Mon Sep 17 00:00:00 2001 From: ltsyk Date: Thu, 30 Jul 2026 15:24:39 +0800 Subject: [PATCH 1/2] chore: declare Python 3.14 classifier Declare Python 3.14 support classifiers (issue #793) --- setup.py | 1 + tox.ini | 2 +- tox.ini.bak | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 tox.ini.bak diff --git a/setup.py b/setup.py index 7504a635..f00ddfb3 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development", ], ) diff --git a/tox.ini b/tox.ini index 1438493c..f297ba2a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312,py313,mypy,precom +envlist = py38,py39,py310,py311,py312,py313,py314,mypy,precom [pytest] filterwarnings = diff --git a/tox.ini.bak b/tox.ini.bak new file mode 100644 index 00000000..1438493c --- /dev/null +++ b/tox.ini.bak @@ -0,0 +1,28 @@ +[tox] +envlist = py38,py39,py310,py311,py312,py313,mypy,precom + +[pytest] +filterwarnings = + error + default::DeprecationWarning + +[testenv] +extras = tests +commands = + pytest . --asyncio-mode=auto --cov responses --cov-report term-missing {posargs} + + +[testenv:mypy] +description = Check types using 'mypy' +basepython = python3.10 +commands = + python -m mypy --config-file=mypy.ini -p responses + # see https://github.com/getsentry/responses/issues/556 + python -m mypy --config-file=mypy.ini --namespace-packages -p responses + +[testenv:precom] +description = Run pre-commit hooks (black, flake, etc) +basepython = python3.10 +deps = pre-commit>=2.9.2 +commands = + pre-commit run --all-files From 3b0d903788136339f0350f035d51678ee4faec49 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 30 Jul 2026 17:41:22 +0800 Subject: [PATCH 2/2] chore: remove accidental tox config backup --- tox.ini.bak | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tox.ini.bak diff --git a/tox.ini.bak b/tox.ini.bak deleted file mode 100644 index 1438493c..00000000 --- a/tox.ini.bak +++ /dev/null @@ -1,28 +0,0 @@ -[tox] -envlist = py38,py39,py310,py311,py312,py313,mypy,precom - -[pytest] -filterwarnings = - error - default::DeprecationWarning - -[testenv] -extras = tests -commands = - pytest . --asyncio-mode=auto --cov responses --cov-report term-missing {posargs} - - -[testenv:mypy] -description = Check types using 'mypy' -basepython = python3.10 -commands = - python -m mypy --config-file=mypy.ini -p responses - # see https://github.com/getsentry/responses/issues/556 - python -m mypy --config-file=mypy.ini --namespace-packages -p responses - -[testenv:precom] -description = Run pre-commit hooks (black, flake, etc) -basepython = python3.10 -deps = pre-commit>=2.9.2 -commands = - pre-commit run --all-files