Closed uranusjr closed 6 years ago
For the purpose of pip or pep440 compliance you should never have to enable this. If you explicitly pin a prerelease version then you get that version whether you enable prereleases or not.
Yeah, that is working now, but I’m thinking about something else, e.g. if the user has something like django<2.1b3
it is likely the intention to include prereleases? Maybe? I don’t know, really, so this is more like an open question waiting for someone to think through…
I actually don’t think that’s the case, they’d probably still depend on stable versions. We can find out though
Also I believe pep 440 details the behavior around this and it explicitly states that you shouldn't infer this behavior from a strict pin
I think this is the straightforward thing to do?