Skip to content

Commit 06f44b3

Browse files
Merge pull request #1396 from datajoint/fix/pin-setuptools-1394
Fix: Pin setuptools<82 for pkg_resources compatibility
2 parents 7baf258 + 41b1a4d commit 06f44b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datajoint/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22
from pathlib import Path
33

4-
import pkg_resources
4+
import pkg_resources # requires setuptools<82
55
from cryptography.exceptions import InvalidSignature
66
from otumat import hash_pkg, verify
77

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
"faker",
2323
"cryptography",
2424
"urllib3",
25-
"setuptools",
25+
"setuptools<82", # pkg_resources removed in 82.0.0
2626
]
2727
requires-python = ">=3.9,<4.0"
2828
authors = [

0 commit comments

Comments
 (0)