Commit Graph

329 Commits

Author SHA1 Message Date
otherjake 962933d865 Regen patch hash 2022-07-29 15:55:12 +02:00
Matt Davis cd5a9683be Rename notpip to pip. Vendor in pip-22.2.1 and latest requirementslib and vistir. 2022-07-28 11:58:10 +02:00
Oz N Tiram e532fb5328 Remove only insertion of YAML libs to safety 2022-07-27 06:52:30 +02:00
Oz N Tiram 53dc092d38 Revert "Remove patch to safety/__main__.py to handle pyyaml"
This reverts commit 506f102670aad37e059758925483b7b207e86cc3.
2022-07-27 06:52:30 +02:00
Oz N Tiram 931a5b56e8 Restore skeleton for update_safety task
Might work on this later...
2022-07-27 06:52:30 +02:00
Oz N Tiram 92e97ecc21 Remove patch to safety/__main__.py to handle pyyaml
This is really not needed anymore.
k# Your branch is up to date with 'origin/vendoring-improvements'.
2022-07-27 06:52:30 +02:00
Oz N Tiram 1abbab63e0 Remove patch for tomlkit
This seems fixed in version 0.9.1

See here:

https://github.com/sdispater/tomlkit/blob/f8099e6d6cb68bd0e7676252d7c379dc4d49b982/tomlkit/items.py#L168

