You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that fetchcode's vcs might not work on this branch.
Initially pip was commited without it's history and with few changes
applied. This update approaches this differently- by commiting pip code
in a single commit & applying changes on top of it in separate commits.
While much of pip's code will be stripped from this repository,
the goal of this is to make it easier to take changes from upstream,
even after the code will be modified.
While git-subtree could be used it brings it's own set of issues.
Update should make it easier to track potentially replicated issues from
pip when taking their vcs pkg.
It also made cleaning up easier, due to some maintenance activities done
in pip:
- dropping Python 2 & 3.5 support
pypa/pip#9189
- modernized code after above - partially done, tracked in:
pypa/pip#8802
- added py3.9 support
- updated vendored libraries (e.g. fixing CVE-2021-28363)
multiple PRs
pip._internal.vcs (and related code) changes between
20.1.1 and 21.2.4
- Fetch resources that are missing locally:
pypa/pip#8817
- Improve SVN version parser (Windows)
pypa/pip#8665
- Always close stderr after subprocess completion:
pypa/pip#9156
- Remove vcs export feature:
pypa/pip#9713
- Remove support for git+ssh@ scheme in favour of git+ssh://
pypa/pip#9436
- Security fix in git tags parsing (CVE-2021-3572):
pypa/pip#9827
- Reimplement Git version parsing:
pypa/pip#10117
In next commits, most of pip's internals will be removed from fetchcode,
leaving only vcs module with supporting code (like utils functions,
tests (which will be submitted alongside this change))
This will allow for changes such as ability to add return codes
(probably via futures) from long running downloads and other features.
Switching to having own vcs module might also be a good call due to
pip._internal.vcs integration with pip's cli in vcs module (some
pip code has been commented out in commit mentioned below)
While generally copy-pasting code (rather than using
submodules/subtrees etc) makes it harder to track, my git-foo is not great
enough for me to attempt regrafting subset of pips history that is of
note from fetchcode perspective.
It has been agreed with @pombredanne & @TG1999 that history from pip
will be regrafted on fetchcode by @pombredanne (thanks!). It will be done
only for the files that are of concern for fetchcode to limit noise in
git history.
The code submitted in scope of this commit is work of many pip's authors
that can bee seen here:
https://github.com/pypa/pip/blob/21.2.4/AUTHORS.txt
Pip is licensed under MIT (https://pypi.org/project/pip/)
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
0 commit comments