1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

1395 commits

Author SHA1 Message Date
Devesh Kumar Singh
ac624f1e4f Reword news entry 2020-07-06 13:42:09 +05:30
Devesh Kumar Singh
782913725f Canonicalize req name while doing pre-install package search 2020-07-06 13:32:09 +05:30
Stéphane Bidoul
c2350444e1
Merge pull request #8322 from deveshks/mypy-internal-ops
Complete type annotations in "pip._internal.operations.{check,freeze}" and "pip._internal.utils.subprocess"
2020-07-05 16:51:16 +02:00
512221e1c1 Make utils.parallel tests tear down properly 2020-07-04 15:07:38 +07:00
Pradyun Gedam
0acdbf8943
Merge pull request #8504 from McSinyx/list-speed-up-nw
Parallelize pip list --outdated and --uptodate
2020-07-04 03:31:26 +05:30
Devesh Kumar Singh
126d1de990 Add news entry 2020-07-03 12:27:13 +05:30
Christopher Hunt
4645ecbdb0
Merge pull request #8447 from jku/use-valid-signals-on-py38
test server: Don't mask invalid signals on py38
2020-07-02 12:03:11 -04:00
Xavier Fernandez
09f9b0030d
Merge pull request #8096 from deveshks/list-config-files
Add option to list config files with pip config
2020-07-02 15:01:35 +02:00
Pradyun Gedam
e774eccf46
Merge pull request #8343 from uranusjr/entrypoint-unicode 2020-06-30 14:33:24 +00:00
Pradyun Gedam
0b23b772d5
Merge pull request #8411 from McSinyx/refactor-prepare-linked-req 2020-06-30 13:41:11 +00:00
Pradyun Gedam
18431be48f
Merge pull request #8467 from McSinyx/lazy-wheel 2020-06-30 13:39:04 +00:00
Pradyun Gedam
93b0683d65
Merge pull request #8470 from deveshks/remove-always-unzip 2020-06-30 13:33:30 +00:00
da9c7c7f69 Lint src/pip/_vendor/README.rst 2020-06-30 13:20:32 +07:00
Pradyun Gedam
17608c43d1
Merge pull request #8465 from deveshks/collector-debug-to-warn 2020-06-29 18:28:10 +00:00
Pradyun Gedam
9e7087645a
Merge pull request #8332 from McSinyx/vendor-license-compat 2020-06-29 18:27:25 +00:00
dd3a3b5eb7 Parallelize network operations in pip list 2020-06-29 15:48:41 +07:00
Pradyun Gedam
3a22663ab2
Merge pull request #8320 from McSinyx/pools 2020-06-29 07:54:14 +00:00
Devesh Kumar Singh
8d7af2da8d Add news entry 2020-06-28 16:23:07 +05:30
Devesh Kumar Singh
2fcad8ffa7 Rename subcommand from list-files to debug 2020-06-28 16:22:00 +05:30
Devesh Kumar Singh
7a8f374c39 Add option to list config files with pip config 2020-06-28 16:22:00 +05:30
Stéphane Bidoul
69a811cec6
Merge pull request #8337 from deveshks/mypy/pip/internal
Complete type annotations in "pip._internal.wheel_builder"
2020-06-27 10:55:59 +02:00
Devesh Kumar Singh
504759bfe5 Add removal news entry 2020-06-27 01:07:34 +05:30
3eb85a0619 Draft lazy zip over HTTP 2020-06-26 15:15:28 +07:00
Devesh Kumar Singh
6119a837ea Add unit tests for --no-input flag 2020-06-26 07:21:45 +05:30
Devesh Kumar Singh
eeea4669e4 Add news entry 2020-06-25 20:52:33 +05:30
cef064dc4b Require vendored libraries to be MIT-compatibly licensed 2020-06-25 22:01:48 +07:00
134ae32a16 Add utilities for paralleliztion 2020-06-25 21:10:49 +07:00
Pradyun Gedam
fb68794188
Merge pull request #8026 from sbidoul/requested-sbi 2020-06-24 18:24:30 +05:30
Stéphane Bidoul
acab2ee54e Deprecate --build-dir 2020-06-21 19:05:55 +02:00
6bb0d289f8 Move link log from prepare_linked_requirement 2020-06-17 23:03:08 +07:00
Jussi Kukkonen
dd42e7ec25 test server: Don't mask invalid signals on py38
This removes warnings from test output in python 3.8:

  /usr/lib/python3.8/signal.py:60: RuntimeWarning:
  invalid signal number 32, please use valid_signals()
