-
Notifications
You must be signed in to change notification settings - Fork 311
[MAJOR] Restructuring the repository, and backwards compatibility concerns #61
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
Comments
I've discussed this on other channels (private chats, IRC, etc) with various folks (including @ewdurbin), summarizing those discussions:
|
@ewdurbin How would we handle the transition between "current" and "next-gen"? Should I make a commit that adds the next-gen variants in a public/ folder, and then, wait till we switch the deployment over? In a follow up, I'll likely replace the existing scripts with helpful-error-printing-scripts, which we'll keep around for 2 weeks or so. |
So is the goal to eventually remove:
and replace them with
? If so, yes the initial step would simply be to add the Once that's deployed, you could drop Eventually when you're ready to fully deprecate the top level version directories, we can remove them from the configuration on the server and they can be removed from this repository as well. |
TBH, my goal is to make it so that we don't need to make a PR to psf-salt whenever pip drops support for a Python minor version. I figure that moving the scripts in this repository into a "clean" I'm "meh" on making changes to the server side URLs -- it would need transitioning users though, so if someone wants to do that, we should definitely discuss how we'd go about doing that. :) |
FWIW, I've filed #102 and if @ewdurbin is generally positive for making the change I described above (change the psf-salt to "just use" the
|
@ewdurbin nudge to ask if this is possible by moving this project's psf-salt to using |
I'm all for this approach. The only issue I'm seeing is that the structure of directory "composes" the various projects all together under the root:
Thus there would remain some breakage to URLs to make it work, we could leave the existing 2.6, 2.7,...3.4, 3.5 symlinks, or perhaps implement redirects (that wouldn't be followed by default necessarily)... so new (and existing) versioned would be accessible via https://bootstrap.pypa.io/pip/$VERSION/get-pip.py |
ah, missed your "error out" step, that works too :-D |
See python/psf-salt#202... I think that's all that's needed to get you moving (towards the error out versions) |
Hmm... That'll mean we're transitioning folks from I'm on board, let's do this! :) |
Correct, otherwise we'd have to compose the other projects into pip's public folder. 👎 I prefer what virtualenv has done. It has clearly let them move at their own pace (haven't heard a peep since that was set up), and propose we retain https://bootstrap.pypa.io/get-pip.py at least, similar to virtualenv.pyz |
Yea, let's keep the root get-pip.py; and move everything else to the nicer location. |
OH OH. If you could also update the psf-salt to source bootstrap.pypa.io/get-pip.py from the public/ folder (w/ a symlink?), that'd be perfect! I can just change over the scripts-to-be-removed-here in one go; to the error-out variants. |
OK, that's all going out now. |
Hurray! Thanks @ewdurbin! ^>^ |
Current status of the bootstrap.pypa.io webroot:
|
Nice! |
Oh oh, can we also move from |
sure: python/psf-salt#203 |
If you update the default branch to main, all will now work. |
Awesome! Done! :) |
Following #61 (comment), #104 does the "error out" part. In ~4 weeks, we'd need to (1) make @pypa/pip-committers if you think we should wait longer, holler here! |
This change broke our production deploys (for legacy but still maintained systems that pull down pip on converge). I know you said "We don't have a good mechanism to make more gradual changes here", but … a good mechanism would be helpful. |
If it had already existed, sure. It didn't though, and as I said in the message, we probably won't need to do something like this anytime soon. |
I modified python/psf-salt#202 uses /public/get-pip.py from this repository for /get-pip.py anyway. :) |
We've done 12.
I'mma do this today. :) |
Did you guys drop Python 3.1 in the process? I'm told |
We've never had a get-pip.py for Python 3.1. https://github.com/pypa/get-pip/commits/main/3.1 vs https://github.com/pypa/get-pip/commits/main/3.3 And I don't think we're going to be adding one for a version of Python that went EoL in 2014. |
Thanks for clearing it up! Fair! I'm messing around with very old software. I created #149 in the hope of avoiding such a misunderstanding with other users in the future. |
Coming from pypa/get-virtualenv#1
This is an issue for discussing potential areas of concern when we rework bootstrap.pypa.io's deployment assumptions and, therefore, this repository's layout.
The text was updated successfully, but these errors were encountered: