Skip to content

Commit 37f68c7

Browse files
committed
Drop support for EOL Python 3.6 and 3.7
1 parent 983ef11 commit 37f68c7

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-python@v4
2525
with:
26-
python-version: ">= 3.6"
26+
python-version: ">= 3.8"
2727

2828
- name: deps
2929
run: python -m pip install -U build

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2020
os: ["macos-latest", "windows-latest", "ubuntu-latest"]
2121

2222
steps:

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ classifiers = [
2424
"Environment :: Web Environment",
2525
"License :: OSI Approved :: Apache Software License",
2626
"Operating System :: OS Independent",
27-
"Programming Language :: Python :: 3.6",
28-
"Programming Language :: Python :: 3.7",
2927
"Programming Language :: Python :: 3.8",
3028
"Programming Language :: Python :: 3.9",
3129
"Programming Language :: Python :: 3.10",
@@ -35,7 +33,7 @@ classifiers = [
3533
]
3634
keywords = ["requests", "http", "caching", "web"]
3735
dependencies = ["requests >= 2.16.0", "msgpack >= 0.5.2, < 2.0.0"]
38-
requires-python = ">=3.7"
36+
requires-python = ">=3.8"
3937

4038
[project.urls]
4139
Homepage = "https://pypi.org/project/CacheControl/"

tests/test_regressions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
import sys
65
import pytest
76

87

@@ -14,9 +13,6 @@
1413

1514
class Test39:
1615

17-
@pytest.mark.skipif(
18-
sys.version.startswith("2"), reason="Only run this for python 3.x"
19-
)
2016
def test_file_cache_recognizes_consumed_file_handle(self, url):
2117
s = CacheControl(Session(), FileCache("web_cache"))
2218
the_url = url + "cache_60"

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55
[tox]
66
isolated_build = True
7-
envlist = py{36,37,38,39,310,311,312}, mypy
7+
envlist = py{38,39,310,311,312}, mypy
88

99
[gh-actions]
1010
python =
11-
3.7: py37
1211
3.8: py38
1312
3.9: py39
1413
3.10: py310, mypy

0 commit comments

Comments
 (0)