Skip to content

Comments

fix: --download option#2262

Merged
gaborbernat merged 1 commit intopypa:mainfrom
mayeut:fix-download
Dec 31, 2021
Merged

fix: --download option#2262
gaborbernat merged 1 commit intopypa:mainfrom
mayeut:fix-download

Conversation

@mayeut
Copy link
Member

@mayeut mayeut commented Dec 30, 2021

Fixes #2120

Without those changes, downloads were only attempted for pinned versions.
When the --download option is used:

  • Always trigger a download when using bundle, don't even look at what is embedded / updated wheels.
  • Never trigger a download when using embed, only use the embedded version.
  • When a pinned version is used, start by looking if it matches embedded / updated wheels and fallback to to trigger a download if not found.

Thanks for contributing, make sure you address all the checklists (for details on how see

development documentation)!

  • ran the linter to address style issues (tox -e fix_lint)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

@gaborbernat gaborbernat merged commit 61c065b into pypa:main Dec 31, 2021
@mayeut mayeut deleted the fix-download branch December 31, 2021 09:07
@gaborbernat
Copy link
Contributor

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.

--download flag doesn't work

2 participants