Oz N Tiram
3a57dd0f21
Merge branch 'main' into replace-pipfile-with-plette
2022-09-15 15:08:18 +02:00
Matt Davis
4f49739c5f
Fix pep517 import issue.
2022-09-14 08:14:45 -04:00
Oz N Tiram
097e253d1d
Remove patched pipefile and patch
2022-09-12 23:22:46 +02:00
Matt Davis
55d6f5b66d
Merge branch 'main' into issue-5349
2022-09-10 22:09:00 -04:00
Matt Davis
61552ef2bf
Remove pip_shims renames.
2022-09-09 22:06:41 -04:00
Matt Davis
e9f24a9b60
Undo dir rename because it affected the license file location.
2022-09-09 22:03:23 -04:00
Matt Davis
79d1184923
Use importlib to ensure pipenv and ensure pkg_resource is importable.
2022-09-09 21:57:20 -04:00
Oz N Tiram
f910bc3b7c
Ducktape for downloading LICENSE of pipdeptree
...
This package uses hatchling as a build backend and required special
case.
There should be a better way, but for now this works.
2022-09-08 15:26:07 +02:00
Oz N Tiram
6437584792
Try and bumnp pipdeptree
2022-09-08 12:44:59 +02:00
Matt Davis
e4cc8f2550
Vendor in requirementslib==2.0.0 & drop pip-shims & revert sysconfig patch w/ safer setuptools usage ( #5228 )
...
* Vendor in requirementslib 2.0.0
* Drop sysconfig default patch.
* Remove setuptools import usages in pipenv.
* Add news fragment.
2022-08-24 14:09:17 -04:00
Matt Davis
1b6fa94245
Use sysconfig on all supported python versions.
2022-08-19 07:52:08 +02:00
Matt Davis
59bebd6dc9
Revert "Remove yaspin and termcolor"
...
This reverts commit bc56a44f4f .
2022-08-17 02:17:45 -04:00
Matt Davis
e65468639a
Adjust patch file.
2022-08-17 06:50:00 +02:00
Oz N Tiram
bc56a44f4f
Remove yaspin and termcolor
...
Termcolor is a dependency of yaspin. Yaspin isn't used
anywhere in pipenv. There is a patch for it, and there is also
vistir dependency for it, but we have our own spinner.
Side note, we can consider using rich, which pip uses.
2022-08-17 06:47:44 +02:00
Oz N Tiram
3cfdf799fe
Remove vendored cached_property ( #5249 )
...
The class cached_property is available in the Python STL from
version 3.8 onwards. In addition, it is redifend in included libraries
so we can just use it from there.
2022-08-13 23:04:25 -04:00
Oz N Tiram
d791db89a7
Remove vendored pep517, use it from pip._vendor
2022-08-08 14:36:05 +02:00
Oz N Tiram
4d99ce9e3a
Remove unused function - write_backports_imports
2022-08-08 14:36:05 +02:00
Matt Davis
00b3499600
Apply linter.
2022-08-05 10:47:57 -04:00
Matt Davis
f50a12a8c5
add back release vendoring import -- unintentionally removed.
2022-08-05 10:45:02 -04:00
Oz N Tiram
13b023b986
Remove urllib3 from vendor, use pip._vendor
...
See #5174
2022-08-01 15:40:57 +02:00
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