Commit Graph

8121 Commits

Author SHA1 Message Date
Pradyun Gedam 1ad0495fdd
Rename {run -> runner}_with_spinner_message 2019-09-30 12:17:07 +05:30
Pradyun Gedam 65621002fc
Use run_with_spinner_message() for "setup.py install" 2019-09-30 12:16:50 +05:30
Pradyun Gedam 489312e4d9
Stop monkeypatching InstallRequirement.pep517_backend 2019-09-30 12:16:50 +05:30
Pradyun Gedam 46bd454e3e
Use pep517.Pep517HookCaller.subprocess_runner
Also, create a new utility function for showing a spinner when running
a subprocess.

Why: The subprocess_runner API was specifically added to make it
possible for pip to stop monkey-patching Pep517HookCaller, while still
maintaining its output style. The relevant monkeypatch will be removed
in a follow up commit.
2019-09-30 12:16:45 +05:30
Pradyun Gedam 27fdffbab6
Remove dependency of utils.logging on utils.suprocess 2019-09-30 12:00:13 +05:30
Pradyun Gedam e9d79db6c4
Move tests for utils.subprocess to dedicated file 2019-09-30 11:42:08 +05:30
Pradyun Gedam 2eafb0218b
Update all the imports as needed 2019-09-30 11:15:24 +05:30
Pradyun Gedam d1bfeec18a
Move subprocessing related utilities to utils.subprocess 2019-09-30 11:15:06 +05:30
Christopher Hunt af6f719a91
Merge pull request #7103 from pradyunsg/cleanup-warning-tests
Cleanup warning tests
2019-09-29 18:48:03 -04:00
Xavier Fernandez daae7f96f5 Add missing disallow-untyped-defs=False comment 2019-09-30 00:32:39 +02:00
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Christopher Hunt 8652923365
Merge pull request #7113 from chrahunt/bugfix/fix-backticks-in-triage-guide
Single backticks to double backticks in triage guide
2019-09-29 15:28:39 -04:00
Chris Hunt dc50948c3c Single backticks to double backticks in triage guide 2019-09-29 11:27:06 -04:00
Pradyun Gedam 6b74f2eccb
Initial triage guide (#6868) 2019-09-29 12:32:27 +05:30
Pradyun Gedam c584f76cf8
Add development commands to nox (#7099) 2019-09-29 08:59:44 +05:30
Pradyun Gedam 716afdb4cf
Merge pull request #7105 from mkurnikov/mypy-730
Update to mypy==0.730
2019-09-29 08:33:58 +05:30
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 3fa879516c
Merge pull request #7106 from pypa/pradyunsg-patch-1
Delete mypy.txt
2019-09-28 15:41:45 -04:00
Maxim Kurnikov 64dacbf888 update mypy to 0.730 2019-09-28 17:42:27 +03:00
Pradyun Gedam 0f093c1f76
Delete mypy.txt 2019-09-28 19:55:38 +05:30
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 2bb8ee6ae3
Sort imports for the greater good 2019-09-28 18:16:34 +05:30
Pradyun Gedam 3a77de3c7d
Split tests for different functionality 2019-09-28 18:16:34 +05:30
Pradyun Gedam e670f90219
Generate temporary file in a fixture 2019-09-28 18:16:34 +05:30
Pradyun Gedam f3c1519160
Improve name and docstring 2019-09-28 18:15:13 +05:30
Pradyun Gedam 03392873ec
Refactor metadata directory handling (#7087) 2019-09-28 17:34:43 +05:30
Pradyun Gedam 1cbc28a28c
Simplify handling of PEP 517 metadata temp dir (#7100) 2019-09-28 15:35:00 +05:30
Pradyun Gedam f916fbe333
Simplify handling of PEP 517 metadata temp dir 2019-09-28 12:17:41 +05:30
Pradyun Gedam ad33ecef74
Move PipSession to network.session (#7089) 2019-09-28 11:55:15 +05:30
Pradyun Gedam 8ba9c1470d
Add a note that the nox commands are a "prototype" 2019-09-28 11:26:41 +05:30
Pradyun Gedam 20b58c33fa
Bring in useful comments from tox.ini 2019-09-28 11:26:28 +05:30
Pradyun Gedam 51dc60f8a7
Parallelize tests as much as possible, by default 2019-09-28 11:25:56 +05:30
Pradyun Gedam 8bff9dca6f
Merge pull request #7079 from pradyunsg/rewrap-user-guide
Rewrap user guide
2019-09-28 08:16:01 +05:30
Pradyun Gedam efd1843af2
Merge pull request #7098 from atugushev/remove-unused-assignment
Remove unused assignment
2019-09-28 08:04:38 +05:30
Christopher Hunt 53072c508b
Merge pull request #7080 from atugushev/yanked-files-functional-tests-6653
Add functional tests for 'yanked' files
2019-09-27 21:48:57 -04:00
Albert Tugushev c6e9a9eab4 Remove unused assignment 2019-09-28 01:46:04 +03:00
Albert Tugushev e41c5f868c Address review comments
Fix typos.

Co-Authored-By: Christopher Hunt <chrahunt@gmail.com>
2019-09-28 01:07:48 +03:00
Albert Tugushev 1a3b84060d Add functional tests for 'yanked' files 2019-09-28 01:07:48 +03:00
Pradyun Gedam 2f57f91110
More accurate docstring 2019-09-27 23:30:37 +05:30
Pradyun Gedam a9ae6deacc
Add development commands to nox
Why: To enable using a single tool for release management as well as
development automation.
2019-09-27 23:30:01 +05:30
NtaleGrey eb93a21b8b rename news file 2019-09-27 20:18:08 +03:00
Pradyun Gedam a0044856d7
No need to create a virtualenv for generate_authors 2019-09-27 22:31:12 +05:30
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
NtaleGrey 9ba442362f remove DependencyWarning warning from pip._internal 2019-09-27 14:27:08 +03:00
Pradyun Gedam 828cbba70f
Merge pull request #7092 from pradyunsg/remove-packaging-from-tox
Remove the testenv:packaging sections from tox.ini
2019-09-27 13:31:08 +05:30
Pradyun Gedam 87a3e75487
Remove the testenv:packaging sections from tox.ini
Why: Because we no longer need it and it's covered in tox -e lint now.
2019-09-27 10:44:57 +05:30
Chris Hunt c40331e824 Add docstring to network.session 2019-09-27 01:05:24 -04:00