Commit Graph

309 Commits

Author SHA1 Message Date
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
ankitdobhal 5843f1e57b chore : refactor code quality issues
- Added '.deepsource.toml' file for continuous analysis on bug risk

- Remove `unused` imports

- Remove duplicate dictionary key(s)

- Refactor the comparison involving `not`

- Remove `length check` in favour of truthiness of the object

Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
2021-04-01 08:33:55 -04:00
Frost Ming db5e0c178a ensure the directory exists 2021-01-20 11:55:51 +08:00
Frost Ming 5a799a1230 Update vendoring script for pyyaml 2021-01-20 10:47:30 +08:00
Frost Ming 35a80285d7 Fix the release script 2020-11-13 16:37:59 +08:00
Frost Ming cd6fc80451 Inject vendor library root 2020-11-13 09:16:15 +08:00
Frost Ming 7b731533c1 update patch file 2020-11-12 22:31:04 +08:00
Frost Ming 0a7235b12e Add test case 2020-11-12 22:06:25 +08:00
Frost Ming fac49444a5 Change patch and vendoring scripts 2020-11-12 18:42:13 +08:00
Frost Ming a0344bdf7a Update pinned versions 2020-11-12 17:28:30 +08:00
Frost Ming a94afd2afd Restrict the acceptable hash type to SHA256 only 2020-11-05 09:17:25 +08:00
Frost Ming 2f92245172 Restore the whitespaces 2020-10-28 10:06:37 +08:00
Frost Ming d34feeece4 Fix the file encoding 2020-10-28 10:05:12 +08:00
Frost Ming 7bb6668cdf Update piptools patch 2020-10-28 09:57:49 +08:00
Frost Ming 491fa333b1 fix the hash value 2020-10-27 18:29:51 +08:00
Frost Ming 1249e20a95 Change the KR url 2020-10-27 17:53:57 +08:00
Frost Ming 41b31a4392 revert format change 2020-10-27 17:06:20 +08:00
Frost Ming 52160d1a09 Encode hash value 2020-10-27 16:23:21 +08:00
Frost Ming 4236a71303 Reduce the number of internet requests to get hash 2020-10-27 16:09:56 +08:00
Frost Ming 8a215dd198 remove typing imports 2020-08-27 21:30:14 +08:00
Frost Ming 45d9332cc0 Update dependency tomlkit 2020-08-27 20:35:25 +08:00