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

chore: use strtobool from craft-application #4875

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Jun 25, 2024

  • 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)

strtobool has been upstreamed to craft-application.

snapcraft_legacy uses distutil.utils.strtobool, which was removed in python 3.12

@mr-cal mr-cal requested a review from a team June 25, 2024 15:45
Copy link
Contributor

@lengau lengau left a comment

Choose a reason for hiding this comment

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

Nice cleanup

snapcraft_legacy/cli/_options.py Outdated Show resolved Hide resolved
@mr-cal mr-cal requested a review from a team June 26, 2024 11:51
@mr-cal mr-cal force-pushed the work/drop-distutils branch from e9fe199 to 0bacf14 Compare June 27, 2024 15:18
@mr-cal mr-cal enabled auto-merge (squash) June 27, 2024 15:19
mr-cal and others added 2 commits June 27, 2024 13:01
snapcraft_legacy uses distutil.utils.strtobool, which was removed in python 3.12

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Co-authored-by: Alex Lowe <alex.lowe@canonical.com>
@mr-cal mr-cal force-pushed the work/drop-distutils branch from 0bacf14 to 4962e56 Compare June 27, 2024 18:01
@mr-cal mr-cal merged commit 676e391 into main Jun 27, 2024
9 of 10 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.

4 participants