Skip to content

Commit

Permalink
build: pin setuptools for 3.12 (#373)
Browse files Browse the repository at this point in the history
SeqRepo uses `yoyo-migrations`, a DB migration package, but they haven't
updated their use of the deprecated `pkg_resources` module. For Python
>= 3.12, you have to pin a `setuptools` dependency in the meantime.
  • Loading branch information
jsstevenson authored Nov 13, 2024
1 parent ee9d575 commit 5a9b87a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ dynamic = ["version"]

[project.optional-dependencies]
pg = ["psycopg[binary]"]
etl = ["gffutils", "biocommons.seqrepo", "wags-tails>=0.1.1"]
etl = [
"gffutils",
"biocommons.seqrepo",
"wags-tails>=0.1.1",
"setuptools", # pinned for 3.12 because yoyo-migrations still uses pkg_resources
]
test = ["pytest>=6.0", "pytest-cov", "mock", "httpx"]
dev = ["pre-commit>=3.7.1", "ruff==0.5.0"]
docs = [
Expand Down

0 comments on commit 5a9b87a

Please sign in to comment.