Commit Graph

7994 Commits

Author SHA1 Message Date
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 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
Chris Hunt 3328e811d1 Normalize style 2019-09-27 01:03:47 -04:00
Chris Hunt cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Pradyun Gedam ec5e9d30d3
Improve move_to_correct_build_directory
Why: Changes made are IMO much clearer, with a step by step flow to this
method that is easier to reason about.
2019-09-27 10:32:25 +05:30
Pradyun Gedam b01f301c75
Update get_dist to directly use metadata_directory 2019-09-27 10:32:25 +05:30
Pradyun Gedam 26fd8f24b0
Always set InstallRequirement.metadata_directory
Why: expecting metadata_directory to exist, once metadata is generated,
is easier to reason about, than considering that some kinds of
distributions set it while others do not.
2019-09-27 10:32:24 +05:30
Pradyun Gedam e7bd10115e
Start returning metadata directory from metadata generators
Why: Since the result is a single directory and it's better for the
resposibility of computing the exact location of the metadata directory
should be with the generator, that generates it.
2019-09-27 10:32:21 +05:30
Pradyun Gedam 33b0240082
Rename {setup_py_dir -> unpacked_source_directory} (#7086) 2019-09-27 10:29:37 +05:30
Chris Hunt 6ce7217a53 Move PipSession helper functions to network.session
This new module is a catch-all for PipSession helpers.
2019-09-27 00:55:06 -04: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
Pradyun Gedam c6a2f0aac7
Rename {setup_py_dir -> unpacked_source_directory}
Why: Because PEP 517 means you won't have a setup.py in your unpacked sources.
2019-09-27 00:53:24 +05:30
Christopher Hunt 3b7d2eee5e
Merge pull request #7061 from chrahunt/refactor/move-code-out-of-init
Move code out of pip._internal.__init__
2019-09-26 13:36:35 -04:00
Pradyun Gedam 5713057db2
Rewrap all of user_guide.rst at 80 characters 2019-09-26 13:21:40 +05:30
Pradyun Gedam b926290a50
Merge pull request #7078 from pradyunsg/revamp-linting-processes
Revamp linting processes
2019-09-25 20:57:36 +05:30
Pradyun Gedam b447f438df
Move path_to_url() to utils/urls.py (#7075) 2019-09-25 10:00:33 +05:30