Skip to content

Commit

Permalink
bump gpg dependency
Browse files Browse the repository at this point in the history
There is a problamatically old version of the official gpgme bindings on
pypi (https://pypi.org/project/gpg/)
which gets pulled by defaul if one installs alot via pip.

This commit introduces a dependency on gpg at strictly higher version to
avoid this outdated dependency.

It is likely that this will cause people some pain because there is no
alternative installable via pip as far as I know.
However, several distributions already ship with the newer official
bindings (python3-gpg) on debian and derivatives, which means it will
not be an issue there.
  • Loading branch information
Patrick Totzke committed Feb 12, 2024
1 parent 7454b4f commit c1137ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ urwidtrees = ">=1.0.3"
twisted = ">=18.4.0"
python-magic = "*"
configobj = ">=4.7.0"
gpg = "*"
gpg = ">1.10.0"

[tool.poetry.dev-dependencies]
pycodestyle = "*"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
'twisted>=18.4.0',
'python-magic',
'configobj>=4.7.0',
'gpg'
'gpg>1.10.0'
],
provides=['alot'],
test_suite="tests",
Expand Down

0 comments on commit c1137ea

Please sign in to comment.