Commit Graph

7156 Commits

Author SHA1 Message Date
Allan Lewis ae4a939815 core.pip_install: Quote tokens when logging pip commands
Previously, pip commands were printed as lists of tokens. a82bbb7b amended the
logging to join the tokens with strings. However, this will lead to invalid
commands if any token contains a space or some other special character that
needs to be escaped for standard shells. In order to improve the logging, this
commit shell-quotes each token before joining the results with spaces.
2021-08-09 12:32:38 +01:00
Frost Ming 24a3c12791 Add a news fragment 2021-08-03 11:57:02 +08:00
Frost Ming b8670e188a Merge pull request #4757 from pypa/feature/state-isolate 2021-08-03 11:51:20 +08:00
Frost Ming 904f0a3b86 capture outputs written in subprocesses 2021-08-03 10:41:19 +08:00
Frost Ming 93251ba7fc Fix system_which to return bins inside venv 2021-08-03 10:41:18 +08:00
Frost Ming 443547fee5 show 10 slowest cases 2021-08-03 10:41:17 +08:00
Frost Ming cb869897b1 Don't reload module 2021-08-03 10:41:17 +08:00
Frost Ming 46ea38fcca Isolate environment variables 2021-08-03 10:41:17 +08:00
Frost Ming 4cc5f15b75 fix parameter passing 2021-07-30 13:57:27 +08:00
Frost Ming 9107728a75 Move project into the state object 2021-07-30 13:15:41 +08:00
Frost Ming 0deb9ed54d fix missing argument 2021-07-30 12:35:13 +08:00
Frost Ming 6a221cf732 Don't share project objects but create own 2021-07-30 12:31:43 +08:00
Frost Ming db390d8211 Merge pull request #4754 from pypa/drop-delegator
Switch from delegator to subprocess
2021-07-29 17:50:21 +08:00
Frost Ming c33b4eed9e handle system install 2021-07-29 16:26:33 +08:00
Frost Ming 6ef9344a5f Avoid wait() on processes 2021-07-29 14:42:52 +08:00
Frost Ming 5183ceb5ca add process.py 2021-07-28 19:07:21 +08:00
Frost Ming 9b4eb98529 Remove unused patch files 2021-07-28 17:30:17 +08:00
Frost Ming 51f7417c41 fix system which 2021-07-28 17:19:19 +08:00
Frost Ming 75b2be1c1e Fix sequential installation 2021-07-28 17:04:18 +08:00
Frost Ming 90c77aab95 use absolute imports 2021-07-28 16:50:02 +08:00
Frost Ming a82bbb7b27 Try switching from delegator to subprocess 2021-07-28 16:39:36 +08:00
Frost Ming 0255cc6839 Merge pull request #4752 from pypa/py36-syntax
Update to py36 plus syntax
2021-07-28 13:24:30 +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 1d8f1abaef Merge pull request #4751 from pypa/drop-py2-deps
Delete py2 compat dependencies
2021-07-28 09:36:00 +08:00
Frost Ming dcd47b9b64 Add news entry 2021-07-27 22:00:37 +08:00
Frost Ming 17861457c4 Delete py2 compat dependencies 2021-07-27 21:53:59 +08:00
Frost Ming b0c4030bfc Merge pull request #4747 from pypa:vendoring/update
Update vendors
2021-07-27 18:35:38 +08:00
Frost Ming 9e04f49e05 Update vendor script 2021-07-27 17:46:41 +08:00
Frost Ming dcd06330e4 Update pythonfinder to 1.2.8 2021-07-27 15:11:29 +08:00
Frost Ming e21846953c fix test cases 2021-07-27 12:45:36 +08:00
Frost Ming 20f4721849 add news entry 2021-07-27 11:15:40 +08:00
Frost Ming a5b3cdc3f1 Update environment with latest pipdeptree api 2021-07-27 10:52:53 +08:00
Frost Ming fac3eaeaa7 Revendor packages and update patches 2021-07-27 09:45:57 +08:00
Frost Ming c863ca1a4b Remove unused submodules 2021-07-26 23:35:27 +08:00
Frost Ming 5e8871536c update vendored list 2021-07-26 23:31:26 +08:00
Frost Ming 306731cbe0 Update test cases according to the latest pip 2021-07-26 16:48:55 +08:00
Frost Ming 49ddf78523 add dataclasses 2021-07-26 16:08:12 +08:00
Frost Ming f8baf147a7 add back compatiblility packages 2021-07-26 15:54:38 +08:00
Frost Ming b990f7fe59 Update dependencies 2021-07-26 15:41:19 +08:00
Frost Ming 8c9039d0af Remove passa from vendors 2021-07-26 15:41:19 +08:00
Frost Ming d10502ce9b Merge pull request #4726 from frenzymadness/click8
Fix compatibility with click version 8
2021-07-26 15:07:04 +08:00
Frost Ming 91d4914d9c Merge branch 'master' into click8 2021-07-26 09:03:38 +08:00
Frost Ming b44244ec46 Merge pull request #4728 from eltociear/patch-1
Fix typo in environment.py
2021-07-09 15:40:57 +08:00
Ikko Ashimine 7553061de2 Fix typo in environment.py
enviornment -> environment
2021-06-29 23:07:57 +09:00
Lumir Balhar 6bc08eca4c Fix compatibility with click version 8
In the new version of click, if an option has no type and
a default value is of type bool, the required value is also bool.
2021-06-25 13:02:42 +02:00
danawaze 6e4f4103fb Fix basic usage docs to reflect lock -r behaviour
The pre-existing basic usage documentation says that "pipenv lock -r" would include hashes in requirements.txt, this is not the behaviour i observe - i didn't find any issue around this - i guess it's either a bug or just the documentation is wrong.

Digging through the code it looks reasonably plain that it just does not include hashes in its output - there is no logic or option there:

https://github.com/pypa/pipenv/blob/master/pipenv/core.py#L849
2021-06-08 19:26:17 +01:00
Frost Ming 72835f142c Fix release workflow 2021-05-29 11:05:47 +08:00
Frost Ming 139b8208ef Release v2021.5.29 2021-05-29 10:57:07 +08:00
Frost Ming e7fb099e65 Merge pull request #4688 from NaelsonDouglas/master
Small refactoration removing two avoidable indexer iterator
2021-05-10 08:37:04 +08:00