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

7756 commits

Author SHA1 Message Date
Chris Jerdonek 084d797947
Merge pull request #6910 from cjerdonek/link-collector
Split out a LinkCollector class from PackageFinder
2019-09-13 08:50:05 -07:00
Chris Jerdonek ca4fc9e741 Update architecture/package-finding.rst. 2019-09-12 02:31:45 -07:00
Chris Jerdonek 12a27d0c9f Add a couple tests. 2019-09-12 02:31:42 -07:00
Chris Jerdonek 0e85279f64
Merge pull request #7006 from chrahunt/refactor/refactor-1
Clean up arguments for RequirementCommand.make_requirement_preparer
2019-09-12 02:26:08 -07:00
Chris Hunt 81d8005bd1 Change argument name to better reflect purpose.
Also assert on provided path, since it should have been created in all
cases.
2019-09-11 19:03:57 -04:00
Pradyun Gedam 9a5ff1a254
Merge pull request #7007 from chrahunt/refactor/refactor-4
Remove old comment in Resolver
2019-09-11 19:31:57 +05:30
Chris Hunt b96ee36ba9 Remove old comment in Resolver.
`requirement_set` is no longer passed to
`Resolver._check_skip_installed`, so we do not need to mention it.
2019-09-10 22:23:00 -04:00
Chris Jerdonek ed55cde689 Add LinkCollector class to index.py. 2019-09-10 10:13:02 -07:00
Chris Jerdonek 9ae5f1a8df Rename PackageFinder's _package_versions() to evaluate_links(). 2019-09-10 10:12:57 -07:00
Pradyun Gedam 56b6fcc83b
Merge pull request #6999 from chrahunt/refactor/refactor-2
Keep `InstallRequirement.archive` in-place
2019-09-10 21:48:51 +05:30
Pradyun Gedam ceaf514189
Drop support for EOL Python 3.4 (2) (#6782)
Merge pull request #6782 from hugovk/rm-3.4
2019-09-10 09:28:11 +05:30
Chris Hunt 96a53d49ec Move archive description from TODO to docstring.
This whole class will be refactored, so the TODO is implicit.
2019-09-09 19:45:33 -04:00
Hugo 2b94acb9d8 Rename for clarity 2019-09-09 20:43:09 +03:00
Chris Hunt c46496fba6 Remove InstallRequirement.uninstalled_pathset
Last actual usages of this were removed in #4642.
2019-09-09 15:53:58 +02:00
Pradyun Gedam a7d8d56914
Remove unactionable FIXME in InstallRequirement (#7001)
Merge pull request #7001 from chrahunt/refactor/refactor-5
2019-09-09 10:09:32 +05:30
Pradyun Gedam 74ea33e2ef
Remove FIXME from InstallRequirement.install (#7000)
This one is about whether we should error out when setup.py egg_info doesn't give us an .egg-info
2019-09-09 10:07:17 +05:30
Pradyun Gedam dc2dff3a0b
Use nox for release tasks
Merge pull request #6937 from pradyunsg/use-nox
2019-09-09 10:02:28 +05:30
Chris Hunt 8f684d9eab Remove unactionable FIXME in InstallRequirement
`setup.py develop` doesn't accept `--install-headers`, so there's no
need for this comment.
2019-09-08 21:21:08 -04:00
Chris Hunt 94b34c3e54 Remove FIXME tracked in issue tracker. 2019-09-08 20:44:11 -04:00
Pradyun Gedam e0239735a3
Refactor wheel.move_wheel_files to use updated distlib (#6763) 2019-09-09 00:18:15 +05:30
Hugo 0f7921e120 Add a @non_python2_only skipif 2019-09-08 20:03:13 +03:00
Hugo 97f719cee2 Explicitly refer to Python 2.7 instead of <=3.4 2019-09-08 19:39:50 +03:00
Chris Hunt af33759cb5 Add NEWS file. 2019-09-08 09:24:20 -04:00
Hugo 6d20cbca23 Remove noqa workaround 2019-09-08 15:19:03 +03:00
Hugo fd5ffb6346 Fix for Python 4: replace unsafe six.PY3 with PY2 2019-09-08 14:47:19 +03:00
Pradyun Gedam 7256a10ccb
Fix Azure Pipelines Package build 2019-09-08 14:49:40 +05:30
Hugo 11ec2a3b17 Remove redundant check 2019-09-08 11:53:58 +03:00
Pradyun Gedam c79faa8773
Manage overall application context in Command
Merge pull request #6967 from chrahunt/refactor/command-context
2019-09-07 21:05:49 +05:30
Pradyun Gedam 5bee317e66
Simplify build loop in WheelBuilder.build (#6978)
Merge pull request #6978 from chrahunt/refactor/wheel-build-simpler-loop
2019-09-07 21:04:43 +05:30
Chris Hunt f92961d99e More descriptive function name. 2019-09-07 10:50:14 -04:00
Chris Hunt 3da9a89b5b %-style to .format style string formatting. 2019-09-07 09:56:36 -04:00
Chris Hunt 82be4ee76a Use application context manager for PipSession.
This removes a level of indentation from all commands without
introducing any dummy functions.
2019-09-07 09:46:48 -04:00
Chris Hunt 45fe22b3ec Manage overall application context in Command. 2019-09-07 09:41:18 -04:00
Chris Hunt 01fa93f715 Add contextlib2 for ExitStack in Python 2. 2019-09-07 09:41:18 -04:00
Chris Hunt 6ebee37dc4 Add comment, reformat logging statement. 2019-09-07 09:39:32 -04:00
AinsworthK e5f05ce18c Directly import objects to be tested, from utils.outdated (#6966) 2019-09-07 16:02:26 +05:30
Pradyun Gedam a39e881479
Fix pip.exe upgrade pip fails on Windows
Merge pull request #6928 from atugushev/fix-issue-6924
2019-09-07 14:14:29 +05:30
Pradyun Gedam 69272387ab
Remove unused update parameter from InstallRequirement (#6989) 2019-09-07 13:22:11 +05:30
Pradyun Gedam 0bb585d5f0
Don't create delete marker file in unpack_url (#6987) 2019-09-07 13:17:12 +05:30
Pradyun Gedam 9300fe640a
Reduce context/options passed to Resolver (#6986) 2019-09-07 13:15:40 +05:30
Pradyun Gedam a0a55bc797
Fix tests when running in git linked worktree
Merge pull request #6846 from chrahunt/bugfix/fix-tests-in-linked-worktree
2019-09-07 13:04:55 +05:30
Pradyun Gedam 8b2e1c866c
Merge pull request #6855 from chrahunt/refactor/separate-statefile-states
Write separate statefiles per prefix.
2019-09-07 09:35:23 +05:30
Chris Hunt 4686e48e0f Remove unused update parameter from InstallRequirement. 2019-09-06 21:18:10 -04:00
Chris Hunt 997c9b71b3 Move non-throwing code outside try/except. 2019-09-06 19:55:57 -04:00
Chris Hunt b72d9f1477 Move autodelete_unpacked to more logical place. 2019-09-06 19:55:57 -04:00
Chris Hunt a20a06cd34 Move unpack_url above irrelevant checks. 2019-09-06 19:55:57 -04:00
Chris Hunt aef01d25cc Remove unused argument from unpack_url. 2019-09-06 19:55:57 -04:00
Chris Hunt 45283a332f Move delete marker file creation from unpack_url to caller. 2019-09-06 19:55:38 -04:00
Chris Hunt 7514a50e1d Remove unused arguments from Resolver constructor. 2019-09-06 18:53:35 -04:00
Chris Hunt 0ee1f9762b Move make_install_req out of Resolver. 2019-09-06 18:45:27 -04:00