Skip to content
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

regenerate lock file #1645

Closed
wants to merge 1 commit into from
Closed

regenerate lock file #1645

wants to merge 1 commit into from

Conversation

meeuw
Copy link
Contributor

@meeuw meeuw commented Feb 13, 2024

As requested in #1630

This is using Fedora Linux with python3-gpg-1.20.0-5.fc39.x86_64 installed, then I executed poetry config virtualenvs.options.system-site-packages true and regenerated my virtualenv (poetry env remove alot-XXXXXXX-py3.12), then ran poetry lock and created this PR.


[package.source]
type = "directory"
url = "../../../../usr/lib64/python3.12/site-packages"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks strange to me. Does it reference the python-gpgme installation from yum?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It references python-gpgme from system site-packages yes. I do agree that ../../../.. it very specific to the directory where alot is installed (/home/user/git/alot in my case)

Do you have a better suggestion?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even worse, it is specific to the python version so this lock file will not work with python 3.11 or 3.13 even if I have gpgme installed with my distribution.

Sadly I have no better idea. We have to investigate how to install the upstream gpgme with poetry otherwise we might have to ditch one of the two.

Copy link
Contributor Author

@meeuw meeuw Feb 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or ditch poetry.lock? With the current pytproject.toml it's impossible to have a sane poetry.lock.

@meeuw meeuw closed this by deleting the head repository Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants