Skip to content

Commit 7ff0703

Browse files
Pin setuptools<82 in requirements.txt to prevent upgrade by deps
The CI setuptools pin was being overridden by --upgrade when installing requirements. Pin it in requirements.txt itself to prevent cityloc breakage from pkg_resources removal. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 58704ce commit 7ff0703

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ sqlalchemy2-stubs>=0.0.2a38
1010
sqlalchemy-stubs>=0.4
1111
# Server
1212
gevent>=24.2.1
13+
# Pin setuptools<82: version 82 removed pkg_resources, breaking cityloc
14+
setuptools>=67,<82
1315
# Util
1416
cachetools>=5.5.2
1517
requests>=2.32.3

0 commit comments

Comments
 (0)