Chris Jerdonek
cc2d299f76
Error out if installing a pyproject.toml-style (PEP 517) project in editable mode.
2019-03-14 05:49:39 -07:00
Chris Jerdonek
f66c1f7639
Refactor out read_pyproject_toml() and resolve_pyproject_toml().
2019-03-12 03:32:38 -07:00
Chris Jerdonek
1599d65d36
Merge pull request #6312 from cjerdonek/subprocess-tests-and-spinner-fixes
...
Test call_subprocess more thoroughly; fix spinner edge cases
2019-03-11 23:19:58 -07:00
Steve Dower
293c91ee8a
Configuration files may now also be stored under sys.prefix
( #6268 )
...
* Rename kinds.VENV to kinds.SITE and site_config_files to global_config_files
* Add tests for config file options
* Deprecate --venv in pip config
2019-03-07 11:14:56 +05:30
Juanjo Bazán
61e5970fa4
Fix typo (extra parenthesis). ( #6316 )
2019-03-06 03:43:20 -08:00
Chris Jerdonek
fe793722b1
Fix a couple spinner edge cases.
2019-03-03 11:05:39 -08:00
Chris Jerdonek
ffefa91f2f
Improve the call_subprocess() tests.
2019-03-03 10:54:03 -08:00
Chris Jerdonek
4589ed464e
Merge pull request #6311 from hroncok/i6054
...
Fix utils.encoding.auto_decode() LookupError with invalid encodings
2019-03-01 12:56:17 -08:00
Miro Hrončok
d48475d008
Fix utils.encoding.auto_decode() LookupError with invalid encodings
...
utils.encoding.auto_decode() was broken when decoding Big Endian BOM
byte-strings on Little Endian or vice versa.
The TestEncoding.test_auto_decode_utf_16_le test was failing on Big Endian
systems, such as Fedora's s390x builders. A similar test, but with BE BOM
test_auto_decode_utf_16_be was added in order to reproduce this on a Little
Endian system (which is much easier to come by).
A regression test was added to check that all listed encodings in
utils.encoding.BOMS are valid.
Fixes https://github.com/pypa/pip/issues/6054
2019-03-01 20:16:18 +01:00
Daniele Esposti
729404d4c5
Redact the password from the extra index URL in log messages ( #6295 )
2019-03-01 04:21:45 -08:00
Chris Jerdonek
1fdd7e26c5
Merge pull request #6139 from jelmer/bazaar-export-perf
...
Bazaar: Export directly from the remote branch.
2019-03-01 01:36:02 -08:00
Paul Moore
0d36e8c719
Merge pull request #6308 from jakirkham/rm_xtra_dot_docs
...
Remove extra `.` in docs
2019-02-28 19:14:33 +00:00
jakirkham
9360648b34
Remove extra .
2019-02-28 13:10:24 -05:00
Pradyun Gedam
df80be3591
Merge pull request #6303 from cjerdonek/issue-5749-no-cache-dir
...
Whether to build wheels is no longer affected by --no-cache-dir.
2019-02-28 14:49:40 +05:30
Chris Jerdonek
a2ed253788
Whether to build wheels is no longer affected by --no-cache-dir.
2019-02-27 20:38:09 -08:00
Chris Jerdonek
8e531be255
Refactor out build_wheels(), and test.
2019-02-27 20:36:25 -08:00
Paul Moore
c9df690f3b
Merge pull request #6305 from pfmoore/pep517_build_options
...
Reject --build-options for PEP 517 builds
2019-02-27 22:03:11 +00:00
Paul Moore
8b7c23d05c
Make flake8 shut up
2019-02-27 18:04:50 +00:00
Paul Moore
91ab257aa2
Add a news fragment
2019-02-27 17:53:23 +00:00
Paul Moore
1528d50902
Stupid typo
2019-02-27 17:50:42 +00:00
Paul Moore
9921442d1f
Reject --build-options for PEP 517 builds
2019-02-27 17:40:52 +00:00
Chris Jerdonek
62cfaf0fc7
Merge pull request #6299 from cjerdonek/prefix-warn-messages
...
Prefix warning and error log messages
2019-02-27 04:55:05 -08:00
Chris Jerdonek
8d78ff0fce
Prefix warning and error log messages.
2019-02-27 03:22:26 -08:00
Pradyun Gedam
c2661efe19
Merge pull request #6300 from pradyunsg/docs/dev-docs-flake8-revision
...
Remove note about flake8 noqa comments
2019-02-26 11:12:27 +05:30
Pradyun Gedam
45d16ac83e
Remove note about flake8 noqa comments
2019-02-25 22:10:00 +05:30
Chris Jerdonek
821247dc36
Merge pull request #6273 from cjerdonek/issue-5499-detect-ci-for-user-agent
...
Fix #5499 : Include in pip's User-Agent whether it looks like pip is in CI
2019-02-24 14:24:55 -08:00
Chris Jerdonek
b88239918b
Merge pull request #6290 from cjerdonek/add-format-command
...
Add format_command_args().
2019-02-24 13:23:51 -08:00
Jon Dufresne
5779f55bd4
Replace six.next() with builtin next()
...
The builtin has been available since Python 2.6. Makes the code slightly
more forward compatible by removing an unnecessary use of six.
2019-02-24 22:04:16 +01:00
Xavier Fernandez
c286c55d51
Tweak tests & url_to_path after review
2019-02-24 21:40:25 +01:00
Benoit Pierre
61baf5fe80
improve handling of file URIs
2019-02-24 21:40:25 +01:00
Pradyun Gedam
54c0538583
Merge pull request #6294 from atugushev/patch-1
...
Use link.is_artifact property instead of scheme checking
2019-02-24 22:43:06 +05:30
Pradyun Gedam
d4217f0cc3
Merge pull request #6129 from asottile/dead
...
delete some dead code
2019-02-24 22:08:16 +05:30
Pradyun Gedam
94a06ead43
Merge pull request #6263 from hroncok/mark_network
...
Mark 3 tests as network tests
2019-02-24 22:07:49 +05:30
Albert Tugushev
f0f31998d5
Use is_artifact prop instead of scheme checking
2019-02-23 11:55:37 +03:00
Pradyun Gedam
04f1e70427
Merge pull request #6282 from mkurnikov/update-flake8-to-3.7.6
...
Update flake8 to 3.7.6
2019-02-22 21:56:28 +05:30
Maxim Kurnikov
c4dfdbe265
remove unused imports
2019-02-22 14:18:46 +03:00
Maxim Kurnikov
7977443556
remove unused exc variable
2019-02-22 14:17:49 +03:00
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Maxim Kurnikov
630961c892
ignore W504
2019-02-22 14:07:35 +03:00
Maxim Kurnikov
13bb70f28a
fix indentation errors
2019-02-22 14:06:08 +03:00
Maxim Kurnikov
75c4f4a298
update flake8 to 3.7.6
2019-02-22 14:05:53 +03:00
Chris Jerdonek
87f0539b78
Change format_command_result() to use format_command_args().
2019-02-22 02:52:06 -08:00
Chris Jerdonek
0f6776388c
Change format_command() to use shlex.quote().
2019-02-22 02:52:06 -08:00
Chris Jerdonek
1d0645e86f
Add format_command_args() with tests.
2019-02-22 02:52:02 -08:00
Chris Jerdonek
aec72bd0cd
Add log divider variable.
2019-02-22 00:14:58 -08:00
Pradyun Gedam
cba6083f92
Merge pull request #6287 from mkurnikov/mypy-670
...
Update mypy to 0.670
2019-02-22 07:17:54 +05:30
Maxim Kurnikov
8fd009850a
remove unused # type: ignore
2019-02-22 00:40:57 +03:00
Maxim Kurnikov
4ddfcb9227
rename variable to fix mypy redefinition error
2019-02-22 00:40:29 +03:00
Maxim Kurnikov
bd06107923
update mypy to 0.670
2019-02-22 00:39:40 +03:00
Anthony Sottile
2c53b709cd
Remove hidden
...
last reference removed in 8447f39fe1
2019-02-20 11:51:24 -08:00