Nguyễn Gia Phong
0ef877339a
Make assertions independent of log prefixes
2020-08-01 20:26:44 +07:00
Stéphane Bidoul
9add5aa923
Merge pull request #8665 from uranusjr/svn-version-more-robust
...
Improve SVN version parser
2020-08-01 14:13:54 +02:00
Ed Morley
f31898e18c
Fix typos in the docs about conflicting dependencies
...
Previously:
- the example wildcard version string was being rendered with a stray
space (`== 3.1. *` instead of `== 3.1.*`) due to the markup being
split over two lines
- the "Dependency Hell" Wikipedia URL 404ed due to the trailing `>`
2020-07-31 13:17:36 +01:00
Tzu-ping Chung
c8596e1410
News
2020-07-31 06:45:40 +08:00
Sumana Harihareswara
27b4980c6c
Update documentation to reflect updated resolver feature flag
...
Followup to #8371 , #8530 , #8513 .
2020-07-30 14:02:14 -04:00
Tzu-ping Chung
1fd5098b24
Canonicalize name in check_if_exists
...
The previous implementation uses pkg_resources.get_distribution(), which
does not canonicalize the package name correctly, and fails when
combined with pip's own get_distribution(), which does canonicalize
names. This makes InstallRequirement.check_if_exists() only use pip's
own canonicalization logic so different package name forms are matched
as expected.
2020-07-30 22:04:51 +08:00
Chris Hunt
127c5b026c
Add news
2020-07-29 22:24:09 -04:00
Pradyun Gedam
31299ee370
Merge pull request #8603 from tekumara/pip-list-ignore-require-venv
2020-07-29 09:28:58 +05:30
Pradyun Gedam
127acd8c9e
Bump for release
2020-07-29 07:53:17 +05:30
Sumana Harihareswara
d374b0d877
Add changelog entry
2020-07-28 10:09:24 -04:00
Nguyễn Gia Phong
2439d80a83
Allow specifying verbose/quiet level via config file and env var
2020-07-28 10:11:18 +07:00
Emmanuel Arias
b6c99afade
Add note explaining the Docs PR deploy ( #8622 )
...
Add a note to explain that documentation is
deployed readthedocs for each PR.
2020-07-27 18:26:41 +02:00
Laurie O
9eb9319f7e
Document keyring support for index basic-auth
2020-07-27 20:59:31 +10:00
Pradyun Gedam
7056132f6f
Merge pull request #8601 from rouge8/use-feature-requirements-file
2020-07-27 13:19:51 +05:30
Pradyun Gedam
895eb8c617
Merge pull request #8626 from uranusjr/new-resolver-error-message-crash-8625
2020-07-27 13:14:28 +05:30
Nguyễn Gia Phong
b795c9a7d6
Abstract away AbstractDistribution in higher-level resolver code
2020-07-26 17:13:04 +07:00
Tzu-ping Chung
36d250da11
News
2020-07-26 16:01:39 +08:00
Nguyễn Gia Phong
c564a3d541
Use monkeypatch.setenv in config and option tests
2020-07-25 20:46:45 +07:00
Emmanuel Arias
ead83f38b4
fix news
2020-07-25 10:00:42 -03:00
Pradyun Gedam
89a51a6fef
Merge pull request #8588 from McSinyx/fast-deps
...
Use lazy wheel to obtain dep info for new resolver
2020-07-24 09:01:56 +05:30
Pradyun Gedam
43485f5ab7
Merge pull request #8617 from pradyunsg/drop-final-20.2-deprecation
...
Reject setup.py projects that don't generate .egg-info
2020-07-24 08:54:16 +05:30
Pradyun Gedam
d34b099bf4
📰
2020-07-23 22:44:17 +05:30
Pradyun Gedam
4272aa7980
Upgrade toml to 0.10.1
2020-07-22 19:57:20 +05:30
Pradyun Gedam
afa59d97f6
Upgrade six to 1.15.0
2020-07-22 19:57:19 +05:30
Pradyun Gedam
072b70b9bf
Upgrade urllib3 to 1.25.9
2020-07-22 19:57:19 +05:30
Pradyun Gedam
fe7128c662
Upgrade idna to 2.10
2020-07-22 19:57:19 +05:30
Pradyun Gedam
2ac80f4336
Upgrade certifi to 2020.6.20
2020-07-22 19:57:19 +05:30
Pradyun Gedam
28aad200b3
Upgrade requests to 2.24.0
2020-07-22 19:57:19 +05:30
Pradyun Gedam
413968dd17
Upgrade packaging to 20.4
2020-07-22 19:57:19 +05:30
Pradyun Gedam
e84d0c1813
Upgrade html5lib to 1.1
...
Also, drop the no-longer-necessary patch.
2020-07-22 19:57:18 +05:30
Pradyun Gedam
11a64cdae8
Upgrade distlib to 0.3.1
2020-07-22 19:57:18 +05:30
Pradyun Gedam
b9b2c18735
Upgrade appdirs to 1.4.4
2020-07-22 19:57:18 +05:30
Nguyễn Gia Phong
5d15291274
Use lazy wheel to obtain dep info for new resolver
2020-07-21 16:00:34 +07:00
Oliver Mannion
95dfd8b5a7
Ignore require-virtualenv in `pip list`
2020-07-20 16:45:52 +10:00
Chris Hunt
d504fc4e7c
Merge pull request #8592 from shireenrao/vcs-extras-docs
...
Add examples on how to install package extras and sdists to docs
2020-07-19 09:01:44 -04:00
Chris Hunt
af68f57d2d
Merge pull request #8599 from McSinyx/tabs2spaces
...
Replace tabs by spaces for consistency
2020-07-19 08:57:41 -04:00
Andy Freeland
3eef588a03
Support '--use-feature' in requirements files
...
This patch adds support for `--use-feature` in requirements files
so that a project that wants all contributors using the same pip
features can specify it in the requirements file. For example, to ensure
a requirements file uses the new resolver:
```
--use-feature=2020-resolver
boto3
boto3==1.13.13
```
This is a new version of #8293 .
2020-07-18 16:08:47 -07:00
Srinivas Nyayapati
319e69f14f
update news fragment
2020-07-18 12:23:22 -04:00
Srinivas Nyayapati
eb6cc7f439
Add examples on how to install package extras and sdists to docs
2020-07-18 12:23:22 -04:00
Stéphane Bidoul
462d6ca590
Deprecate install fallback when bdist_wheel fails
2020-07-18 13:46:19 +02:00
Nguyễn Gia Phong
d363b4a427
Replace tabs by spaces for consistency
2020-07-18 17:00:59 +07:00
Nguyễn Gia Phong
cb8d81d135
Nitpick logging calls
2020-07-17 14:33:19 +07:00
Srinivas Nyayapati
c56f93539c
Add references to get started with Git
2020-07-15 15:39:49 -04:00
Pradyun Gedam
fa2fceecf1
Merge pull request #8189 from gutsytechster/remove_raise_for_status
2020-07-15 18:06:27 +05:30
Pradyun Gedam
61d497120f
Merge pull request #8424 from jku/8288-deprecate-nonconforming-extras
2020-07-15 18:03:00 +05:30
Chris Hunt
9a10d82b29
Merge pull request #8561 from pypa/8512-feature-flag-docs
...
Add feature flag documentation
2020-07-14 19:41:41 -04:00
Nguyễn Gia Phong
e0f311b1f4
Declare constants in configuration.py as such
2020-07-14 16:45:34 +07:00
Jussi Kukkonen
76b20d738e
Deprecate requirements format "base>=1.0[extra]"
...
This requirements format does not conform to PEP-508. Currently the
extras specified like this work by accident (because _strip_extras()
also parses them). The version checks end up being done with a
misparsed version '1.0[extra]' -- this is not changed in this commit.
Add deprecation warning and fix the corresponding resolver test. Add a
command line test.
Note that we really only check that the Requirement has SpecifierSet
with a specifier that ends in a ']'. A valid version number cannot
contain ']' and no wheels currently on pypi have versions ending in ']'.
2020-07-13 12:33:50 +03:00
Nguyễn Gia Phong
c5e19c01c4
Clean up Configuration.unset_value and nit __init__
2020-07-11 15:56:34 +07:00
Chris Hunt
8bf5731b84
Merge pull request #8562 from chrahunt/extract-direct-from-zip-refactoring
...
Install directly from wheels, without unpacking into an intermediate directory
2020-07-10 21:33:16 -04:00
Chris Hunt
83078470a6
Merge pull request #8566 from deveshks/mypy-configuration
...
Add type annotations to pip._internal.configuration
2020-07-10 20:09:30 -04:00
Avinash Karhana
135e9c1369
Fixed useless `else` cluase after loop inside `get_version` function in setup.py
2020-07-11 02:15:29 +05:30
Devesh Kumar Singh
4cc731c62b
Add type annotations to pip._internal.configuration
2020-07-11 01:38:19 +05:30
Chris Hunt
15b7afbcad
Merge pull request #8266 from gutsytechster/add_logs_for_install
...
feat(): Add logs for pip environment when installing
2020-07-10 09:36:13 -04:00
Chris Hunt
46bd55f371
Merge pull request #8565 from deveshks/mypy-cache
...
Add type annotations to "pip._internal.cache"
2020-07-09 21:53:06 -04:00
Chris Hunt
e9508591ce
Merge pull request #8556 from chrahunt/maint/fail-on-install-location-options
...
Disallow explicitly passing install-location-related arguments in --install-options
2020-07-09 21:25:20 -04:00
Chris Hunt
80a2a94955
Add news
2020-07-09 18:25:11 -04:00
Pradyun Gedam
6679b5e7a9
Merge pull request #8493 from pypa/add-resolver-docs
2020-07-10 02:02:36 +05:30
Devesh Kumar Singh
dadac2ce03
Add type annotations to pip._internal.cache
2020-07-09 21:46:55 +05:30
Pradyun Gedam
277b1e6c30
Update news/3166.feature
2020-07-09 18:15:59 +05:30
gutsytechster
0ccbad8367
feat(): Add logs for pip environment when installing
2020-07-09 18:15:43 +05:30
Nicole Harris
ba44cc2e72
Add feature flag documentation
2020-07-08 21:26:25 +01:00
gutsytechster
8c267e6e39
feat(pip/_internal/*): Use custom raise_for_status method
2020-07-08 18:08:55 +05:30
Christopher Hunt
43ca0805ae
Merge pull request #8456 from McSinyx/lint-vendor-readme
...
Lint src/pip/_vendor/README.rst
2020-07-07 21:40:38 -04:00
Christopher Hunt
b27956928f
Merge pull request #8553 from uranusjr/header-location-prefix
...
Header location prefix
2020-07-07 21:37:50 -04:00
Christopher Hunt
53aa1a932b
Merge pull request #8538 from McSinyx/parallel-test-teardown
...
Make utils.parallel tests tear down properly
2020-07-07 21:19:28 -04:00
Chris Hunt
8c7b9429cd
Add news
2020-07-07 19:11:11 -04:00
Tzu-ping Chung
9cbefbb3fa
Mention the breakage only happens in virtualenvs
2020-07-07 21:21:23 +08:00
Tzu-ping Chung
b85d5026e3
Fix header calculation when prefix is given
2020-07-07 18:53:33 +08:00
Nicole Harris
909f50aa8f
Add news
2020-07-07 11:19:30 +01:00
Devesh Kumar Singh
005cc1636c
Add news entry
2020-07-07 14:57:42 +05:30
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
Nguyễn Gia Phong
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
Nguyễn Gia Phong
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
Nguyễn Gia Phong
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
Nguyễn Gia Phong
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
Nguyễn Gia Phong
cef064dc4b
Require vendored libraries to be MIT-compatibly licensed
2020-06-25 22:01:48 +07:00
Nguyễn Gia Phong
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
Nguyễn Gia Phong
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