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

944 commits

Author SHA1 Message Date
Christopher Hunt
ee8271565c
Merge pull request #7343 from jiasli/patch-1
Add double quotes to pip install from VCS
2019-11-13 09:56:22 +08:00
sinoroc
72e8510f3b Fix documentation links for index options
In the documentation the links for the pip commands index options
are mixed up.

The index options are common to multiple commands, but in the
documentation they should be specific to a command for the links to
point to the right chapter.

GitHub: #7347
2019-11-13 00:01:19 +01:00
Stéphane Bidoul (ACSONE)
613cc01c0b
Include subdirectory URL fragment in the cache key 2019-11-12 08:50:21 +01:00
Jiashuo Li
94afac6d31 trivial 2019-11-12 10:50:26 +08:00
Hanjun Kim
12b58ed8e0
create news entry 2019-11-11 23:15:46 +09:00
Christopher Hunt
105e7bd0b1
Merge pull request #6372 from kx-chen/document-no-warn-script-location
Document enabling --no-warn-script-location
2019-11-11 10:45:46 +08:00
Kai Chen
dd0ba3d185 Document enabling --no-warn-script-location with falsy values
Closes https://github.com/pypa/pip/issues/6209
2019-11-10 21:09:30 -05:00
Christopher Hunt
2ed5d565de
Merge pull request #7326 from chrahunt/bugfix/enforce-pyproject-requires-format
Enforce requirement format in pyproject.toml build-system.requires
2019-11-10 16:56:18 +08:00
Chris Hunt
f64f15b6d9 Enforce requirement format in build-system.requires 2019-11-09 20:58:27 -05:00
Christopher Hunt
c21fd4a70c
Merge pull request #7305 from chrahunt/maint/deprecate-non-egg-info-legacy-builds
Deprecate setup.py-based builds that do not make .egg-info
2019-11-09 09:58:43 +08:00
Chris Hunt
89f6e4fcd5 Deprecate setup.py-based builds that do not make .egg-info 2019-11-07 18:31:04 -05:00
Pradyun Gedam
7b3d3a31e6
Support PEP 405 include-system-site-packages configuration (#7155) 2019-11-06 11:47:36 +05:30
Pradyun Gedam
762ffd5b5e
📰 2019-11-05 14:45:08 +05:30
Chris Hunt
a47fef71c2 Deprecate --skip-requirements-regex 2019-11-04 18:00:42 -05:00
Christopher Hunt
e79fa0e8a2
Merge pull request #6851 from sbidoul/pip6640-sbi
Cache wheels built from immutable VCS requirements
2019-11-04 08:32:11 +08:00
Christopher Hunt
5b77910715
Merge pull request #7289 from chrahunt/bugfix/send-client-cert
Send client certificate when using --trusted-host
2019-11-04 08:30:28 +08:00
Chris Hunt
3125c32696 Send client cert when using InsecureHTTPAdapter 2019-11-03 17:05:58 -05:00
Stéphane Bidoul (ACSONE)
9cad519521
Cache wheels built from immutable Git requirements
Cache wheels that are built from Git requirements
that contain an immutable revision (i.e. a sha).
2019-11-03 22:54:33 +01:00
Christopher Hunt
44c8caccd4
Merge pull request #7285 from sbidoul/pip-wheel-cache-like-pip-install-sbi
Make pip wheel cache what it built
2019-11-04 05:49:35 +08:00
Stéphane Bidoul (ACSONE)
ba60397dd4
Make pip wheel cache what it built
Just like pip install.
2019-11-03 22:08:42 +01:00
Christopher Hunt
de736c661e
Merge pull request #7178 from Desetude/fix/use-str-format
Replace %-format with str#format
2019-11-03 01:34:14 +08:00
Stéphane Bidoul (ACSONE)
18a58815a1
Refactor _get_used_vcs_backend 2019-11-01 12:53:54 +01:00
Christopher Hunt
2a2794e09b
Merge pull request #7268 from sbidoul/remove-should_use_ephem_cache-sbi
remove should_use_ephemeral_cache
2019-11-01 16:29:03 +08:00
Ananya Maiti
bb047aa263 Document that "coding: utf-8" is supported in requirements.txt
Fixes #7182
2019-10-31 20:27:00 +05:30
Stéphane Bidoul (ACSONE)
cdf09bfc4a
remove should_use_ephemeral_cache 2019-10-29 09:15:44 +01:00
Thomas Kluyver
17e9f4c4a3 Mark as trivial change 2019-10-24 12:01:36 +01:00
Pradyun Gedam
c729a84b48
Merge pull request #7002 from takluyver/install-user-fallback
Default to --user install in certain conditions
2019-10-22 08:44:06 +05:30
Jacob Kim
618e97520d Respect docstring conventions (#7230)
Respect PEP 257 -- Docstring Conventions in wheel.py
2019-10-20 09:14:50 -04:00
Aniruddha Basak
bf032e36bb Change the 7201.doc file 2019-10-20 09:36:55 +05:30
Pradyun Gedam
bcad1b1cb5
Add new option: pip wheel --save-wheel-names (#6377) 2019-10-19 11:03:15 +05:30
Christopher Hunt
c4009ec6c2
Merge pull request #7235 from chrahunt/maint/fix-lint
Add newline to news file
2019-10-18 09:34:03 -04:00
Chris Hunt
5098203271 Add newline to news file 2019-10-18 08:48:17 -04:00
Xavier Fernandez
9373159056
Merge pull request #7232 - Release 19.3.1 2019-10-18 10:15:26 +02:00
Christopher Hunt
24c9daaaa9
Merge pull request #6857 from abs51295/fix-pip-freeze
Canonicalize FrozenRequirement name for correct comparison
2019-10-17 20:08:23 -04:00
Prabhu Marappan
4bb13dad14 Use str.format Instead of %s (#7196)
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2019-10-17 19:46:20 -04:00
Xavier Fernandez
6951267d7d Merge branch 'master' into release_19.3.1
and drop master news file already included in 19.3.1
2019-10-17 22:21:43 +02:00
Xavier Fernandez
6500e59560 Release 19.3.1 2019-10-17 21:32:34 +02:00
Pradyun Gedam
6ee768a1d4 Fix PEP 517 builds for packages without setup.py (#6606) 2019-10-17 21:32:01 +02:00
Christopher Hunt
4bc72977fc Merge pull request #7219 from hugovk/add-3.8
Declare support for Python 3.8
2019-10-17 21:30:58 +02:00
Pradyun Gedam
2e9f89ef8f
Fix PEP 517 builds for packages without setup.py (#6606) 2019-10-17 22:18:03 +05:30
Christopher Hunt
fde92e72a4
Merge pull request #7219 from hugovk/add-3.8
Declare support for Python 3.8
2019-10-17 09:22:03 -04:00
robin elisha robinson
58dd0c3491 Change %s string formatting to str.format in setup.py (#7199) 2019-10-17 11:23:19 +02:00
Christopher Hunt
7c755a571d
Merge pull request #7216 from NeilBotelho/debug-ca-info
Display CA information in pip debug
2019-10-17 04:29:41 -04:00
Pradyun Gedam
8c50c8a9bc
Merge pull request #7225 from pradyunsg/show-better-urls
Show shorter details of the URL when downloading from PyPI
2019-10-17 06:29:16 +05:30
everdimension
3b8e2f3749 Rephrase installation instructions
Make it a bit more clear that the goal is to just
download the get-pip.py file and that the curl command
is not required
2019-10-16 22:04:23 +02:00
Pradyun Gedam
af0c5b5b7b
📰 2019-10-16 12:40:51 +05:30
Christopher Hunt
bc7948e200
Merge pull request #7193 from vharsh/skip_svn_test
Skip running svn tests when svn isn't installed
2019-10-15 19:14:29 -04:00
hugovk
d65bf5021a Update docs about Python 3.8 2019-10-15 20:06:29 +03:00
Neil Botelho
e51299d128 Add news file fragment 2019-10-15 14:55:35 +05:30
Aniruddha Basak
86087d32e2 Fix lint issue 2019-10-15 13:20:40 +05:30
Aniruddha Basak
571fccf047 Add 7201.doc file in news directory 2019-10-15 12:50:53 +05:30
Pradyun Gedam
ba63e01bb6
Merge pull request #7191 from qiell/fix/update-shutil-remove-to-rmtree
Change method from shutil.remove to shutil.rmtree
2019-10-15 12:31:20 +05:30
Xavier Fernandez
afcb3e7eaf Release 19.3 2019-10-14 14:24:27 +02:00
Harsh Vardhan
2f1a419393 Add news file for the change
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2019-10-14 14:32:34 +05:30
Akash Srivastava
a6e098a526 Add newsfile for the PR
Signed-off-by: Akash Srivastava <akashsrivastava4927@gmail.com>
2019-10-14 13:16:12 +05:30
Desetude
ed942ae3aa Add #7178 trivial news file 2019-10-12 17:14:47 +01:00
Pradyun Gedam
1c3f31ce14
Merge pull request #7072 from TonyBeswick/master
Fix pip freeze not showing correct entry for mercurial packages that use subdirectories.
2019-10-12 18:23:20 +05:30
Albert Tugushev
8c66447bad Use python-version instead of deprecated version
It's deprecated since https://github.com/actions/setup-python/commit/6f6fcee.
2019-10-12 14:25:40 +02:00
Sebastian Jordan
483daaba43 Add trailing newline in news/6606.bugfix 2019-10-12 13:19:20 +02:00
Sebastian Jordan
e3089c5bff Merge remote-tracking branch 'origin/master' into issue-6222 2019-10-11 19:23:45 +02:00
anatoly techtonik
4f7da85e2c Rename news item to .trivial per review 2019-10-11 18:11:05 +03:00
Christopher Hunt
f3f396fd79
Merge pull request #7102 from mayeut/manylinux2014
Add manylinux2014 support
2019-10-10 18:07:51 -04:00
Christopher Hunt
209e571c93
Merge pull request #7171 from Pachwenko/update-global-install-test
update global install option test
2019-10-10 17:37:53 -04:00
Pachwenko
f84d9c810b
update global install option test 2019-10-10 07:56:38 -05:00
Xavier Fernandez
d9e27f0030 Bump vendored libraries 2019-10-10 12:33:38 +02:00
Xavier Fernandez
0cb85d5734 Bump contextlib2 to latest version 0.6.0 2019-10-10 00:06:55 +02:00
Pradyun Gedam
af3062af41 Remove the deprecated pip config --venv option (#7163) 2019-10-09 23:28:00 +02:00
mayeut
62d84a5aae
Add manylinux2014 support
Per PEP 599:
https://www.python.org/dev/peps/pep-0599/
2019-10-09 22:09:28 +02:00
Thomas Kluyver
f2b1882b6a Add news file 2019-10-09 08:46:33 +01:00
tbeswick
1028e30782 Fixed lint error in news. 2019-10-09 10:12:38 +13:00
tbeswick
5ad4291b06 Added newline to end of news file. 2019-10-09 09:40:59 +13:00
TonyBeswick
bcbaee7aa5
Merge branch 'master' into master 2019-10-08 18:39:08 +13:00
Pradyun Gedam
df624d05df
Delete 1234.trival 2019-10-07 21:55:05 +05:30
Pradyun Gedam
d82874c417
Revert "Optimize upgrade of already-satisfied pinned requirement" 2019-10-07 21:29:40 +05:30
Pradyun Gedam
f718a8f34c
Optimize upgrade of already-satisfied pinned requirement (#7132) 2019-10-07 11:17:31 +05:30
Pradyun Gedam
1b542bd6c9
Fix backticks in a NEWS fragment 2019-10-06 22:34:42 +05:30
Christopher Hunt
5a997b7509
Merge pull request #7065 from chrahunt/pr-5955
Explicit support for hg+file
2019-10-06 09:39:42 -04:00
Chris Hunt
0548d207b6 Add NEWS file for new contextlib2 dependency 2019-10-05 22:16:22 -04:00
Anders Kaseorg
0492e80816 Optimize upgrade of already-satisfied pinned requirement
Example: after installing six 1.12.0, `pip install -Uv six==1.12.0`
now returns immediately, instead of going to the index to check for a
version that can’t possibly be considered better.

This optimization is most significant when upgrading via a
requirements file with many pinned versions and some non-pinned
versions.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-10-04 20:14:56 -07:00
Sebastian Jordan
6a2d2dbb81 Merge branch 'master' of https://github.com/pypa/pip into issue-6222 2019-10-03 08:36:19 +02:00
Patrik Kopkan
211fd5575f add newline 2019-10-02 19:13:53 +02:00
Emil Burzo
004103c0f5 fix code quality issues 2019-10-02 08:33:41 +03:00
Emil Burzo
be084e0fde add news entries 2019-10-01 09:28:58 +03:00
Pradyun Gedam
ff041cc5b0
Merge branch 'master' into master 2019-09-30 21:33:34 +05:30
John Paton
648f377351 Remove repeated word 2019-09-30 09:56:44 +02:00
John Paton
616a9b4b4e Add news snippet 2019-09-30 09:56:44 +02:00
Christopher Hunt
530fa337a9
Merge pull request #7095 from Nta1e/b7090
Move PipXmlrpcTransport to network.xmlrpc
2019-09-28 19:57:01 -04:00
Christopher Hunt
d27488d288
Merge pull request #7094 from Nta1e/b7091
Remove DependencyWarning warning from pip._internal
2019-09-28 09:16:24 -04:00
NtaleGrey
88e9ce6e27 implement feedback 2019-09-28 15:51:52 +03:00
Pradyun Gedam
efd1843af2
Merge pull request #7098 from atugushev/remove-unused-assignment
Remove unused assignment
2019-09-28 08:04:38 +05:30
Albert Tugushev
c6e9a9eab4 Remove unused assignment 2019-09-28 01:46:04 +03:00
Albert Tugushev
1a3b84060d Add functional tests for 'yanked' files 2019-09-28 01:07:48 +03:00
NtaleGrey
eb93a21b8b rename news file 2019-09-27 20:18:08 +03:00
NtaleGrey
cf5ce5f16f Move PipXmlrpcTransport from pip._internal.download to pip._internal.network.xmlrpc 2019-09-27 18:14:35 +03:00
NtaleGrey
c9bc36bdae format code 2019-09-27 14:46:53 +03:00
NtaleGrey
76d4cce5a5 add news file 2019-09-27 14:40:46 +03:00
Christopher Hunt
ea923d96a9
Merge pull request #6313 from wilsonfv/master
Fix #3907 tar file placed outside of target location
2019-09-26 19:30:53 -04:00
Patrik Kopkan
9a2181a087 Add new option: pip wheel --save-wheel-names 2019-09-25 13:39:34 +02:00
Sebastian Jordan
dd842fd71e Add news entry 2019-09-25 06:54:00 +02:00
Chris Hunt
8c94b70354 Address review comments 2019-09-24 22:43:06 -04:00
Wilson Mo
08a0eeb90c Fix #3907 tar file placed outside of target location 2019-09-24 22:25:18 -04:00
Pradyun Gedam
c47e1b6e5d
Enable rst-backticks for ReST files and NEWS fragments 2019-09-24 18:03:22 +05:30
Pradyun Gedam
6f8c29aa77
Enable end-of-file-fixer 2019-09-24 18:03:22 +05:30
tbeswick
b95a16e310 Added news 2019-09-24 16:50:05 +12:00
Chris Hunt
ea91012bee Update auto-svn+ removal wording 2019-09-22 17:37:48 -04:00
atse
30df34de98 Update 4358.bugfix 2019-09-22 11:04:23 -04:00
Adam Tse
3f98ee4250 Explicit support and tests for hg+file scheme for pip install. 2019-09-22 11:04:23 -04:00
Christopher Hunt
67856e3d44
Merge pull request #7027 from chrahunt/maint/validate-news
Validate NEWS files with rstcheck.
2019-09-20 12:14:50 -04:00
Pradyun Gedam
8d6e3204de
Ignore "require_virtualenv" in pip config (#6991) 2019-09-19 18:22:27 +05:30
Christopher Hunt
79ec3def25
Merge pull request #7037 from chrahunt/refactor/clean-up-unpack
Remove svn handling in unpacking.unpack_file
2019-09-19 08:35:12 -04:00
Chris Hunt
b6f7470185 Add news 2019-09-19 01:47:29 -04:00
Christopher Hunt
b0a6428d3b
Merge pull request #7023 from chrahunt/maint/remove-lockfile-dependency
Remove Lockfile
2019-09-19 00:23:57 -04:00
Christopher Hunt
47293435bb
Merge pull request #6976 from atugushev/fix-issue-4910
Fix rmtree_errorhandler to skip nonexistent dirs
2019-09-17 22:40:46 -04:00
Christopher Hunt
b1bc41b2c3
Merge pull request #6914 from sbidoul/pip6892-sbi
uninstall: remove symlinks created by flit install --symlink
2019-09-17 21:14:28 -04:00
Chris Hunt
459c1c7e40 Validate NEWS files with rstcheck. 2019-09-16 20:52:46 -04:00
Christopher Hunt
82c2dd40eb
Merge pull request #6203 from vinicyusmacedo/fix-pep-508
Fix is_url from splitting the scheme incorrectly when using PEP 440's direct references
2019-09-16 09:52:40 -04:00
Albert Tugushev
e3a6ba6396 Use normal fixture instead of yield_fixture
It's been deprecated since pytest>=2.10.
See https://docs.pytest.org/en/latest/historical-notes.html#pytest-yield-fixture-decorator
2019-09-16 02:55:47 +03:00
Chris Hunt
51d7a97385 Remove Lockfile. 2019-09-15 17:09:44 -04:00
Pradyun Gedam
ab250e3e09
Merge pull request #6879 from chrahunt/bugfix/dont-lock-selfcheck
Don't use lockfile to protect updates to selfcheck file.
2019-09-15 19:02:46 +05:30
Pradyun Gedam
5fa906bdb5
Merge pull request #6952 from webknjaz/features/integrate-github-actions-ci-cd--linters
Add initial GH actions linter workflow
2019-09-15 11:51:29 +05:30
Pradyun Gedam
e0239735a3
Refactor wheel.move_wheel_files to use updated distlib (#6763) 2019-09-09 00:18:15 +05:30
Chris Hunt
fc45975c84 Add news files. 2019-09-08 09:29:48 -04:00
Chris Hunt
af33759cb5 Add NEWS file. 2019-09-08 09:24:20 -04:00
Pradyun Gedam
03117a415d
📰 2019-09-07 17:05:30 +05:30
Pradyun Gedam
a39e881479
Fix pip.exe upgrade pip fails on Windows
Merge pull request #6928 from atugushev/fix-issue-6924
2019-09-07 14:14:29 +05:30
Albert Tugushev
a5840a9b8a Address review comments
Update news entry.
2019-09-06 11:00:17 +03:00
Albert Tugushev
a8427d5553 Run parametrized command in test_pep518_forkbombs
Fixes copy-paste issue in `test_pep518_forkbombs`.
2019-09-06 09:55:49 +02:00
Pradyun Gedam
0f3a1c0b6b
Abort when --no-binary/--only-binary receives bad arg (#5847)
Merge pull request #5847 from keanemind/master
2019-09-05 13:42:46 +05:30
Pradyun Gedam
c23c52da4f
Merge pull request #6325 from hugovk/pip-wheel-metadata-in-tempdir
Use a temp dir for pip-wheel-metadata
2019-09-05 13:28:46 +05:30
Pradyun Gedam
33b404dfdc
Reword a NEWS entry 2019-09-05 09:15:51 +05:30
Albert Tugushev
85a5ae12d2 Fix rmtree_errorhandler to skip non-existing dirs 2019-09-05 00:25:35 +03:00
Albert Tugushev
7e9f81244c Remove contradictory debug log 2019-09-04 10:27:15 +02:00
abs51295
ea2a889ce3 Canonicalize FrozenRequirement name for correct comparison
- Fixes #5716
2019-09-02 13:45:47 +05:30
Sviatoslav Sydorenko
9f2ef615be
Add a news fragment 2019-09-01 21:17:09 +02:00
ofrinevo
fa4fc6a6d4 Add news file 2019-08-31 21:52:04 +03:00
Albert Tugushev
a9d23fadbb Use pytest.param to skip certain parametrizations (#6944) 2019-08-31 17:13:44 +02:00
Albert Tugushev
3c9770d9b2 Redact single-part login credentials from URLs (#6921) 2019-08-26 15:50:07 -07:00
Albert Tugushev
d8b6296227 Fix pip.exe upgrade pip fails on Windows
It fails if it already satisfies the requirement, when
pip has been modifying via `pip.exe install ...` command.
2019-08-26 16:05:48 +03:00
Frost Ming
8ac22141c2 Support including port part in trusted-host (#6909) 2019-08-25 16:26:01 -07:00
Pradyun Gedam
d2b7082932
Fix bypassed pip upgrade warning on Windows
Merge pull request #6864 from atugushev/fix-issue-6841
2019-08-25 19:08:28 +05:30
Stéphane Bidoul (ACSONE)
885fdc3754 Correctly uninstall symlinks 2019-08-24 23:04:47 +02:00
Pradyun Gedam
9b9d7b7d5d
Rename 6637.feature to 6637.doc (#6907) 2019-08-23 08:33:44 +05:30
A_Rog
70027b2f50 Address #6876: Make command output go through a single function (#6881) 2019-08-22 17:29:22 -07:00
Pradyun Gedam
2b572d5e85
Rename 6637.feature to 6637.doc 2019-08-22 23:02:13 +05:30
Pradyun Gedam
9b82fcc9d8
Merge branch 'master' into architecture 2019-08-22 21:07:58 +05:30
Chris Jerdonek
7783c47131
Hide security-sensitive strings in VCS command log messages (#6890) 2019-08-21 03:22:57 -07:00
Christopher Hunt
5e97de4773 Ignore errors copying socket files for source installs (in Python 3). (#6844) 2019-08-21 02:19:02 -07:00
Pradyun Gedam
58a66066cc
Merge pull request #6882 from pradyunsg/update-test-to-py36
Update marker test to use Python 3.6 instead of 2.6
2019-08-21 06:53:47 +05:30
Chris Jerdonek
97d9c6d156
Merge pull request #6880 from GadgetSteve/master
#6858: Changes to report any missing packages in pip show
2019-08-18 12:24:38 -07:00
Steve Barnes
3198ba6185 Change pip show to report missing packages. 2019-08-18 01:27:14 -07:00