From 2e1452234d8a3240aa27fc5fa5db93d53d799c25 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Thu, 23 May 2024 11:51:07 -0700 Subject: [PATCH 1/6] Start testing on 3.13 beta --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c35af968c4..674df73120 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "pypy-3.9", "pypy-3.10"] os: [ubuntu-22.04, macOS-latest, windows-latest] # Python 3.8 and 3.9 do not run on macOS-latest which # is now using arm64 hardware. From 83e67c448567cb78490e709925cc335567f656dd Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 15:04:08 +0100 Subject: [PATCH 2/6] use allow-prereleases: true instead of 3.13-dev --- .github/workflows/run-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0a8d73af6a..5d371a8b80 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "pypy-3.9", "pypy-3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9", "pypy-3.10"] os: [ubuntu-22.04, macOS-latest, windows-latest] # Python 3.8 and 3.9 do not run on macOS-latest which # is now using arm64 hardware. @@ -31,6 +31,7 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'pip' + allow-prereleases: true - name: Install dependencies run: | make From 92f10cec5b3223e90c186b7a04306564cde050dc Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 15:04:53 +0100 Subject: [PATCH 3/6] upgrade to pytest-httpbin 2.1.0rc1 --- requirements-dev.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index e80b18581e..158b24ebbd 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ -e .[socks] pytest>=2.8.0,<9 pytest-cov -pytest-httpbin==2.0.0 +pytest-httpbin==2.1.0rc1 httpbin~=0.10.0 trustme wheel diff --git a/setup.py b/setup.py index e18aa18bb6..a864d95c78 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ "certifi>=2017.4.17", ] test_requirements = [ - "pytest-httpbin==2.0.0", + "pytest-httpbin==2.1.0rc1", "pytest-cov", "pytest-mock", "pytest-xdist", From 314e7c9c701ddbeb6c26ae357a132045709d47f1 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 16:36:43 +0100 Subject: [PATCH 4/6] upgrade to pytest-httpbin 2.1.0 final --- requirements-dev.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 158b24ebbd..77fedb9716 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ -e .[socks] pytest>=2.8.0,<9 pytest-cov -pytest-httpbin==2.1.0rc1 +pytest-httpbin==2.1.0 httpbin~=0.10.0 trustme wheel diff --git a/setup.py b/setup.py index a864d95c78..b72b6c63ca 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ "certifi>=2017.4.17", ] test_requirements = [ - "pytest-httpbin==2.1.0rc1", + "pytest-httpbin==2.1.0", "pytest-cov", "pytest-mock", "pytest-xdist", From f519bbae3346b4bf0ff866e0659b7efbcf016eb1 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 19:14:19 +0100 Subject: [PATCH 5/6] add trove classifier for 3.13 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index b72b6c63ca..7d9b52bc3b 100755 --- a/setup.py +++ b/setup.py @@ -87,6 +87,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", From 5984296b6a4cea1b20a6747127c335d95595e7d9 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 19:40:02 +0100 Subject: [PATCH 6/6] Update tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c438ef316a..79f74b2567 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312}-{default, use_chardet_on_py3} +envlist = py{38,39,310,311,312,313}-{default, use_chardet_on_py3} [testenv] deps = -rrequirements-dev.txt