Skip to content

Commit 98bc36b

Browse files
committed
chore(deps): Pin setuptools~=81.0
pkg_resources has been removed from Setuptools v82.0.0 Razorpay 1.2.0 depends on pkg_resources. razorpay/razorpay-python#307 Packages from dev-requirements (e.g. moto) ask for setuptools>=x, that fetches the latest setuptools, ignoring the previous constraints. So, pin setuptools in dev-requirements.txt Ref: https://setuptools.pypa.io/en/stable/history.html#deprecations-and-removals
1 parent feecbb9 commit 98bc36b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ types-requests<2.32
77
types-pytz~=2025.2
88
types-python-dateutil~=2.9.0
99
types-boto3==1.39.14
10+
setuptools~=81.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=61.0", "wheel"]
2+
requires = ["setuptools~=81.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

0 commit comments

Comments
 (0)