Skip to content

Commit

Permalink
Merge pull request #1048 from miketheman/miketheman/replace-setuptools
Browse files Browse the repository at this point in the history
misc: declare `packaging` dependency explicitly
  • Loading branch information
fizyk authored Jan 8, 2025
2 parents b59c6fc + 5e88166 commit 529e837
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name = "pypi"
pytest = "==8.3.4"
port-for = "==0.7.4"
mirakuru = "==2.5.3"
packaging = "==24.2"
psycopg = "==3.2.3"

[dev-packages]
Expand Down
4 changes: 4 additions & 0 deletions newsfragments/1048.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
In #858 the runtime dependency on `setuptools` was replaced with `packaging`,
which is currently installed as a transitive dependency of other dependencies.
Make `packaging` dependency explicit to prevent accidental breakage
in the event it is removed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
"pytest >= 6.2",
"port-for >= 0.7.3",
"mirakuru",
"setuptools",
"packaging",
"psycopg >= 3.0.0"
]
requires-python = ">= 3.9"
Expand Down

0 comments on commit 529e837

Please sign in to comment.