Skip to content

Add --ignore-requires-python#687

Open
freyes wants to merge 3 commits intojuju:2.8from
freyes:2.8-ignore-requires-python
Open

Add --ignore-requires-python#687
freyes wants to merge 3 commits intojuju:2.8from
freyes:2.8-ignore-requires-python

Conversation

@freyes
Copy link
Collaborator

@freyes freyes commented Oct 3, 2025

his new flag allows to instruct pip to ignore if the Python version is
explicitly supported by the package.

This flag is helpful to build old charms that are using a src/build.lock
where the package doesn't explicitly states support, this was detected
in charm-octavia[0]

[0] https://review.opendev.org/c/openstack/charm-octavia/+/962501/1#message-7dd7c13d1ef1ff20312e63f105c362aa8e9bf5c1

Depends-On: #680

Checklist

  • Are all your commits [logically] grouped and squashed appropriately?
  • Does this patch have code coverage?
  • Does your code pass make test?

@freyes freyes changed the base branch from master to 2.8 October 3, 2025 15:15
@freyes freyes marked this pull request as ready for review October 3, 2025 18:39
@freyes freyes marked this pull request as draft October 3, 2025 22:15
@freyes freyes changed the title 2.8 ignore requires python Add --ignore-requires-python Oct 8, 2025
@freyes freyes marked this pull request as ready for review October 8, 2025 15:50
@freyes freyes closed this Oct 14, 2025
@freyes freyes reopened this Oct 14, 2025
This new flag allows to instruct pip to ignore if the Python version is
explicitly supported by the package.

This flag is helpful to build old charms that are using a src/build.lock
where the package doesn't explicitly states support, this was detected
in charm-octavia[0]

[0] https://review.opendev.org/c/openstack/charm-octavia/+/962501/1#message-7dd7c13d1ef1ff20312e63f105c362aa8e9bf5c1

Resolved Conflicts:
	charmtools/build/builder.py
	charmtools/build/tactics.py

Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
(cherry picked from commit e8b8ea9)
@freyes freyes force-pushed the 2.8-ignore-requires-python branch 5 times, most recently from 8082e5d to bc370b8 Compare October 15, 2025 00:47
@freyes freyes force-pushed the 2.8-ignore-requires-python branch from 7b07919 to d339360 Compare October 24, 2025 03:09
Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
@freyes freyes force-pushed the 2.8-ignore-requires-python branch from d339360 to 6575c1d Compare October 24, 2025 03:27
Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
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