Bump vendored version of tomlkit
2022-07-27 06:52:30 +02:00
Oz N Tiram ff3ae8f6c8 Remove separate download of pyparsing license
The library includes a copy of MIT license with the source code.
2022-07-27 06:52:30 +02:00
Oz N Tiram 9c3db232e2 Remove vendoring on pyyaml
This was only used by dparse
2022-07-27 06:52:30 +02:00
Oz N Tiram bfdb90a6af Patch dparse locally - remove top level yaml import
We don't use this yaml import (only used for conda file parsing).
Hence, we can remove this.
2022-07-27 06:52:30 +02:00
Oz N Tiram dbe6d45e89 Clean reference to delegator
We no longer vendor this package
2022-07-27 06:52:30 +02:00
Oz N Tiram 01e133d86c Remove funcsigs
We are no longer vendoring this library.
2022-07-27 06:52:30 +02:00
Oz N Tiram a3ae704df8 Remove more backports 2022-07-27 06:52:30 +02:00
Oz N Tiram eef583c03f Remove functools32 backport 2022-07-27 06:52:30 +02:00
Oz N Tiram 8c2ee9b789 Remove Python2 left overs 2022-07-27 06:52:30 +02:00
otherjake cbad7fe47f Remove Crayons per issue 3741, use click echo functions instead 2022-07-19 20:15:17 +02:00
Matt Davis 8a4d2eb130 Vendor in latest requirements lib and pip-shims in order to drop packaging and resolve differences in sourcing it. 2022-07-07 09:21:57 -04:00
Matt Davis cf4adb6146 Add news fragment and fix rewrite import list to include requests. 2022-07-07 06:51:49 -04:00
Matt Davis c69d55f7c8 Vendor in pip 22.1.2 2022-07-06 22:09:37 -04:00
Matt Davis 0ee8234890 Issue 5000 remove requests certifi (#5146)
* Depend on requests and certifi from vendored pip and remove it as explicit vendor dependency.

* Documentation tweak.

* Add a news fragment.

* Update remaining vendor dependencies to point at the pip requests.

* vendoring task needs requests.
2022-06-27 21:13:30 +02:00
Matt Davis f3166e673f check point progress on only bringing in pip==22.0.4 (#4966)
* vendor in pip==22.0.4

* updating vendor packaging version

* update pipdeptree to fix pipenv graph with new version of pip.

* Vendoring of pip-shims 0.7.0

* Vendoring of requirementslib 1.6.3

* Update pip index safety restrictions patch for pip==22.0.4

* Update patches

* exclude pyptoject.toml from black to see if that helps.

* Move this part of the hash collection back to the top (like prior implementation) because it affects the outcome of this test now in pip 22.0.4
2022-04-18 23:48:38 -04:00
Matt Davis 5d845dc6b9 Added pytest-cov and addressed outdated references to pip-tools (#5038)
* Add pytest-cov; Remove code references to pip-tools and refactor method _build_package_list

* Regenerate lock file.

* Add back required typing-extensions, not sure how it got dropped from locking previously.

* Adopt the setup.cfg for coverage config.

* Actually pin to the version of click we have vendored in.

* Do not adopt coverage for CI since it slows everything down.  Fix py36 dependency pinning.

* Drop support for 3.6 in this PR.

* No need to exclude the vendor and patched directory from the coverage reprot.
2022-04-14 08:59:27 +02:00
Matt Davis 9a3b3ce706 Issue 4993 Add standard pre commit hooks and apply linting. (#4994)
* Add .pre-commit-config.yaml to the project and exclude tests (for now).  This does not include the MyPy linting that pip does but does include everything else.
2022-03-29 23:01:50 -04:00
Matt Davis 2140a007eb Add requirementslib patch file. 2022-03-27 19:56:06 -04:00
Matt Davis 0044bfaee7 Fix patch vendoring build. 2022-03-19 07:31:25 -04:00
Matt Davis f6e5be2015 refactor type hints and add a patch for this change against the pip 21 version off main. 2022-03-19 06:43:53 -04:00
Frost Ming 33cbabe20c fix pip location 2021-12-23 15:20:11 +08:00
Frost Ming 6e3fadc5a7 Fix imports in pip_shims 2021-11-12 10:31:19 +08:00
Frost Ming 66e9fbed5f Fix the vendoring imports 2021-11-12 09:34:05 +08:00
Frost Ming 2d2a0fa15c rewrite imports 2021-11-11 23:33:10 +08:00
Frost Ming 4d1df958fa fix certifi path 2021-11-09 10:30:48 +08:00
Frost Ming ff32a68771 Remove some usages of vistir.compat 2021-11-08 23:49:40 +08:00
Frost Ming 4b14b63d00 fix #4829: fix the import of pip_shims 2021-11-05 23:15:22 +08:00
Frost Ming 2da61b03e8 Release v2021.11.5 2021-11-05 18:32:08 +08:00
Frost Ming 8c00961bfe fix yaml installation 2021-11-05 17:13:42 +08:00
Frost Ming 10554c1c7d Fix pip shims import 2021-11-04 17:36:23 +08:00
Frost Ming a3ad42afa7 Update deps pip-shims and requirementslib 2021-11-04 16:06:59 +08:00
Frost Ming 6647954202 fix wrong pin for url requirements 2021-11-04 16:06:59 +08:00
Frost Ming 750cf98d28 Fix vendored pip issue 2021-11-04 16:06:56 +08:00
Frost Ming 859776e263 Switch the resolver to pip internal 2021-11-04 16:06:17 +08:00
Frost Ming 866a56d2e3 Apply patches for notpip 2021-11-04 16:05:26 +08:00
Frost Ming 9b4eb98529 Remove unused patch files 2021-07-28 17:30:17 +08:00
Frost Ming 74ba8fc6b1 Remove yaml2 lib 2021-07-28 11:23:20 +08:00
Frost Ming ca5d931f1f Update to py36 plus syntax 2021-07-28 10:59:00 +08:00
Frost Ming 17861457c4 Delete py2 compat dependencies 2021-07-27 21:53:59 +08:00
Frost Ming 9e04f49e05 Update vendor script 2021-07-27 17:46:41 +08:00
Frost Ming e21846953c fix test cases 2021-07-27 12:45:36 +08:00
Frost Ming fac3eaeaa7 Revendor packages and update patches 2021-07-27 09:45:57 +08:00
Frost Ming 5e8871536c update vendored list 2021-07-26 23:31:26 +08:00
Frost Ming 8c9039d0af Remove passa from vendors 2021-07-26 15:41:19 +08:00