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

2369 commits

Author SHA1 Message Date
Chris Hunt
89bbe73498 Remove unused argument in unpacking.unpack_file 2019-09-19 01:47:24 -04:00
Chris Jerdonek
6d94944efd Change PackageFinder.create() to accept a LinkCollector. 2019-09-18 00:59:04 -07:00
Chris Jerdonek
6a55f0788b Move make_search_scope() to outdated.py. 2019-09-18 00:48:48 -07:00
Chris Hunt
6a5bd723ec Move unpack_* from utils.misc to utils.unpacking. 2019-09-17 23:40:02 -04:00
Chris Hunt
0689cf5db7 Remove function-level imports in test. 2019-09-17 23:37:38 -04:00
Christopher Hunt
47293435bb
Merge pull request #6976 from atugushev/fix-issue-4910
Fix rmtree_errorhandler to skip nonexistent dirs
2019-09-17 22:40:46 -04:00
Christopher Hunt
b1bc41b2c3
Merge pull request #6914 from sbidoul/pip6892-sbi
uninstall: remove symlinks created by flit install --symlink
2019-09-17 21:14:28 -04:00
Pradyun Gedam
c3e6329039
Rename InstallRequirement.{build_location -> ensure_build_location} (#7021)
Merge pull request #7021 from pradyunsg/refactor/rename-build-location
2019-09-17 18:30:08 +05:30
Christopher Hunt
82c2dd40eb
Merge pull request #6203 from vinicyusmacedo/fix-pep-508
Fix is_url from splitting the scheme incorrectly when using PEP 440's direct references
2019-09-16 09:52:40 -04:00
Albert Tugushev
e3a6ba6396 Use normal fixture instead of yield_fixture
It's been deprecated since pytest>=2.10.
See https://docs.pytest.org/en/latest/historical-notes.html#pytest-yield-fixture-decorator
2019-09-16 02:55:47 +03:00
Pradyun Gedam
ad68984ec6
Rename {build_location -> ensure_build_location} 2019-09-15 22:09:34 +05:30
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
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
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
12a27d0c9f Add a couple tests. 2019-09-12 02:31:42 -07:00
Chris Jerdonek
ed55cde689 Add LinkCollector class to index.py. 2019-09-10 10:13:02 -07:00
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
Hugo
2b94acb9d8 Rename for clarity 2019-09-09 20:43:09 +03: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
Chris Hunt
b4bc7a62f4 Remove lockfile-dependent test. 2019-09-08 09:29:48 -04:00
Hugo
6d20cbca23 Remove noqa workaround 2019-09-08 15:19:03 +03:00
Chris Hunt
f92961d99e More descriptive function name. 2019-09-07 10:50:14 -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
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
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
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
Xavier Fernandez
d942a4ee65 tests: fix typos 2019-09-06 13:13:24 +02:00
Albert Tugushev
a8427d5553 Run parametrized command in test_pep518_forkbombs
Fixes copy-paste issue in `test_pep518_forkbombs`.
2019-09-06 09:55:49 +02:00
Albert Tugushev
cdcacff8a1 Address review comments
Fix some comments and variable names.
Execute rmtree_errorhandler in an except block to test whether
it reraises an exception.
2019-09-06 10:55:40 +03:00
Stéphane Bidoul (ACSONE)
04bc6d090d
Remove non standard function from Path class 2019-09-06 09:42:06 +02:00
Albert Tugushev
b5c1c76203 Fix failing test and revisit is_readonly flag 2019-09-05 17:49:58 +03:00
Chris Hunt
b63ea9cd08 Remove now-unused finder and format_control from WheelBuilder. 2019-09-04 21:10:34 -04:00
Chris Hunt
a4102d179a Don't check allowed format in wheel.py, pass function to do check. 2019-09-04 21:06:52 -04:00
Albert Tugushev
85a5ae12d2 Fix rmtree_errorhandler to skip non-existing dirs 2019-09-05 00:25:35 +03:00
Paul Moore
bc78bcd674
Merge pull request #6957 from ofrinevo/bugfix/show_requierd_by_not_canonized
Fix pip show displaying the incorrect result for "Required-by"
2019-09-04 08:44:34 +01:00
ofrinevo
1c4881157e Remove useless python packages from required_cap
Rename stub package required_by_mixed_cap to requires_requires_cap
Move the canonicalize_name calculation outside of a loop
2019-09-03 20:46:28 +03:00
ofrinevo
bc65d55d8b Fix all failing tests 2019-09-02 19:41:51 +03:00
Chris Hunt
b0a7d2b503 Refactor wheel.move_wheel_files to use updated distlib. 2019-09-01 22:36:13 -04:00
ofrinevo
35c2161785 Improve the documentation of the added tests 2019-09-01 21:32:00 +03:00
ofrinevo
a05de613fc Add a test that checks for mixed upper and lower case letters
in pip show
Remove useless import in stubs for named tests
2019-09-01 21:28:31 +03:00