Skip to content

fix: Release 0.8.1; find compatible versions fixes; remove pip vendored imports; #23

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

Merged
merged 5 commits into from
Mar 14, 2025

Conversation

n-dusan
Copy link
Contributor

@n-dusan n-dusan commented Mar 14, 2025

  • Fix get_compatible_upgrade_versions sort order by using key=Version.
  • Remove from pip._vendor prefix from imports, as they are generally discouraged.

n-dusan added 4 commits March 14, 2025 16:27
Previous sort did not work reliably, since sort was not using the packaging.Version semver sort key.
- Pip vendored imports are generally discouraged, mainly because their behaviour
varies from currently installed pip version. A much more correct solution is
to install the vendored packages.
- To resolve, add packaging>=24.1 as a dependency and fix imports
These test relied on older versions of setuptools,pip and wheel dependencies
@n-dusan n-dusan requested a review from sale3 March 14, 2025 16:58
@n-dusan n-dusan self-assigned this Mar 14, 2025
@n-dusan n-dusan merged commit 0e61400 into main Mar 14, 2025
24 checks passed
@n-dusan n-dusan deleted the ndusan/fix-find-compatible-versions branch March 14, 2025 17:18
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