Skip to content

Commit 088c00f

Browse files
committed
build: drop Python 3.8 support and update setuptools to >=77.0
- clean up MANIFEST.in and simplify pyproject.toml formatting
1 parent bf9d126 commit 088c00f

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## Developing
4+
5+
- 💔 **Breaking Changes:**
6+
- Drop support for Python 3.8
7+
- 📦 **Build:**
8+
- Update to `setuptools>=77.0`
9+
310
## v0.5
411

512
> 📅 2025-08-26

MANIFEST.in

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
exclude .*
2-
exclude codecov.*
3-
exclude coverage.*
4-
exclude junit.*
5-
exclude qodana.*
2+
exclude codecov.yml
3+
exclude qodana.yaml
64
exclude requirements.txt
75

86
prune .*
97

10-
prune images
11-
12-
prune build
13-
prune dist
148
prune docs
159
prune tests
1610

1711
prune docker
1812
prune examples
13+
prune images

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = ["setuptools>=64", "setuptools-scm>=8"]
3+
requires = ["setuptools>=77.0.0", "setuptools-scm>=8"]
44

55
[project]
66
authors = [{ name = "liu xue yan", email = "liu_xue_yan@foxmail.com" }]
77
description = "A Python library that provides decorators for caching function results in Redis, supporting multiple serialization formats and caching strategies, as well as asynchronous operations."
88
name = "redis_func_cache"
99
readme = "README.md"
1010

11-
requires-python = ">=3.8"
11+
requires-python = ">=3.9"
1212

1313
keywords = ["redis", "cache", "decorator"]
1414

15-
license = { text = "BSD-3-Clause" }
15+
license = "BSD-3-Clause"
16+
license-files = ["LICENSE.md"]
1617

1718
classifiers = [
1819
# "License :: OSI Approved :: BSD License",
@@ -50,7 +51,7 @@ pygments = ["Pygments>=2.9"]
5051
bson = ["pymongo>=3.9"]
5152
msgpack = ["msgpack>=1.0"]
5253
yaml = ["PyYAML>=5.4"]
53-
cbor=["cbor2>=5.0"]
54+
cbor = ["cbor2>=5.0"]
5455
cloudpickle = ["cloudpickle>=3.0"]
5556
all = [
5657
"redis[hiredis]",
@@ -102,10 +103,7 @@ test = [
102103
"python-dotenv",
103104
]
104105

105-
ipykernel = [
106-
"ipykernel",
107-
"pip",
108-
]
106+
ipykernel = ["ipykernel", "pip"]
109107

110108
[tool.setuptools.packages.find]
111109
where = ["src"]

0 commit comments

Comments
 (0)