2020-06-16 17:58:44 +03:00
Paul Moore
b321967ab9
Merge pull request #8376 from deveshks/fix-config-example
Fixed example for defining multiple values for supported options
2020-06-16 10:59:21 +01:00
Devesh Kumar Singh
606b49a881 Add news entry 2020-06-11 15:00:31 +05:30
Tzu-ping Chung
216328ce10 News 2020-06-10 20:58:20 +08:00
Stéphane Bidoul
a4933e4cc6
Merge pull request #8405 from deveshks/flake8-bugbear-src
Fix "src/pip" to respect flake8-bugbear
2020-06-10 08:32:13 +02:00
Stéphane Bidoul
cc48c07b64
Merge pull request #8364 from rkm/mailing-list-updates
replace links to pypa-dev mailing list
2020-06-09 23:00:27 +02:00
Stéphane Bidoul
0b0a4a5cb5
Merge pull request #8389 from ssurbhi560/add_helper_methods_to_install_user_and_new_resolver_user
Add methods for path lookups in test_install_user.py and test_new_resolver_user.py
2020-06-09 22:24:39 +02:00
Stéphane Bidoul
ca439016e5
Merge pull request #8370 from ssurbhi560/add_method_to_new_resolver_and_download
Add methods for path lookups in test_download.py and test_new_resolver.py
2020-06-09 22:23:02 +02:00
Stéphane Bidoul
7abc3038f2
Merge pull request #8379 from gutsytechster/add_helper_test_to_uninstall_user_and_force_reinstall
Add helper methods for path lookups to test_install_force_reinstall.py and test_uninstall_user.py
2020-06-09 22:21:20 +02:00
Stéphane Bidoul
2946038f25
Merge pull request #8366 from gutsytechster/add_helper_method_to_uninstall_and_wheel
Add helper methods for path lookups to test_{uninstall, wheel}.py
2020-06-09 22:20:26 +02:00
Stéphane Bidoul
63cc26792d
Merge pull request #8357 from ssurbhi560/add_helper_methods
Add methods for path lookups in test_install.py and test_install_compat.py
2020-06-09 22:14:30 +02:00
Stéphane Bidoul
774432e52a
Merge pull request #8345 from gutsytechster/add_helper_methods_to_vcs_git_and_wheel
Add methods for path lookups in test_install_{vcs_git, wheel}.py
2020-06-09 22:09:49 +02:00
Stéphane Bidoul
5e69b8c270
Merge pull request #8326 from ssurbhi560/use_methods_in_tests
Add methods for path lookups in test_install_{extras, index}.py
2020-06-09 22:06:13 +02:00
Stéphane Bidoul
e349e4269a
Merge pull request #8324 from gutsytechster/update_helper_test
Add methods for path lookups in test_install_{reqs, upgrade}.py
2020-06-09 22:03:24 +02:00
Devesh Kumar Singh
9315582774 Add news entry 2020-06-10 00:36:03 +05:30
Pradyun Gedam
19e739c346
Merge pull request #7908 from NoahGorny/extract-supported-req-file-option-docs
Extract supported req file option docs
2020-06-06 15:30:29 +05:30
Stéphane Bidoul
3599d7b971
Merge pull request #8403 from deveshks/remove-cached-property
Remove unused "pip._internal.utils.misc.cached_property"
2020-06-06 10:10:22 +02:00
Stéphane Bidoul
3c6a25c638
Merge pull request #8398 from deveshks/add-flake8-bugbear
Add flake8-bugbear plugin to pre-commit and fix "tests" accordingly
2020-06-05 20:18:23 +02:00
Devesh Kumar Singh
cc2dc7ad6f Add news entry 2020-06-05 22:18:17 +05:30
Devesh Kumar Singh
d2730ba2db Add news entry 2020-06-05 15:08:40 +05:30
Devesh Kumar Singh
b0f67fd8a4 Add news entry 2020-06-05 02:41:45 +05:30
Pradyun Gedam
7a60395dbd
Merge pull request #8391 from VikramJayanthi17/error-swallow-fix
Re-think error swallowing for de-vendored packages #5354
2020-06-05 00:08:46 +05:30
Stéphane Bidoul
ebd331fb45
Merge pull request #8375 from deveshks/use-bitwise-and
Update mechanism to set permissions for files with execute permissions while extracting sdists.
2020-06-03 22:17:37 +02:00
Greg Ward
dd3672fe34 Fix grammar in Python 2 warning message 2020-06-03 22:00:32 +02:00
Surbhi Sharma
937bea1027 Add a news file 2020-06-03 12:46:29 +05:30
Vikram - Google
2244868237 Added .trivial file in news dir 2020-06-02 16:49:28 -07:00
gutsytechster
c2a27555da docs(news): Add a news file 2020-06-02 17:40:20 +05:30
Devesh Kumar Singh
20a933d8f7 Add news entry 2020-06-02 15:23:08 +05:30
Devesh Kumar Singh
ef483f5499 Add news entry 2020-06-02 14:19:18 +05:30
Noah
4c8b175649 news: Update news/7908.doc
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-01 21:56:59 +03:00
Noah Gorny
a80d5426ca docs: Reqfile options are now generated automatically 2020-06-01 21:56:59 +03:00
Pradyun Gedam
549a9d11a1
Merge pull request #8148 from NoahGorny/improve-dev-docs
docs: getting-started: Improve running pip from source tree section
2020-05-31 23:10:34 +05:30
Stéphane Bidoul
69a4cb3eed
Merge pull request #8296 from deveshks/mypy-pip-internal
Complete type annotations in "pip._internal.{build_env,self_outdated_check,exceptions}"
2020-05-31 18:46:31 +02:00
Stéphane Bidoul
21bf4f51f8
Uniform use of user supplied vocabulary 2020-05-31 18:33:51 +02:00
Stéphane Bidoul
c9a445762c
Mark top level requirements as REQUESTED 2020-05-31 18:33:51 +02:00
Surbhi Sharma
fe761c5f4f Use helper methods in test_download and test_new_resolver 2020-05-31 18:55:43 +05:30
gutsytechster
c51c5a74cf docs(news): Add news file entry 2020-05-30 23:45:28 +05:30
Ruairidh MacLeod
869149d204 replace links to pypa-dev mailing list 2020-05-30 11:47:01 +00:00
Pradyun Gedam
d01bfcfaa1
Merge pull request #8278 from tiran/py3_celementtree 2020-05-30 17:07:10 +05:30
Stéphane Bidoul
7ed5e12ae8
Merge pull request #8336 from deveshks/remove-isinstance-fixme
Remove isinstance FIXME from pip._internal.commands
2020-05-30 10:34:56 +02:00
Surbhi Sharma
381a826760 use methods for path lookups in files:{test_install, test_install_compat} 2020-05-29 13:42:13 +05:30
Noah Gorny
c38f962cfc docs: getting-started: Improve "running pip from source tree" section
Also add news entry
2020-05-29 10:24:45 +03:00
Paul Moore
0521e11227
Merge pull request #8352 from brainwane/mailinglist-update
Update mailing list link in documentation
2020-05-29 08:19:41 +01:00
Sumana Harihareswara
cef69fef7f Updated author email in configuration and tests
Per https://groups.google.com/d/msg/pypa-dev/rUNsfIbruHM/LCEx-CB5AgAJ
the pypa-dev Google Group is now decommissioned.
Using distutils-sig instead as author/maintainer email.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-05-28 16:51:02 -04:00
Sumana Harihareswara
3f76479c60 Update mailing list link in documentation
Per https://groups.google.com/d/msg/pypa-dev/rUNsfIbruHM/LCEx-CB5AgAJ
the pypa-dev Google Group is now decommissioned.
Pointing to distutils-sig instead.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-05-28 16:31:47 -04:00
Devesh Kumar Singh
b0e3c57210 Add news entry 2020-05-28 22:31:00 +05:30
gutsytechster
fa280b9370 tests(test_install_{vcs_git, wheel}.py): Refactor path lookups 2020-05-28 15:48:16 +05:30
Surbhi Sharma
57a0815dd8 use methods for path lookups in files: test_install_{extras, index} 2020-05-27 00:47:00 +05:30
gutsytechster
1ef34692d6 news(*): Add trivial news file entry 2020-05-26 20:21:28 +05:30
Pradyun Gedam
f84f91af27
Merge pull request #7969 from deveshks/fix-svn-version-check 2020-05-23 21:47:38 +05:30
Devesh Kumar Singh
99660b8d86 Fix pip cache docstring to render correctly in docs 2020-05-23 19:27:32 +05:30
Devesh Kumar Singh
5c615aa775 Update news entry 2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
1471897b84 Improve check for svn version string 2020-05-23 19:13:13 +05:30
Pradyun Gedam
642fb07337
Merge pull request #8062 from cjc7373/issue_7625 2020-05-23 18:25:53 +05:30
Pradyun Gedam
c3203aa282
Merge pull request #8292 from deveshks/add-mypy-req-constructors 2020-05-23 17:13:17 +05:30
Pradyun Gedam
94cb8f582c
Merge pull request #8277 from deveshks/types-auth-encoding-unpacking 2020-05-23 17:13:03 +05:30
Pradyun Gedam
2876bf7554
Merge pull request #8141 from deveshks/remove-unused-install-cleanup-tests 2020-05-23 17:12:25 +05:30
Pradyun Gedam
d5265e24b7
Merge pull request #8083 from deveshks/warn-on-unexpected-content-type 2020-05-23 17:12:08 +05:30
Pradyun Gedam
75b2800dec
Merge pull request #8073 from deveshks/pip-config-docstring-fix 2020-05-23 17:11:46 +05:30
Pradyun Gedam
403310e9b5
Merge pull request #7996 from deveshks/add-prefer-binary-to-req-file 2020-05-23 17:11:36 +05:30
Pradyun Gedam
7e71ddb229
Merge pull request #8112 from deveshks/remove-appveyor-refs-from-doc 2020-05-23 17:05:26 +05:30
gutsytechster
58fb2ec0fc docs(news): Add news file entry 2020-05-23 14:50:57 +05:30
Stéphane Bidoul
db75ac5587
Merge pull request #8265 from deveshks/add-mypy-download-freeze-search
Complete type annotations in "pip._internal.commands.{freeze,download,search}"
2020-05-23 10:43:07 +02:00
Devesh Kumar Singh
7e4280ad95 Add news file 2020-05-22 15:47:01 +05:30
cjc7373
a9c8dc5468 fix normalize path for Windows 2020-05-22 17:29:51 +08:00
Devesh Kumar Singh
8b5e1583f8 Add news file 2020-05-22 02:01:43 +05:30
Pradyun Gedam
b7f4f4a992
Update and rename 8278.bugfix to 8278.vendor 2020-05-22 00:41:00 +05:30
Devesh Kumar Singh
197bbceed1 Add news file and convert TransformedHit type to TypedDict 2020-05-21 23:54:18 +05:30
Paul Moore
ace69ac088
Merge pull request #8258 from cjc7373/update-pytest
Update pytest
2020-05-21 15:36:56 +01:00
Devesh Kumar Singh
b4d8523b1f Remove tests_install_cleanup tests using static build dir 2020-05-21 19:38:47 +05:30
Devesh Kumar Singh
ebf27ee61a Add quotes around option in News 2020-05-21 19:37:45 +05:30
Devesh Kumar Singh
0d48186d1b Allow --prefer-binary option in requirements file 2020-05-21 19:37:45 +05:30
Devesh Kumar Singh
1bc7f535ca Warn if package index gets unexpected Content-Type 2020-05-21 19:37:03 +05:30
Paul Moore
80c640b5a8
Merge pull request #8067 from deveshks/fix-create-basic-wheel-bug
Canonicalise package name in tests.lib.create_basic_wheel_for_package
2020-05-21 13:54:01 +01:00
Paul Moore
96225c9124 Bump for release 2020-05-21 09:33:43 +01:00
Christian Heimes
4333333d13 news entry 2020-05-21 00:26:30 +02:00
Devesh Kumar Singh
ea7a7d26fc Add NEWS file 2020-05-20 23:13:43 +05:30
Stéphane Bidoul
803a6f2017
Merge pull request #8271 from deveshks/add-mypy-cache-xmlrpc-form_contr
Add mypy type annotations to cache, xmlrpc in network and format_control in models module
2020-05-20 10:19:30 +02:00
Devesh Kumar Singh
2fe5d84d68 Add news file 2020-05-19 22:23:37 +05:30
Tzu-ping Chung
43b237051e News 2020-05-19 16:03:51 +08:00
Pradyun Gedam
e7dd02c723
Merge pull request #8027 from gutsytechster/pip/7998 2020-05-19 12:14:59 +05:30
Devesh Kumar Singh
60f00b837a Upgrade flake8 to 3.8.1
Co-Authored-By: Anthony Sottile <asottile@umich.edu>
2020-05-18 21:58:26 +05:30
Pradyun Gedam
d0ab9bd8bd
Merge pull request #8235 from deveshks/remove-pretty-arg-from-mypy 2020-05-18 19:40:22 +05:30
cjc7373
1150f0d2bf add news file 2020-05-18 18:34:57 +08:00
Pradyun Gedam
301f65fad8
Merge pull request #8016 from deveshks/add-mypy-annotations-commands 2020-05-17 23:14:46 +05:30
Pradyun Gedam
04f63ca377
Merge pull request #8018 from deveshks/add-mypy-annotations-hash-show-wheel 2020-05-17 23:13:23 +05:30
29940371cc Fix typo and simplify ireq call 2020-05-16 12:04:17 +07:00
gutsytechster
2276f9528c fix(network/auth): Asks for password when it is None
When `get_keyring_auth` provides the password as None, the
user should be prompt to ask password.
2020-05-15 19:41:43 +05:30
Pradyun Gedam
7e44950e72
Merge pull request #8051 from deveshks/add-mypy-annotations-comp-dbg 2020-05-15 18:45:42 +05:30
Pradyun Gedam
1dbcd12236
Merge pull request #8221 from pradyunsg/revert-in-place-builds 2020-05-14 16:23:03 +05:30
Devesh Kumar Singh
feaa76a1d6 Update mypy to v0.770 2020-05-14 10:39:31 +05:30
Devesh Kumar Singh
89f248c7bf Removing type ignore comments from cli.progress_bars 2020-05-13 15:21:15 +05:30
Pradyun Gedam
6ed32347af
📰 2020-05-13 02:50:10 +05:30
Nicole Harris
ab509f4fe0 Add news 2020-05-11 09:55:50 +01:00
Pradyun Gedam
d812fc2327
📰 2020-05-07 21:58:05 +05:30
Pradyun Gedam
b0a3881828
Merge pull request #8143 from McSinyx/mypy-auto-pre 2020-05-07 18:49:48 +05:30
Pradyun Gedam
c74128c424
Merge pull request #8180 from sbidoul/wheel-absent-warning-sbi 2020-05-05 16:08:54 +05:30
Paul Moore
1599cc2a36 Merge branch 'master' into nr_upgrade_strategy 2020-05-03 11:01:27 +01:00
Stéphane Bidoul
55d6022989
Update news/8178.bugfix
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-05-01 21:36:02 +02:00
Stéphane Bidoul
430ca847f3
Add news 2020-05-01 09:57:16 +02:00
Devesh Kumar Singh
8fc6f35620 Fix NEWS wording 2020-04-29 11:48:17 +05:30
Devesh Kumar Singh
2423d58ea5 Fix generated file mode to use bitwise AND 2020-04-29 10:05:29 +05:30
Pradyun Gedam
5ce941ca5b
Bump for release 2020-04-28 21:02:03 +05:30
Pradyun Gedam
22bd8add95
Merge pull request #8095 from hugovk/pip-cache-dir2 2020-04-28 00:57:10 +05:30
Pradyun Gedam
c4c2870eb4
Merge pull request #8144 from uranusjr/wheel-install-permissions 2020-04-27 22:07:14 +05:30
Pradyun Gedam
45f762eb7b
Merge pull request #7780 from AndydeCleyre/bugfix/7728 2020-04-27 12:51:54 +05:30
Tzu-ping Chung
a24fbd915e
Wording on news fragment
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-27 15:00:11 +08:00
ff869e0c15 Make mypy happy with beta release automation
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-26 22:33:19 +07:00
Tzu-ping Chung
8e65f531b2 News 2020-04-26 18:18:28 +08:00
Paul Moore
d605530b44 Implement upgrade strategies for the new resolver 2020-04-24 11:08:06 +01:00
Noah Gorny
e212f66575 commands: cache: Abort early if cache is disabled 2020-04-24 12:57:13 +03:00
Pradyun Gedam
daff81124a
Merge pull request #8087 from pradyunsg/document-python-2-drop-date 2020-04-23 00:43:26 +05:30
Devesh Kumar Singh
e84699fe0e Remove appveyor CI references from docs 2020-04-23 00:33:28 +05:30
Pradyun Gedam
c244314318
Merge pull request #8106 from brainwane/resolver-testing-documentation 2020-04-23 00:29:50 +05:30
Pradyun Gedam
f4d3cbce4c
Merge pull request #8107 from brainwane/polish-contributor-docs 2020-04-23 00:22:18 +05:30
Stefano Rivera
7fb9a9dbc5 Mark certifi as bundled, it's used in the debug command 2020-04-21 09:07:50 -07:00
Sumana Harihareswara
2cdde76954 Slightly polish contributor documentation
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-04-21 11:20:42 -04:00
Sumana Harihareswara
b56de93bc9 Add resolver testing doc link
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-04-21 11:07:21 -04:00
Pradyun Gedam
1626bb917b
Bump for release 2020-04-21 00:31:45 +05:30
Pradyun Gedam
7722cf0556
Merge pull request #8098 from pradyunsg/remove/skip-requirements-regex 2020-04-21 00:28:59 +05:30
Pradyun Gedam
03d3ae01ac
Merge pull request #8088 from pradyunsg/new-resolver-release-notes 2020-04-21 00:16:17 +05:30
Pradyun Gedam
9994a4d9f5
📰 2020-04-20 22:37:25 +05:30
Hugo
cebac6aa6c Add 'pip cache dir' command to show the path to pip's cache directory 2020-04-20 11:48:36 +03:00
Pradyun Gedam
a531a15376
Merge pull request #8093 from pradyunsg/better-docs-for-in-place-builds 2020-04-20 03:27:44 +05:30
Pradyun Gedam
756b02f712
Improve documentation for in-place builds 2020-04-20 02:23:22 +05:30
Pradyun Gedam
ab7be3211b
Reword 7731.bugfix 2020-04-20 02:16:28 +05:30
Pradyun Gedam
510be6a29d
Reword 7430.bugfix 2020-04-20 02:11:13 +05:30
Pradyun Gedam
7470b7a334
Reword 7729.feature 2020-04-20 02:11:13 +05:30
Pradyun Gedam
406473db2a
Add backticks to 7249.feature 2020-04-20 02:11:13 +05:30
Pradyun Gedam
95edc13a48
Reword toml.vendor 2020-04-20 02:11:13 +05:30
Pradyun Gedam
7cb733545b
Reword pytoml.vendor 2020-04-20 02:11:12 +05:30
Pradyun Gedam
e8eb80802f
Fix wording in 7962.bugfix 2020-04-20 02:11:12 +05:30
Pradyun Gedam
01d12700f1
Reword 8013.bugfix 2020-04-20 02:11:12 +05:30
Pradyun Gedam
45094a6c32
Reword 7856.bugfix 2020-04-20 02:11:12 +05:30
Pradyun Gedam
a5d23523b6
Remove 8075.feature 2020-04-20 02:11:12 +05:30
Pradyun Gedam
9c45fd43ca
Remove 7826.feature 2020-04-20 02:11:12 +05:30
Pradyun Gedam
5483e6da9e
Add NEWS entry for the alpha resolver 2020-04-20 00:27:17 +05:30
Pradyun Gedam
a75f2fa31d
Document pip 21.0 as end of Python 2 support 2020-04-19 23:42:39 +05:30
Tzu-ping Chung
b69f70e725 News 2020-04-18 23:10:55 +08:00
Devesh Kumar Singh
18fd161c44 Fix pip config docstring to render correctly in docs 2020-04-18 01:03:19 +05:30
Devesh Kumar Singh
7bcccbd3dc Canonicalise package name in tests.lib.create_basic_wheel_for_package 2020-04-17 01:21:51 +05:30
Pradyun Gedam
5bea530899
Change certifi version to 2020.04.05.1 2020-04-15 23:27:30 +05:30
Pradyun Gedam
101332f70f
Upgrade urllib3 to 1.25.8 2020-04-15 21:35:58 +05:30
Pradyun Gedam
812f2a9f5b
Upgrade idna to 2.9 2020-04-15 21:35:58 +05:30
Pradyun Gedam
05aae8f888
Upgrade certifi to 2020.4.5.1 2020-04-15 21:35:57 +05:30
Pradyun Gedam
e94f93530f
Upgrade requests to 2.23.0 2020-04-15 21:35:55 +05:30
Pradyun Gedam
d2439f7d99
Upgrade pyparsing to 2.4.7 2020-04-15 21:35:52 +05:30
Pradyun Gedam
8ce1872cdd
Upgrade pep517 to 0.8.2 2020-04-15 21:35:49 +05:30
Pradyun Gedam
2694496d26
Upgrade packaging to 20.3 2020-04-15 21:35:45 +05:30
Pradyun Gedam
8f2b7c6344
Upgrade msgpack to 1.0.0 2020-04-15 21:35:43 +05:30
Pradyun Gedam
fc394ca52b
Upgrade distro to 1.5.0 2020-04-15 21:09:17 +05:30
Pradyun Gedam
2ece449217
Upgrade contextlib2 to 0.6.0.post1 2020-04-15 21:07:42 +05:30
Devesh Kumar Singh
ae8391b4b7 Type annotations for completion and debug in commands 2020-04-15 01:17:53 +05:30
Pradyun Gedam
e40d2670fa
Merge pull request #8045 from pradyunsg/pytoml-to-toml
Switch from `pytoml` to `toml`
2020-04-14 17:04:16 +05:30
Paul Moore
6a244de617
Merge pull request #8025 from catPill/fix-windows-writable-test
Fix Windows folder writable detection
2020-04-14 12:33:10 +01:00
Devesh Kumar Singh
02b3c68c76 Merge branch 'master' into add-mypy-annotations-commands 2020-04-14 16:35:49 +05:30
Devesh Kumar Singh
0470a82248 Type annotations for help, list and uninstall in commands 2020-04-14 16:07:13 +05:30
Pradyun Gedam
8b8fdd8429
Drop pytoml from vendored libraries 2020-04-14 13:07:20 +05:30
Pradyun Gedam
a1af9d517d
Vendor toml 0.10.0 2020-04-14 12:59:54 +05:30
Pradyun Gedam
471bc0e2c3
Merge pull request #7962 from CrafterKolyan/patch-1
Speed up `pip list --outdated`
2020-04-14 02:28:28 +05:30
Pradyun Gedam
3c1cf3e139
Merge pull request #7885 from NoahGorny/cache-trusted-host
Cache trusted host
2020-04-14 02:26:28 +05:30
Devesh Kumar Singh
0e8093ec5c Type annotations for hash, show and wheel in commands 2020-04-14 01:18:09 +05:30
Pradyun Gedam
f458573de6
Merge pull request #7882 from sbidoul/build-in-place-7555-sbi
Build local directories in place
2020-04-13 21:33:02 +05:30
Pradyun Gedam
bdff935570
Merge pull request #6391 from duckinator/pip-cache
Add 'pip cache' command
2020-04-13 19:53:05 +05:30
Pradyun Gedam
15f8a35e4b
Merge pull request #7887 from NoahGorny/pip-debug-print-vendored-versions
pip debug: Add versions of vendored libraries to output
2020-04-13 19:29:27 +05:30
ghost
dbd2c2f760 Fix Windows folder writable detection 2020-04-12 20:38:43 +08:00
Stéphane Bidoul
88e6e6bc5c
build in place 2020-04-12 12:00:57 +02:00
Noah Gorny
e131c825d4 commands: debug: Add vendor library versions 2020-04-11 01:54:57 +03:00
Pradyun Gedam
5c9e83a3aa
Merge pull request #8012 from deveshks/fix-comments-in-test-install
Fix incorrect comment in tests in test_install
2020-04-10 21:36:28 +05:30
KOLANICH
3764736f20
Explicitly specify build-backend in pyproject.toml (#7742) 2020-04-10 20:16:21 +05:30
Devesh Kumar Singh
528a193dda Fix incorrect comment in tests 2020-04-10 19:02:57 +05:30
Pradyun Gedam
81f1054865
Merge pull request #7873 from hroncok/no_copy_self
Prevent infinite recursion with pip wheel with $TMPDIR in $PWD
2020-04-10 18:56:31 +05:30
Pradyun Gedam
9360793a6c
Merge pull request #7987 from deveshks/add-tests-for-pip-cmds-ignoring-cwd
Add unit tests for pip commands not using cwd
2020-04-10 14:29:06 +05:30
Nikolay Korolev
b744854f44
Update news/7962.bugfix. Fix linter
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-09 17:57:10 +03:00
Nikolay Korolev
917ad6aa0e
Update news/7962.bugfix
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-09 17:19:54 +03:00
Nikolay Korolev
3acf8b7e4b
Merge branch 'master' into patch-1 2020-04-09 15:48:56 +03:00
Pradyun Gedam
c5da021142
Merge pull request #7959 from hrnciar/remove-shebang-from-nonexecutable-script
Remove shebang from nonexecutable script
2020-04-09 17:26:34 +05:30
Pradyun Gedam
c8e4afac57
Merge pull request #7977 from deveshks/add-mypy-annotations-commands
Added type annotations to pip._internal.commands.check
2020-04-09 17:15:59 +05:30
Pradyun Gedam
ea1295b720
Merge pull request #7965 from deveshks/warn-on-invalid-index-url
Warn if an invalid URL is passed with --index-url
2020-04-09 17:15:47 +05:30
Xavier Fernandez
ea9cb06c49
Merge pull request #7988 from McSinyx/tabulate
Fix tabulate col size in case of empty cell
2020-04-09 13:35:16 +02:00
Tomas Hrnciar
b438d47344 Remove shebang from nonexecutable script
When packaging pip in Fedora, we have realised
that there is a nonexecutable file with a shebang line.

It seems that the primary purpose of this file is to be imported from Python
code and hence the shebang appears to be unnecessary.

Shebangs are hard to handle when doing downstream packaging because it makes
sense for upstream to use `#!/usr/bin/env python` while in the RPM package, we
need to avoid that and use a more specific interpreter. Since the shebang was
unused, I propose to remove it to avoid the problems.

We have found more shebangs but in vendored packages. I have also opened PRs there:
https://github.com/ActiveState/appdirs/pull/144
https://github.com/psf/requests/pull/5410
https://github.com/chardet/chardet/pull/192

x
2020-04-09 11:53:21 +02:00
Danny McClanahan
6e7b16cec4
add failing test ; apply the fix ; add template NEWS entry
add failing test

apply the fix

add template NEWS entry according to https://pip.pypa.io/en/latest/development/contributing/#news-entries (wrong PR #)

rename news entry to the current PR #

respond to review comments

fix test failures

fix tests by adding uuid salt in urls

cache html page fetching by link

make CI pass (?)

make the types much better

finally listen to the maintainer and cache parse_links() by url :)

