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

feat: add Snapcraft-specific Poetry plugin #5090

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

tigarmo
Copy link
Contributor

@tigarmo tigarmo commented Oct 3, 2024

The plugin has the same behavior and restrictions as the Python plugin with regards to base-dependent behavior, symlink handling, etc.

Therefore, this common behavior is extracted into a new "python_common" module, used by both plugins. This approach is also taken for the reference docs - the requirement of staging a Python interpreter (or not) is the same for both plugins.

Enabled for core22 and core24.

Fixes #5025

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox run -m lint?
  • Have you successfully run tox run -e test-py310? (supported versions: py39, py310, py311, py312)

@tigarmo tigarmo force-pushed the work/CRAFT-3363-snapcraft-poetry branch from 6d056a6 to afdcbce Compare October 3, 2024 19:43
The plugin has the same behavior and restrictions as the Python plugin with
regards to base-dependent behavior, symlink handling, etc.

Therefore, this common behavior is extracted into a new "python_common" module,
used by both plugins. This approach is also taken for the reference docs - the
requirement of staging a Python interpreter (or not) is the same for both
plugins.

Enabled for core22 and core24.

Fixes #5025
@tigarmo tigarmo force-pushed the work/CRAFT-3363-snapcraft-poetry branch from afdcbce to 8eb88cb Compare October 3, 2024 21:05
@tigarmo tigarmo marked this pull request as ready for review October 3, 2024 21:28
@tigarmo tigarmo requested review from lengau and mr-cal October 3, 2024 21:28
Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@tigarmo tigarmo merged commit 5a42f0a into main Oct 4, 2024
13 checks passed
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.

Enable the poetry plugin
3 participants