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

7776 commits

Author SHA1 Message Date
Chris Hunt
1f412aca1e Add types and explicit signatures to SafeFileCache. 2019-09-15 16:44:36 -04:00
Pradyun Gedam
ab250e3e09
Merge pull request #6879 from chrahunt/bugfix/dont-lock-selfcheck
Don't use lockfile to protect updates to selfcheck file.
2019-09-15 19:02:46 +05:30
Pradyun Gedam
5fa906bdb5
Merge pull request #6952 from webknjaz/features/integrate-github-actions-ci-cd--linters
Add initial GH actions linter workflow
2019-09-15 11:51:29 +05:30
Chris Jerdonek
83bb1d0736
Merge pull request #7016 from cjerdonek/add-collector-module
Move LinkCollector to a new collector.py module
2019-09-14 10:03:57 -07:00
Chris Jerdonek
fe2509bd58 Move LinkCollector to a new collector.py module. 2019-09-14 02:54:07 -07:00
Chris Jerdonek
180a795660
Merge pull request #7015 from cjerdonek/simplify-get-pages
Remove unused project_name argument from LinkCollector._get_pages()
2019-09-14 01:33:45 -07:00
Chris Jerdonek
c9a90fd160
Merge pull request #7011 from cjerdonek/url-utils
Remove index.py and req/constructors.py's dependence on download.py
2019-09-14 00:32:43 -07:00
Chris Jerdonek
1a42641762 Remove unused project_name argument from LinkCollector._get_pages(). 2019-09-13 23:47:58 -07:00
Chris Jerdonek
43806b4333
Merge pull request #7012 from cjerdonek/local-checkout-tmpdir
Change local_checkout() to accept tmpdir
2019-09-13 23:45:41 -07:00
Chris Jerdonek
9a765b8cab Change local_checkout() to accept tmpdir. 2019-09-13 21:41:32 -07:00
Chris Jerdonek
3303c11828 Remove index.py and req/constructors.py's dependence on download.py. 2019-09-13 09:57:04 -07:00
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
68e6feb31a Use os.replace in Python 3. 2019-09-08 09:29:48 -04:00
Chris Hunt
fc45975c84 Add news files. 2019-09-08 09:29:48 -04:00
Chris Hunt
6617d15838 Write to tempfile and move instead of locking selfcheck file. 2019-09-08 09:29:48 -04:00
Chris Hunt
b4bc7a62f4 Remove lockfile-dependent test. 2019-09-08 09:29:48 -04: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