avoid caching parse_links() when the url is an index url

cleanup

add testing for uncachable marking

only conditionally vendor _lru_cache for py2

bugfix => feature

python 2 does not cache!

Do away with type: ignore with getattr()

respond to review comments
2020-04-07 12:01:43 -07:00
c2aa573107 Fix tabulate col size in case of empty cell
Previously, the size is no less than len(str(None)) == 4.
This commit also add type hint and docstring to the function.
2020-04-06 17:56:49 +07:00
Devesh Kumar Singh
4c70c6d350 Warn if an invalid URL is passed with --index-url 2020-04-06 10:57:50 +05:30
Devesh Kumar Singh
2324ae422e Add unit tests for pip commands not using cwd 2020-04-05 23:17:03 +05:30
Pradyun Gedam
eb865b4e10
Merge pull request #7955 from deveshks/pip-list-not-contain-pkg-work-dir
Don't list packages in current directory
2020-04-05 21:13:14 +05:30
Devesh Kumar Singh
feac595446 Don't use cwd in python -m pip command 2020-04-05 19:59:05 +05:30
Devesh Kumar Singh
c2fdf4a35b Add mypy annotations to pip._internal.commands.check 2020-04-05 01:56:05 +05:30
Nikolay Korolev
3151566154 Add news 2020-04-02 15:58:27 +03:00
Stéphane Bidoul
196706d305
Better freeze using direct_url.json 2020-04-01 22:57:00 +02:00
Ellen Marie Dash
10d13762eb [commands/cache] Be explicit about pip cache only working on the wheel cache. 2020-04-01 16:54:42 -04:00
Ellen Marie Dash
d57dcd934e [commands/cache] Add news file for cache command. 2020-04-01 16:54:03 -04:00
Paul Moore
657cf2515b
Merge pull request #7929 from McSinyx/tmp-file
Use better temporary files mechanism
2020-04-01 16:47:30 +01:00
209c74f690 Use better temporary files mechanism 2020-04-01 22:02:34 +07:00
Devesh Kumar Singh
d166adaee5 Merge branch 'master' into remove-obsolete-git-urls 2020-04-01 19:36:31 +05:30
Pradyun Gedam
7b02273f3e
Merge pull request #7927 from deveshks/raise-exception-if-rev-empty-git-url
Raise an exception if revision is empty in git url
2020-04-01 18:17:36 +05:30
Devesh Kumar Singh
9af42c27e8 Clarification on removed urls 2020-03-31 20:40:57 +05:30
Devesh Kumar Singh
59df536906 Update newsfile message 2020-03-31 20:10:35 +05:30
Devesh Kumar Singh
6fbf80a9f9 Remove vcs urls pertaining to git protocol from docs 2020-03-31 13:35:05 +05:30
Xavier Fernandez
d79632a7a9 Remove test bugfix
This does not impact our users & should not appear in the changelog
2020-03-30 23:18:12 +02:00
Pradyun Gedam
57cb941645
Merge pull request #7891 from deveshks/ignore-uninstall-error-if-easy-install-missing
Don't fail uninstallation if easy-install.pth doesn't exist
2020-03-30 21:42:38 +05:30
cjc7373
c388315bc0 Clarify the usage of --no-binary and --only-binary command 2020-03-30 16:57:24 +02:00
Devesh Kumar Singh
051c3988b0 Reworded the news entry 2020-03-29 23:50:54 +05:30
gutsytechster
315447d170 fix(tests/lib): Catch subprocess.CalledProcessError in need_executable
This fixes https://github.com/pypa/pip/issues/7924
2020-03-29 16:21:02 +05:30
Devesh Kumar Singh
106bd0d77f Raise an exception if revision is empty in git url 2020-03-29 12:04:48 +05:30
Devesh Kumar Singh
326efa5c71 Defining multiple values for supported options 2020-03-28 14:35:31 +01:00
Devesh Kumar Singh
be2268ee87 Clarify use of freeze in pip in program example 2020-03-28 16:48:22 +05:30
Devesh Kumar Singh
7f37d5fc6a Add issue fix description in news file 2020-03-28 02:18:21 +05:30
Sumana Harihareswara
f116e0c4ff Add docs link to resolver improvement blog post
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-27 16:25:45 -04:00
Pradyun Gedam
eb232dc7a7
Merge pull request #7899 from deveshks/remove-emails-from-authors
Only use names in AUTHORS.txt
2020-03-27 16:53:18 +05:30
Noah Gorny
544c307ebf session: Always cache responses from trusted-host source
news: Add news about default behaviour change
2020-03-26 21:29:18 +02:00
John T. Wodder II
c42b5d3716 Change docs link from PEP 301 to PEP 503 2020-03-25 23:57:18 -04:00
Devesh Kumar Singh
30d1870cc7 Only use names in AUTHORS.txt 2020-03-25 23:26:53 +05:30
Devesh Kumar Singh
4264d5e0d3 Don't fail uninstallation if easy-install.pth doesn't exist 2020-03-24 17:08:44 +05:30
Devesh Kumar Singh
145c189a49 Add a What Next page in getting started 2020-03-24 15:12:12 +05:30
Miro Hrončok
98aa09cf88 Prevent infinite recursion with pip wheel with $TMPDIR in $PWD
During a build of extension module within `pip wheel` the source directory is
recursively copied in a temporary directory.

See https://github.com/pypa/pip/issues/7555

When the temporary directory is inside the source directory
(for example by setting `TMPDIR=$PWD/tmp`) this caused an infinite recursion
that ended in:

    [Errno 36] File name too long

We prevent that buy never copying the target to the target in _copy_source_tree.

Fixes https://github.com/pypa/pip/issues/7872
2020-03-19 18:07:56 +01:00
Pradyun Gedam
9e15cd49f2
Merge pull request #7767 from RDIL/copyright-docs
Added copyright doc
2020-03-18 16:31:24 +05:30
Tzu-ping Chung
36065cf2e0 Vendor ResolveLib from Git
We are vendoring from the Git source for now, so the bug fix turnover
can be quicker if there's anything wrong in the resolution logic.

HEAD up-to-date as of 2020-03-12.
2020-03-12 22:37:30 +08:00
Paul Moore
9b10b93503 Implement the resolvelib Requirement class 2020-03-11 11:37:56 +00:00
Jason R. Coombs
816efa1805 Update changelog 2020-03-06 12:43:10 -05:00