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

Use Poetry for dependency management and packaging (SVRENG-252) #64

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

asullivan-blze
Copy link
Contributor

What and why?

Alters the package to use Poetry for dependency management and packaging. Reasoning for this includes, but is not limited to, the fact that it is not really advisable to develop in an environment where the make develop incantation makes changes to system or user Python packages, which can quickly lead to dependency conflicts. (I've been hit by this a few times.)

Resolves #63.

How was this tested?

Tested using the various Makefile commands to install into the Poetry venv, build the package, build the podman image, and all worked as expected.

Checklist

  • [n/a] Have you updated the VERSION file (if applicable)?

Alters the package to use Poetry for dependency management and packaging.
Reasoning for this includes, but is not limited to, the fact that it is
not really advisable to develop in an environment where the `make develop`
incantation makes changes to system or user Python packages, which can
quickly lead to dependency conflicts. (I've been hit by this a few times.)

Resolves #63.
@asullivan-blze asullivan-blze added the enhancement New feature or request label Mar 20, 2024
@asullivan-blze asullivan-blze self-assigned this Mar 20, 2024
@asullivan-blze asullivan-blze force-pushed the svreng-252-python-poetry branch 9 times, most recently from b0f3a19 to ceea820 Compare March 21, 2024 00:38
Additionally alters the Makefile to force commands--when applicable--to
run within the Poetry venv via `poetry run`.
Copy link

@dhubka dhubka left a comment

Choose a reason for hiding this comment

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

LGTM

@asullivan-blze asullivan-blze merged commit 7d2aca6 into main Mar 21, 2024
2 checks passed
@asullivan-blze asullivan-blze deleted the svreng-252-python-poetry branch March 21, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Python Poetry for dependency management and packaging (SVRENG-252)
2 participants