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

7974 commits

Author SHA1 Message Date
Christopher Hunt
d27488d288
Merge pull request #7094 from Nta1e/b7091
Remove DependencyWarning warning from pip._internal
2019-09-28 09:16:24 -04: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
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
NtaleGrey
eb93a21b8b rename news file 2019-09-27 20:18:08 +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
Pradyun Gedam
108f9b6786
Cleanup InstallRequirement.egg_info_path (#7081) 2019-09-25 09:34:09 +05:30
Pradyun Gedam
9798d0fff2
Dedent hooks in .pre-commit-config.yaml 2019-09-25 09:30:23 +05:30
Chris Hunt
8c94b70354 Address review comments 2019-09-24 22:43:06 -04:00
Pradyun Gedam
618714b1bf
Factor out logic for locating egg-info directories
Why: A named function brings clarity to expressing what is happening.
2019-09-25 08:04:15 +05:30
Pradyun Gedam
72d5d140be
Define a function to use as sorting key
Why: It makes it clearer what the funky expression means.
2019-09-25 08:04:14 +05:30
Pradyun Gedam
14cbc5f8a4
Return early from the function
Why: Allows reducing indentation of the function body.
2019-09-25 08:03:57 +05:30
Pradyun Gedam
10beeea0b0
Allow passing hook-ids to tox -e lint
Why: To allow running a specific hook when running locally.
2019-09-25 07:57:59 +05:30
Wilson Mo
08a0eeb90c Fix #3907 tar file placed outside of target location 2019-09-24 22:25:18 -04:00
Chris Hunt
3e98ee8464 Use from ... import ... style 2019-09-24 21:36:16 -04:00
Christopher Hunt
9611394a5b
Merge pull request #7062 from chrahunt/refactor/network-modules
Move SafeFileCache to network.cache
2019-09-24 21:03:18 -04:00
Pradyun Gedam
38f75f90a5
Merge pull request #7077 from pradyunsg/nicer-getting-started
Nicer getting started
2019-09-24 23:32:31 +05:30
Pradyun Gedam
1d1e67269e
Add invocation of mypy -2, to pre-commit 2019-09-24 22:24:04 +05:30
Pradyun Gedam
45bc66ae1a
Add a space I missed. 2019-09-24 22:13:14 +05:30
Pradyun Gedam
f646349e1b
Add pre-commit hook for check-manifest
Why: This brings back functionality removed in prior commits
2019-09-24 18:36:17 +05:30
Pradyun Gedam
033a01333c
Drop tox -e packaging from CIs 2019-09-24 18:35:53 +05:30
Pradyun Gedam
8296b1a17e
Do twine check in Azure Pipeline's Package job 2019-09-24 18:34:25 +05:30
Pradyun Gedam
9a362abd72
Exclude .pre-commit-config.yaml from distributions 2019-09-24 18:23:42 +05:30
Christopher Hunt
67867d32ae
Merge pull request #7036 from chrahunt/refactor-2
Move some URL-related functions to utils.urls.
2019-09-24 08:40:36 -04:00