-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Suggest alternatives for --process-dependency-links #6162
Comments
Please look at #4187 (comment). (edit from a future @pradyunsg -- this is a better answer: #5898 (comment)) |
The above issue was linked in the error message, however, I do think now that more explicit communication would have helped the situation. The deprecation messages should've mentioned the release in which the functionality will be removed. I guess the ship has sailed here, but I'll go update pip's deprecation helpers so that something like this doesn't happen in the future. |
…out warning. Sigh. Goddammit pip/Pypa. I get you want to iterate rapidly, but that's literally the worst option for a package manager.
…hout warning*. Sigh. Goddammit pip/Pypa. I get you want to iterate rapidly, but that's literally the worst option for a package manager.
It seems that #5898 has not been addressed yet, so there is no way to replace whole dependency links functionality right now, is it? Of course, there is still an option to keep |
This exploded my CI pipeline yesterday/last night too. Maybe have a meaningful depreciation warning in the future? Last I'd heard, dependency links had been un-depreciated (I don't track issues here when things work), but now passing This sort of thing needs at least 3-6 months of a new warning on installs before it drops. |
After this I ended up running my own DevPI and I store my private packages there, using it as my main index. Aside from fixing the problem and allowing me to remove |
I have a package which references many git repositories as |
@x00x70: If you don't need version specifiers (or you can depend on one specific version of the package), just delete I.e. If you need version specifiers, you are out of luck with pip 19. |
@stinovlas, I was hopeful that your suggestion would solve my problem, but while the tag
The same error when I use |
@jenstroeger: Private repo requires some form of authentication. In your case |
I can confirm the above does work. However, I noticed that changing the git tag in the URL does not install the new version.
Running I've tried using
I'm not sure if it's a problem with @pradyunsg any advice? |
Yea. We need to have a PEP update for allowing version specifiers. If someone wants to spearhead a resolution here, please start a thread on distutils-sig about such a change (#5898 (comment)) and once that is done, a PR would be awesome. I can come to this a bit after we've resolved the PEP 517 situation so someone else picking this up would be great to get things moving quicker. |
@stinovlas, that doesn’t work. The token I use is my developer token, it’s not an SSH public key. So changing from
I could switch to a developer’s public key but I’d prefer to understand why the |
I've started a thread on distutils-sig. Thanks for your advice! I'm not promising the PR just yet, but when the PEP issue is resolved, I'd like to chip in. |
You can read my short summary of the distutils-sig thread at #5898. |
If there are any concerns wrt dependency links being removed in pip 19.0, please raise them in #5898. I'm going to go ahead and close this issue. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Environment
New pip release v19.0 break
--process-dependency-links
flag. That completely sucks because :there was no information in which exact version this flag will be removed. There was a warning like 'Dependency Links processing has been deprecated and will be removed in a future release.' that we can see for a few years without pointing the exact date or version where it will be actually removed.
this feature is still using by a lot of engineers/companies. For example, it broke the whole build pipeline for all our python projects in our company. You just created a headache for thousands of engineers.
there is no clear explanation or tutorial about which alternative we should use instead of this flag
I would suggest to:
Give detailed explanation what should be used instead
--process-dependency-links
flagProvide exact version where you are going to deprecate or remove some functionality. Especially in such a global project such as pip. Good examples are numpy and scikit-learn which mention in which versions they will deprecate some features.
The text was updated successfully, but these errors were encountered: