Commit Graph

667 Commits

Author SHA1 Message Date
Steve Dower b5dd2791b7 Make failed uninstalls roll back more reliably and better at avoiding naming conflicts (#6225) 2019-02-03 04:39:06 -08:00
Pradyun Gedam d95b5f2d82
Merge pull request #6219 from cjerdonek/wheel-build-assertion-error
Use the ephemeral cache if we need to when autobuilding
2019-02-02 14:01:37 +05:30
Pradyun Gedam fbc92b305a
Merge pull request #6208 from Julian/python27-warning
Only show Python 2.7 EOL date on CPython.
2019-02-02 13:59:23 +05:30
Chris Jerdonek 6b0892eace Use the ephemeral cache if autobuilding and no cache directory is available. 2019-02-01 02:25:56 -08:00
Julian Berman 77c989f377 Only show Python 2.7 EOL date on CPython.
Other Python implementations, notably PyPy, are not EOL'ing on January
1, 2020.
2019-01-31 08:27:47 -05:00
Chris Jerdonek 351dee9635
Merge pull request #6206 from cjerdonek/better-no-setup-py-error-message
Provide better error message for editable installs attempted with pyproject.toml
2019-01-30 20:19:31 -08:00
Chris Jerdonek d619aba150 Provide a better error message for a pyproject.toml editable install.
The message looks like this:

  File "setup.py" not found. Directory cannot be installed in editable
  mode: <absolute-dir-path>
  (A "pyproject.toml" file was found, but editable mode currently
  requires a setup.py based build.)
2019-01-26 07:00:22 -08:00
Thea Flowers e19686315b Add news 2019-01-25 11:29:57 -08:00
Chris Jerdonek e5f4bbb7dd
Merge pull request #6191 from cjerdonek/long-record-lines
Allow and warn on RECORD lines with more than three elements
2019-01-24 12:22:45 -08:00
Chris Jerdonek 7f25059bf7 Allow and warn on RECORD lines with more than three elements. 2019-01-23 19:24:38 -08:00
Pradyun Gedam a006602b8c
Generate NEWS 2019-01-23 19:26:01 +05:30
Pradyun Gedam ab796656f0
Merge pull request #6171 from pradyunsg/fix/pep-517-building-assertion
Fix build directory assertion for a PEP 517/518 world
2019-01-23 17:46:07 +05:30
Pradyun Gedam 80976e0fcf
Remove NEWS fragments that didn't get deleted 2019-01-23 10:02:04 +05:30
Pradyun Gedam a1cd49abeb
📰 2019-01-23 10:00:50 +05:30
Pradyun Gedam 71945093f7
Generate NEWS for 19.0 2019-01-22 23:52:21 +05:30
Chris Jerdonek 7a9e1f344b Handle BrokenPipeError gracefully. 2019-01-20 15:49:49 -08:00
Jelmer Vernooij eb7d4b2178
Bazaar: Export directly from the remote branch.
This significantly improves performance, since it allows the remote
server to directly stream a tarball that just contains the requested
revision rather than the full repository contents.
2019-01-20 17:46:31 +00:00
Pradyun Gedam c90a3ff003
Update packaging to 19.0 2019-01-20 16:52:52 +05:30
Ami Fischman 2a90808387 Prefix user_log (--log) entries with timestamp (#6142)
Why? Eases post-facto analysis of time spent in different phases of pip operation.

Historical note:
767d11e49c (diff-b670e3b192038c9ffe810c1a12c0c51fL219)
made it so that pip invocations emit zero timestamp information to the log
file. Prior to that each pip invocation's start time was written out (search
that commit's diff for [strftime]).

Result: https://gist.github.com/fischman/f570886219de5c64a3b695300195c70a

Resolves https://github.com/pypa/pip/issues/6141
2019-01-20 03:02:22 -08:00
Donald Stufft 5074327bcb
Merge pull request #6147 from dstufft/warn-on-27
Warn on Python 2.7
2019-01-19 21:53:09 -05:00
Donald Stufft 71dbc9c3d5 Warn on Python 2.7 2019-01-19 14:54:07 -05:00
Pradyun Gedam 785ecf476a
Update requests to 2.21.0 2019-01-18 12:33:32 +05:30
Pradyun Gedam 45e356b1fa
Update pkg_resources to 40.6.3 (via setuptools) 2019-01-18 12:33:22 +05:30
Pradyun Gedam e772c0c9b4
Update pytoml to 0.1.20 2019-01-18 12:32:10 +05:30
Pradyun Gedam 5f2a936859
Update pep517 to 0.5.0 2019-01-18 12:31:14 +05:30
Pradyun Gedam f0de122e3d
Update idna to 2.8 2019-01-18 12:30:36 +05:30
Pradyun Gedam c42f16d707
Update distlib to 0.2.8 2019-01-18 12:29:43 +05:30
Pradyun Gedam 0071af5c8e
Update six to 1.12.0 2019-01-18 12:29:17 +05:30
Pradyun Gedam 7591a54b89
Update pyparsing to 2.3.1 2019-01-18 12:28:19 +05:30
Pradyun Gedam a90c04eee8
Update certifi to 2018.11.29 2019-01-18 12:27:32 +05:30
Pradyun Gedam 606c0edd63
Update urllib3 to 1.24.1 2019-01-18 12:26:27 +05:30
Pradyun Gedam e35524ae5d
Update colorama to 0.4.1 2019-01-18 12:24:18 +05:30
Xavier Fernandez b268c67f84 Deprecate Python 3.4 2019-01-12 22:08:24 +01:00
Xavier Fernandez a09913673f Redact index password from logs
Closes #6124
2019-01-10 10:47:19 +01:00
Xavier Fernandez 477147091e
Merge pull request #6116 from peterlisak/bug-fix-outdated-not-required
pip list --not-required --outdated should list only outdated packages…
2019-01-09 22:15:53 +01:00
Pradyun Gedam 8ff8e1fa9e
Merge pull request #6060 from pradyunsg/remove/dependency-links
Remove dependency links support
2019-01-07 08:49:13 +05:30
Chris Jerdonek e155b4778a
Merge pull request #6095 from cjerdonek/freeze-repo-with-no-remote
Address #4759: change freeze to support editable Git repos with no remote
2019-01-06 14:20:22 -08:00
Peter Lisák 4f35981085 pip list --not-required --outdated should list only outdated packages that are not dependencies of installed packages 2019-01-06 10:05:44 +01:00
Chih-Hsuan Yen 65270e53f8
Add a note in Vendoring Policies to remind of `vendored()` entries
To avoid future breakages like #4660, #5418 or #6056
2019-01-05 22:14:48 +08:00
Pradyun Gedam f6f4eb7808
📰 2019-01-02 17:27:34 +05:30
Chris Jerdonek 526ac40e63 Fix freeze to handle Git repos with no remote. 2018-12-21 01:10:06 -08:00
Paul Moore c5dc6aa784
Merge pull request #6029 from zooba/issue-3055
Fixes #3055 Uninstall causes paths to exceed MAX_PATH limit
2018-12-06 09:23:29 +00:00
Albert-Guan 465261a828 Document that empty environment variables are not treated as false (#5953) 2018-11-24 19:30:41 +05:30
Paul Moore 087d8254a7
Merge pull request #5410 from wtolson/manylinux2010
Manylinux2010
2018-11-22 11:07:49 +00:00
Steve Dower 508f9b11e4 Adds NEWS file 2018-11-21 13:17:47 -08:00
Donald Stufft 51eb885e78 Add a release task to upgrade CPython's bundled pip 2018-11-19 07:39:10 -05:00
Paul Moore 3a77bd667c
Merge pull request #5743 from pfmoore/pep517
PEP 517 implementation
2018-11-15 09:32:17 +00:00
Pradyun Gedam 507b90e117
Merge pull request #5949 from kynan/extend-docs
Add instructions for running pip from source to docs
2018-11-13 21:21:43 +05:30
Jason R. Coombs a66c696b99 Add news entry. Ref #6008. 2018-11-12 11:14:36 -05:00
Julian Gethmann f92ac73ccd Fix pypa#4733 by changing the failing example
This example did not make sense unless it was possible to install specify a
version of a package one installs referencing by the path (here: `.`).
A new example for the local installation with an extra has been added
instead.
2018-11-12 17:08:45 +01:00
Paul Moore 4ca38e0c38 Merge with master 2018-11-11 13:49:35 +00:00
Pradyun Gedam 4c04e2275a
Update 3662.bugfix 2018-11-09 12:23:51 +05:30
Chris Jerdonek fc1b1e4cf0
Merge pull request #5884 from cjerdonek/pip-no-cache-dir-var
Make PIP_NO_CACHE_DIR behave as it reads, and not crash pip
2018-11-08 14:19:48 -08:00
Chris Jerdonek b94d719f39 Make PIP_NO_CACHE_DIR disable the cache also if given a "true" value. 2018-11-08 03:43:56 -08:00
Pradyun Gedam 28cfd7d0b7
Merge pull request #5923 from psinghsodhi/stopPrintSt
Don't print stacktrace due to invalid req
2018-11-08 13:01:56 +05:30
Xavier Fernandez 38298779a1
Merge pull request #5986 from Albert-Guan/ISSUE5984
Issue5984
2018-11-07 10:50:51 +01:00
Adam Tse aa42f14ee3 Adding type annotations to pip._internal.utils.glibc (#5956)
* Added type annotations

* to satsify flake8 E402

* Update src/pip/_internal/utils/glibc.py

Co-Authored-By: atse <atse@users.noreply.github.com>
2018-11-06 15:07:18 +05:30
Pradyun Gedam 63f92ea5b9
Merge pull request #5945 from cytolentino/compat-typing
Add mypy annotations to pip._internal.compat
2018-11-06 15:03:49 +05:30
Pradyun Gedam b72a5daaa4
Merge pull request #5981 from theacodes/fix-my-name
Fix @theacodes' name in AUTHORS.txt
2018-11-06 13:55:21 +05:30
Chris Jerdonek 3803ce3cb0
Merge pull request #5905 from cjerdonek/issue-5031-freeze-non-vcs-editable
Address #5031: freeze non-vcs editable installs as editable
2018-11-05 14:21:42 -08:00
Pradyun Gedam 8882f420ad
Delete 5984.bugfix 2018-11-06 00:21:52 +05:30
cytolentino ecf90d4792 Add typing to compat.py 2018-11-05 12:12:03 +00:00
albertg e5756c823e add news fragment content 2018-11-04 16:22:34 -05:00
albertg f5d79471c3 add news fragment 2018-11-04 16:14:28 -05:00
Thea Flowers 31453e3c1b Fix @theacode's name in AUTHORS.txt 2018-11-02 10:58:14 -07:00
Pradyun Gedam 35701ea3cd
Merge pull request #5930 from cytolentino/basecommand-typing
Add mypy annotations to base_command.py
2018-10-31 01:57:46 +05:30
Pradyun Gedam afe98f3901
Merge pull request #5939 from cytolentino/internal-cache-typing
Add mypy annotations to pip._internal.cache
2018-10-31 01:51:42 +05:30
Pradyun Gedam d95bc267fd
Merge pull request #5960 from cytolentino/cmdoptions-typing
Add mypy annotations to pip._internal.cli.cmdoptions
2018-10-31 01:38:35 +05:30
Pradyun Gedam 5005769b99
Merge pull request #5932 from petr-tik/no4748-add-type-hints-to-internals
Added type hints to internals/utils
2018-10-31 01:30:50 +05:30
Pradyun Gedam 2ed581c79f
Merge pull request #5968 from cjerdonek/dry-up-parse-credentials
Use split_auth_from_netloc() inside MultiDomainBasicAuth
2018-10-30 18:45:35 +00:00
cytolentino f08b34887b Add typing to cache.py 2018-10-30 12:23:13 +00:00
Riccardo Magliocchetti 376abc0655 remove last user of SafeConfigParser
Fixes #5059
2018-10-30 12:11:04 +01:00
Pradyun Gedam 169cd10b3f
Merge pull request #5962 from elainechan/master
Adds hyperlinks to User IRC and Dev IRC in README.
2018-10-30 10:47:03 +00:00
Pradyun Gedam ca848a5068
Merge pull request #5958 from pradyunsg/docs/vendoring-info-from-docs
Include the Vendoring policy in the docs
2018-10-30 10:45:45 +00:00
Xavier Fernandez 7a3cbeed11
Merge pull request #5213 from hroncok/licenses
Add licenses for 3rd party libraries
2018-10-30 09:50:39 +01:00
Chris Jerdonek 5c93250fa9
Merge pull request #5875 from uranusjr/egg-info-canonical
Rewrite egg_info_matches with canonicalize_name
2018-10-30 01:30:40 -07:00
Chris Jerdonek 8166eb6c32 Percent-decode special characters in SVN URL credentials. 2018-10-29 22:12:51 -07:00
Paul Moore ab3e21635a Add a news file 2018-10-29 23:32:13 +01:00
Yuan Jing Vincent Yan 4ccea7e67a Improve documentation in misc.py 2018-10-29 22:40:16 +01:00
Miro Hrončok eb8ddba8d6 Add automation for fetching licenses of 3rd party libraries
See https://github.com/pypa/pipenv/issues/1961
2018-10-29 22:02:07 +01:00
Xavier Fernandez bc5ac33a4d
Merge pull request #5933 from AceGentile/fix_issue_5888
remove egg version from pip install command reference
2018-10-29 15:55:49 +01:00
elainechan 138059e01e Changes news item to .trivial. 2018-10-28 15:50:57 -04:00
elainechan a9bd143ab1 Adds news entry for issue #5961 pull request. 2018-10-28 15:22:50 -04:00
cytolentino 0dbdb6250b Add typing to cmdoptions.py 2018-10-28 16:44:00 +00:00
Adam Tse 9874c46d38 Replaced comment-matching regex with an equivalent to works in Jython too. 2018-10-28 14:59:54 +00:00
Pradyun Gedam cf9785708b
📰 2018-10-28 14:55:58 +00:00
Florian Rathgeber 6e9b0047b3 Add news entry 2018-10-28 14:20:02 +00:00
Pradyun Gedam b47b2fa8e6
Merge pull request #5841 from benoit-pierre/fix_python_src/pip
fix support for invoking pip using `python src/pip ...`
2018-10-28 12:35:53 +00:00
petr-tik 55f6787c04 Added type hints
Found a potential bug i.e. missing return statement in check_path_owner. If
while loop falls through without returning,
return a defensive False

Added a trivial file as per the contributor guidelines

Make linter happy - ignore "unused" import
2018-10-27 15:37:29 +01:00
Pradyun Gedam 2d2350696a
Update and rename 5888.bugfix to 5888.doc
Changed to mention that it removes the reference to the removed reference.
2018-10-27 15:33:09 +01:00
Chris Jerdonek afdfb7b210 Include package name in a freeze warning if package is not installed. 2018-10-27 06:50:15 -07:00
cytolentino 12a2334429 Add mypy annotations to base_command.py 2018-10-27 13:28:06 +01:00
AceGentile 69037caa0c remove egg version from pip install command reference
fix #5888
2018-10-27 12:51:57 +02:00
Prabhjyotsing Surjit Singh Sodhi e34b19b02a Don't print stacktrace due to invalid req 2018-10-26 12:03:31 -04:00
lakshmanaram c5331dac51 adding trivial file 2018-10-26 16:31:14 +01:00
László Kiss Kollár 6bb09a11ad Add news entry 2018-10-26 13:33:22 +01:00
Chris Jerdonek 951e0cba51
Fix #5868: TypeError in move_wheel_files(). (#5883) 2018-10-24 09:19:58 -07:00
Chris Jerdonek ece4866086 DRY up the test code to create a module with a main() function. 2018-10-23 00:06:06 -07:00
Xavier Fernandez 3b8c076c1f
Merge pull request #5842 from takluyver/i5839
Don't crash on invalid requirements in installed packages
2018-10-22 17:22:04 +02:00
Chris Jerdonek 20ab0b8b75 Address #5031: freeze editable, non-VCS installs as editable. 2018-10-22 02:03:42 -07:00
Tzu-ping Chung 3368819156 Split, simplify, and fix egg_info_matches 2018-10-22 16:46:42 +08:00
Chris Jerdonek 4e6bdf6adc
Merge pull request #5881 from cjerdonek/remove-vcs-get-src-requirement
Remove the module-level get_src_requirement().
2018-10-22 01:43:04 -07:00
wim glenn 3a6a1c06a9 Remove dead code: `import_or_raise` utility function (#5876)
* Remove dead code import_or_raise utility function

* add news marker
2018-10-21 22:15:27 +02:00
Dave Jones 62c27dee45 Use ZipFile.open instead of ZipFile.read (#5848)
To avoid huge memory usage in unusual situations (e.g. a TensorFlow
wheel on a Raspberry Pi), use ZipFile.open and shutil.copyfileobj
instead of reading all the decompressed data into a byte-string.
2018-10-19 10:32:30 -07:00
Jon Dufresne 2d545dd9c8 Prefer io.BytesIO over six; available on all supported Pythons
On all supported Pythons, the io.BytesIO is always a stream
implementation using an in-memory bytes buffer. Makes code slightly more
forward compatible by reducing use of the six module.
2018-10-19 13:52:58 +02:00
Chris Jerdonek c72b752bf7
Improve TestUnpackArchives to also test the contents of the extracted files (#5891) 2018-10-19 03:58:51 -07:00
Tom Forbes 78371cc950 Redact basic authentication passwords from log messages (#5773)
Redact basic authentication passwords from URLs.
2018-10-19 02:06:10 -07:00
Xavier Fernandez 7f3b2c1f92
Merge pull request #5659 from patter001/master
fix for: Incorrect username/password gives misleading error
2018-10-16 14:39:02 +02:00
Benoit Pierre 83b879b1ec Improve PEP 518 build isolation (#5824)
Handle .pth files, so namespace packages are correctly supported under Python 3.2 and earlier, and more.
2018-10-16 12:04:28 +05:30
Chris Jerdonek 5ad0379e8d Remove the module-level function get_src_requirement(). 2018-10-13 02:15:33 -07:00
Chris Jerdonek 1228f64ec0
Merge pull request #5873 from cjerdonek/remove-get-backend-from-location
Simplify vcs.get_src_requirement().
2018-10-13 00:57:17 -07:00
Chris Jerdonek 8dbbe165f8
Merge pull request #5838 from uranusjr/htmlpage-extract-breakdown-get-page
Refactor _get_html_page() to use exceptions for flow control
2018-10-11 12:27:17 -07:00
Tzu-ping Chung d4da76ceaa Move directory check out of _get_html_response()
This also "fixes" an edge case where a directory is dropped if it is
named like an archive.
2018-10-11 17:45:11 +08:00
Chris Jerdonek 2f16b88fb3 Refactor away VcsSupport.get_backend_from_location(). 2018-10-10 02:16:00 -07:00
Chris Jerdonek 500598287d Remove deprecated SVN-specific freeze code. 2018-10-08 22:27:04 -07:00
Xavier Fernandez 3832020a1f
Merge pull request #5483 from popravich/retry_fix
Handle RetryError in HTMLPage (fixes #5270)
2018-10-08 23:12:34 +02:00
Chris Jerdonek 16333ef1da Add first guard clause. 2018-10-08 11:29:39 -07:00
Chris Jerdonek 69b5917bc1
Merge pull request #5836 from uranusjr/bugfix-warn-directory-path-drop-index-url
Warn when dropping index URL value to directory
2018-10-08 11:20:35 -07:00
Pradyun Gedam 2c0da26c1d
Generate NEWS for 18.1 2018-10-05 01:51:30 +05:30
Pradyun Gedam c759504217
Merge pull request #5798 from pradyunsg/improve-configuration-handling
Improve configuration handling
2018-10-04 14:27:42 +05:30
Benoit Pierre 464b2f30a8 fix support for invoking pip using `python src/pip ...`
Ensure the subprocess call to pip for installing the PEP 518
build dependencies is using the same version of pip.
2018-10-02 12:15:03 +02:00
Thomas Kluyver 7343154a62 Add news entry 2018-10-02 12:13:00 +02:00
Alexey Popravka ad640916cf add news fragments 2018-10-02 12:53:06 +03:00
Tzu-ping Chung 8dcae5ba48 Warn when dropping index URL value to directory 2018-10-01 14:50:09 +08:00
Chris Jerdonek b6bbabe3e7
Merge pull request #5833 from uranusjr/htmlpage-extract-trimming
Move static methods out of HTMLPage
2018-09-30 23:12:06 -07:00
Pradyun Gedam 4a07894b21
Merge pull request #5831 from pradyunsg/vendoring/18.1-updates
Vendoring updates for 18.1
2018-09-30 23:51:50 +05:30
Pradyun Gedam 34d5af662f
Merge branch 'master' into improve-configuration-handling 2018-09-30 23:04:55 +05:30
Tzu-ping Chung 8f432f503e News 2018-09-30 17:46:21 +08:00
Chris Jerdonek 356dc432f7
Merge pull request #5818 from cjerdonek/simplify-from-dist
Add FrozenRequirement._init_args_from_dist() helper method
2018-09-30 02:28:53 -07:00
Tzu-ping Chung 00c043d144 Add unit tests for egg_info_matches 2018-09-30 01:41:06 +08:00
Pradyun Gedam 50ab3bf51e
Upgrade pytoml to 0.1.19 2018-09-29 18:15:46 +05:30
Pradyun Gedam 04c6e5b27e
Upgrade packaging to 18.0 2018-09-29 18:15:29 +05:30
Pradyun Gedam 619b91e334
Upgrade certifi to 2018.8.24 2018-09-29 18:15:29 +05:30
Pradyun Gedam 9cec269d19
Upgrade pkg_resources to 40.4.3 (via setuptools) 2018-09-29 18:15:29 +05:30
Pradyun Gedam 773f16111f
Merge pull request #5796 from hugovk/upgrade-pyparsing
Upgrade pyparsing from 2.2.0 to 2.2.1
2018-09-29 18:14:34 +05:30
Tzu-ping Chung 69e1e18285 News fragment 2018-09-28 15:58:22 +08:00
Donald Stufft f4a41a2048
Merge pull request #5819 from uranusjr/htmlpage-clean
HTMLPage cleanup and egg_info_matches fix
2018-09-27 10:21:22 -04:00
Tzu-ping Chung 9d1c2dbe29 News 2018-09-27 15:50:21 +08:00
Chris Jerdonek 309cb37091 Add FrozenRequirement._init_args_from_dist() helper method. 2018-09-26 22:11:27 -07:00
Chris Jerdonek 520df5356f Add misc.make_vcs_requirement_url(). 2018-09-25 01:31:34 -07:00
Chris Jerdonek 59b8a80c9b Remove two unreachable returns in VersionControl.get_src_requirement(). 2018-09-20 00:34:05 -07:00
Pradyun Gedam 6a18c24803
Show error messages when configuration-related errors occur 2018-09-20 11:18:22 +05:30
Pradyun Gedam d5b363be5b
Revert "Limit progress updates to avoid swamping the TTY" 2018-09-19 09:19:08 +05:30
hugovk 9a97ac7147 Add news file for pyparsing upgrade 2018-09-18 21:33:30 +03:00
Pradyun Gedam 392cb09b50
Merge pull request #5723 from cjerdonek/vcs-add-git-get-branch
Fix the "new install" case of issue #2037
2018-09-18 19:59:59 +05:30
Donald Stufft dcc3c16b54 Only revalidate /simple/ pages instead of caching for 10 minutes 2018-09-18 06:54:51 -04:00
Laurie Opperman b441c15956 Add news fragment 2018-09-17 22:10:31 +10:00
Jon Dufresne 8136b410f7 Correct capitalization of PyPI
As spelled on https://pypi.org/.
2018-09-16 15:30:52 -07:00
Bernhard M. Wiedemann f4bda78815 Sort list of RECORD entries
Without sorting, the 'installed' hash had entries in random order
that caused output to differ for every run.

See https://reproducible-builds.org/ for why this matters.

Sorting all entries to make testing easier.
2018-09-11 13:51:33 +02:00
Pradyun Gedam 1e0247f078
Allow passing cache_dir as False to SelfCheckState 2018-09-06 00:43:59 +05:30
Pradyun Gedam 885a000775
Disable pip's version check for commands that do not touch the index 2018-09-06 00:23:52 +05:30
Pradyun Gedam 0d9c05ec32
Merge pull request #5693 from sinscary/format_control_refactor
Refactoring: Move FormatControl to separate class
2018-09-04 19:03:24 +05:30
Pradyun Gedam 130ee31a20
Merge pull request #5756 from techtonik/patch-6
Fix template link for adding NEWS entry
2018-09-04 18:54:53 +05:30
Pradyun Gedam 32db2d6168
Rename 5753.doc to 5753.trivial 2018-09-04 00:42:34 +05:30
anatoly techtonik 6cc9e0539e
Create 5753.doc 2018-09-03 20:57:26 +03:00
Jonathan Herbert bcbf8cc2d5 Add news file for https://github.com/pypa/pip/pull/5748 2018-09-02 10:51:48 -04:00
Nitesh Sharma e10a613212 Refactoring: Move FormatControl to separate class
This moves FormatControl named tuple and it's all related
methods to separate class.

Closes https://github.com/pypa/pip/issues/5592
2018-08-28 21:12:42 +05:30
Pradyun Gedam 2b3609a37d
Merge pull request #5664 from cjerdonek/issue-5375-svn-ssh-auth
Fix #5375: add editable install support for svn+ssh URLs with a username
2018-08-22 08:33:08 +05:30
Chris Jerdonek 06f329059d Update fetch_new() to checkout the correct branch. 2018-08-21 04:00:35 -07:00
Chris Jerdonek 8d6f7b56fa Add Git.get_branch(). 2018-08-21 04:00:35 -07:00
Chris Jerdonek f97baf9300 Add a test of installing from a repo with a non-master default branch. 2018-08-19 17:15:45 -07:00
Pradyun Gedam 1073b66b11
Merge pull request #5718 from cjerdonek/dry-up-with-install-version-pkg
DRY up test_install_vcs_git.py with _install_version_pkg()
2018-08-20 05:24:27 +05:30
Chris Jerdonek 1067c3abc6 DRY up test_install_vcs_git.py with _install_version_pkg(). 2018-08-19 12:17:10 -07:00
Chris Jerdonek 40555250c6 Remove unneeded @pytest.mark.network's inside test_install_vcs_git.py. 2018-08-19 03:36:14 -07:00
Chris Jerdonek 749c898a41 DRY up test_install_vcs_git.py with _checkout_into_temp(). 2018-08-18 23:37:46 -07:00
Chris Jerdonek b798e328aa DRY up test_install_vcs_git.py with _make_version_pkg_url(). 2018-08-18 20:53:15 -07:00
Chris Jerdonek 4e8cde753d Rename tests/functional/test_install_vcs.py to test_install_vcs_git.py. 2018-08-16 22:14:59 -07:00
Pradyun Gedam 7ab40252e6
Merge pull request #5623 from cjerdonek/vcs-fix-install-git-ref
Fix #5624: installing a Git ref for installs other than the first
2018-08-17 09:20:48 +05:30
Chris Jerdonek e1e3c07cc6 Improve NEWS entry.
This addresses a review comment by @di.
2018-08-14 13:43:26 -07:00
Pradyun Gedam 62b03f2a3a
Merge pull request #5124 from gaul/ui/limit-progress
Limit progress updates to avoid swamping the TTY
2018-08-13 23:32:10 +05:30
Pradyun Gedam 20127bfe98
Merge pull request #5404 from sixninetynine/feature/platforms_for_target
Open up plat/abi/impl options to `install --target`
2018-08-12 22:09:01 +05:30
Pradyun Gedam 207a2393d4
Merge pull request #5698 from cjerdonek/simplify-test-bazaar-get-url-rev-and-auth
Simplify test_bazaar__get_url_rev_and_auth()
2018-08-12 18:10:39 +05:30
Paul Moore 78144e264a
Merge pull request #5692 from pfmoore/pep517
Refactorings and work in preparation for PEP 517
2018-08-11 08:35:36 +01:00
Chris Jerdonek d5af777d0d Fix issue #5624: installing a Git ref for installs after the first. 2018-08-08 00:16:57 -07:00
Chris Jerdonek 8d0423fcbb Simplify test_bazaar__get_url_rev_and_auth(). 2018-08-07 09:06:30 -07:00
Loren Carvalho cddcb1407f Open up plat/abi/impl options to `install --target`
* Move dist restriction options to be re-usable (between install/download)
* Make dist restriction options usable in `install` (exclusively with --target)
* Add a check_supported_wheels bool to RequiriementSet for non-resolved (full path) dependencies
2018-08-05 16:13:20 -05:00
Chris Jerdonek 48b55eb95e Combine tests/functional/test_vcs.py with other test modules. 2018-08-02 13:28:16 -07:00
Paul Moore cfe892f21b Vendor the pep517 library 2018-08-01 11:16:22 +01:00
Pradyun Gedam 8650edd017
Merge pull request #5561 from pradyunsg/python-3.7
Document support for Py3.7 and enable testing of Py3.8-dev
2018-07-30 08:27:48 +05:30
Segev Finer b0a6737070 Add news/5671.bugfix 2018-07-30 02:49:55 +03:00
Chris Jerdonek e1d60f850b Fix #5375: add editable install support for svn+ssh URLs with a username. 2018-07-29 01:08:15 -07:00
Pradyun Gedam 7f4673d7a2
Merge pull request #5644 from sinscary/fix_invalid_val_error
Show appropriate error message
2018-07-27 18:38:51 +05:30
Kevin R Patterson aef521ee61 give 401 warning if username/password do not work for URL 2018-07-26 17:14:16 -05:00
Chris Jerdonek 58b21d18dc Add split_auth_from_netloc() to misc.py. 2018-07-25 10:35:50 -07:00
Chris Jerdonek 1a9128dcfc Fix the "+" check in VersionControl.get_url_rev_and_auth() (#5651)
* Add tests, including a failing test.

* Fix "+" check in VersionControl.get_url_rev_and_auth().

* Change AssertionError to ValueError.

This addresses a review comment by @pradyunsg and @xavfernandez.

* Use "!r" inside the format string.

This incorporates a suggestion by @barneygale.
2018-07-25 09:42:13 +02:00
Nitesh Sharma e5dc3cf854 show error message with wrong configuration option 2018-07-24 23:10:02 +05:30
Pradyun Gedam b3473b329d
Merge branch 'master' into python-3.7 2018-07-24 23:08:09 +05:30
Pradyun Gedam ef6c2f7229
Merge pull request #5635 from jcfr/fix-userguide-reference
user_guide: Fix "Requirements Files" reference
2018-07-24 08:45:04 +05:30
Nitesh Sharma 01a0fa5f04 Show appropriate error message
This catches code exception if wrong arguments passed to cmd options
It also adds error message that suggests correct arguments to pass

Fixes: https://github.com/pypa/pip/issues/5616
2018-07-23 21:44:16 +05:30
Pradyun Gedam 09bcdd5d5f
Merge pull request #5636 from cjerdonek/vcs-remove-translate-egg-surname
Remove the unused VersionControl.translate_egg_surname()
2018-07-23 17:52:46 +05:30
Pradyun Gedam 531be4f886
Merge pull request #5571 from bstrdsmkr/pep508_urls_as_deps
Allow PEP508 url dependencies in install_requires
2018-07-23 15:13:42 +05:30
Chris Jerdonek a1e3275287 Remove the unused VersionControl.translate_egg_surname(). 2018-07-22 11:42:17 -07:00
Jean-Christophe Fillion-Robin 9c92c618a4
user_guide: Fix "Requirements Files" reference 2018-07-22 14:13:34 -04:00
Pradyun Gedam a2968978c9
Merge pull request #5606 from cjerdonek/vcs-parse-url-once
Change VersionControl to parse the URL only once inside get_url_rev().
2018-07-22 23:37:01 +05:30
Pradyun Gedam 43fe0c1e70
Generate NEWS for 18.0 2018-07-22 11:12:38 +05:30
Pradyun Gedam 6b1d412948
📰 2018-07-21 16:36:34 +05:30
Pradyun Gedam c18f19a6a4
Don't warn if pyproject.toml does not contain build-system.requires 2018-07-21 12:58:27 +05:30
Pradyun Gedam 7071efe2a6
Rewrite certain NEWS fragments 2018-07-20 10:31:20 +05:30
Pradyun Gedam c682d98a98
Remove not useful NEWS fragments 2018-07-20 10:30:40 +05:30
Pradyun Gedam b10ae89ebf
Add periods to all NEWS fragments 2018-07-20 10:30:21 +05:30