Skip to content

Commit 116113c

Browse files
authored
chore: drop python 3.8 support, prep for release (#381)
1 parent bc67be7 commit 116113c

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55

66
name: release
77

8+
permissions: {}
9+
810
jobs:
911
pypi:
1012
name: upload release to PyPI
@@ -25,7 +27,7 @@ jobs:
2527

2628
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2729
with:
28-
python-version: "3.x"
30+
python-version-file: pyproject.toml
2931

3032
- name: deps
3133
run: python -m pip install -U build

.github/workflows/tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
branches: ["master"]
99
workflow_dispatch:
1010

11+
permissions: {}
12+
1113
jobs:
1214
tests:
1315
name: "Python ${{ matrix.python-version }} ${{ matrix.os }}"
@@ -16,7 +18,7 @@ jobs:
1618
strategy:
1719
fail-fast: false
1820
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
21+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2022
os: ["macos-latest", "windows-latest", "ubuntu-latest"]
2123

2224
steps:

.github/workflows/zizmor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
pull_request:
77
branches: ["**"]
88

9+
permissions: {}
10+
911
jobs:
1012
zizmor:
1113
name: zizmor latest via PyPI

cachecontrol/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
__author__ = "Eric Larson"
1111
__email__ = "[email protected]"
12-
__version__ = "0.14.2"
12+
__version__ = "0.14.3"
1313

1414
from cachecontrol.adapter import CacheControlAdapter
1515
from cachecontrol.controller import CacheController

docs/release_notes.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
Release Notes
88
===============
99

10+
0.14.3
11+
======
12+
13+
* Drop support for Python 3.8.
14+
1015
0.14.2
1116
======
1217

@@ -16,7 +21,6 @@
1621
0.14.1
1722
======
1823

19-
* Drop support for Python 3.8.
2024
* Explicitly support Python 3.13.
2125

2226
0.14.0

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ classifiers = [
2424
"Development Status :: 4 - Beta",
2525
"Environment :: Web Environment",
2626
"Operating System :: OS Independent",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
@@ -34,7 +33,7 @@ classifiers = [
3433
]
3534
keywords = ["requests", "http", "caching", "web"]
3635
dependencies = ["requests >= 2.16.0", "msgpack >= 0.5.2, < 2.0.0"]
37-
requires-python = ">=3.8"
36+
requires-python = ">=3.9"
3837

3938
[project.urls]
4039
Homepage = "https://pypi.org/project/CacheControl/"

0 commit comments

Comments
 (0)