-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python312Packages.pykeepass missing runtime dependency (github tag issue upstream?) #329259
Comments
fixed by #328675 |
For my purposes this is a functional fix (I can use keepmenu). Though in case it's useful to anyone:
|
@jrbp Good find! Do you think we should revert to 4.0.7 until this discrepancy is cleared up upstream? |
Arch Linux also uses that git tag: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pykeepass/-/blob/9c2c86ec510e03ca0e6921f525dee1bb0ea9bb59/PKGBUILD |
Thanks for the cc 👍 |
@dotlambda That's probably the most straightforward thing to do atm. It looks like the v4.0.8 tag actually points to 4.1.0 code, and the 4.1.0 points to a deleted 4.0.8 branch (see libkeepass/pykeepass#398 (comment)). So the options are
|
#331001 will finally update to a version that doesn't use pkg_resources. |
Describe the bug
The installed version crashes with
ModuleNotFoundError: No module named 'pkg_resources'
(e.g. when loaded by keepmenu). The issue of setuptools not being installed as a runtime dependency is actually fixed upstream, however there seems to be is an issue with the v4.1.0 release tag on that repo causing fetchfromgit to not obtain the right version. I opened an issue libkeepass/pykeepass#398 there to let them know. OTOH it does seem that the version currently tagged v4.0.8 may be the one we want for now anyway?Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p "python312.withPackages (ps: [ps.pykeepass])"
python -c "import pykeepass"
Expected behavior
import without errors
Notify maintainers
@dotlambda
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: