Fix update for pre-release version - #693
Conversation
|
Well, thinking more about it, it is probably better for me to parse |
9d3e063 to
6a42c5c
Compare
|
Hi @teluq-pbrideau , we recently merged #696 . can you please rebase? |
6a42c5c to
9a57ccd
Compare
9a57ccd to
ac4d332
Compare
ac4d332 to
e85eae5
Compare
|
I’ve discovered a potential difference when a package have only pre-release version. I’ve tried with the first package i’ve found with this criteria: When package installed with Also, I cannot find a package with pre-release and a previous stable release to test as I did with pip==24.1.b2 |
|
@kenyon just to make sure you understood my previous comment: |
|
@teluq-pbrideau thanks for the clarification. I'm not using this functionality of this module, so this doesn't really affect me, but it seems like it's OK if you have to explicitly do something to enable installation of prereleases, even if I know some tools like |
e85eae5 to
32b7228
Compare
32b7228 to
b61a6d0
Compare
|
@kenyon I rebase with
|
Pull Request (PR) description
Fix the resolution of the latest version from the pip repository, by removing the pre-release version from the list of the latest package available. See #690 for details.
NOTE
With this fix, if the pip package is not a stable release, it will need an explicit
--pre:Another option could be to add a new parameter
pre => true, but I chose to use theinstall_argsin the end for this PR, which is more flexible.This Pull Request (PR) fixes the following issues
Fixes #690