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

196 commits

Author SHA1 Message Date
Chris Hunt 31f49023bd Add mock_server documentation 2019-11-17 16:12:17 -05:00
Chris Hunt 204a004377 Add test helpers for HTTP(S) server and certs 2019-11-03 17:05:52 -05:00
Pradyun Gedam 2db6f428bf
Update imports to {index -> index.package_finder} 2019-10-19 22:24:01 +05:30
Harsh Vardhan 4f1b88375a Skip running svn tests when svn isn't installed
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2019-10-14 14:32:32 +05:30
Pradyun Gedam 37bc629551
Rename tests.lib.path.Path.{abspath -> resolve()} 2019-10-07 18:01:06 +05:30
Pradyun Gedam 732da2dae0
Remove tests.lib.path.Path.__sub__ (#7151) 2019-10-07 17:52:19 +05:30
Pradyun Gedam 7d72b3e034
Update uses of path subtraction to os.path.relpath 2019-10-07 12:38:22 +05:30
Pradyun Gedam 959969840b
Remove subtraction from tests.lib.path.Path 2019-10-07 12:25:38 +05:30
Chris Hunt f805f328d4 Align interface of tests.lib.path.Path.mkdir with pathlib.Path.mkdir. 2019-10-06 21:55:10 -04:00
Pradyun Gedam 64262aacee
Use the repr of version strings in wheels. 2019-10-01 11:45:07 +05:30
Chris Hunt cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Pradyun Gedam ea68afab93
Enable isort in pre-commit 2019-09-24 18:03:22 +05:30
Chris Jerdonek 188ec6ff4e Don't pass "/trunk" when calling local_checkout() with svn. 2019-09-21 03:29:34 -07:00
Chris Jerdonek d7709fa106 Assert that initools_dir doesn't already exist. 2019-09-21 02:31:32 -07:00
Chris Jerdonek 1ca61e14ba Assert that repo_url_path doesn't exist. 2019-09-21 02:31:25 -07:00
Chris Jerdonek 144051e422 Simplify local_repos.py. 2019-09-21 02:30:30 -07:00
Chris Jerdonek 6d94944efd Change PackageFinder.create() to accept a LinkCollector. 2019-09-18 00:59:04 -07: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
Chris Jerdonek 9a765b8cab Change local_checkout() to accept tmpdir. 2019-09-13 21:41:32 -07:00
Chris Jerdonek 12a27d0c9f Add a couple tests. 2019-09-12 02:31:42 -07:00
Stéphane Bidoul (ACSONE) 04bc6d090d
Remove non standard function from Path class 2019-09-06 09:42:06 +02:00
Stéphane Bidoul (ACSONE) f8d58256b7 Add failing test for symlink uninstall 2019-08-24 00:36:40 +02:00
Chris Jerdonek 1ab37d31f1
Merge pull request #6903 from cjerdonek/move-trusted-hosts
Move PackageFinder's --trusted-host logic to PipSession
2019-08-22 03:56:13 -07:00
Chris Jerdonek 7783c47131
Hide security-sensitive strings in VCS command log messages (#6890) 2019-08-21 03:22:57 -07:00
Chris Jerdonek a6cdb490b0 Move trusted_hosts logic to PipSession. 2019-08-21 03:03:17 -07:00
Christopher Hunt 5e97de4773 Ignore errors copying socket files for source installs (in Python 3). (#6844) 2019-08-21 02:19:02 -07:00
Pradyun Gedam 9332803089
Merge pull request #6729 from asottile/3_10_fixes
sys.version fixes for python 3.10
2019-08-18 09:27:09 +09:00
Chris Hunt 73e33ae803 Assert that expect_error script invocations return non-zero. 2019-08-12 16:27:25 -04:00
Chris Hunt 0a6b3cedae Remove unnecessary expect_error. 2019-08-10 22:39:57 -04:00
Chris Jerdonek 6f638eb591 Add get_major_minor_version(). 2019-07-27 20:01:52 -07:00
Anthony Sottile c3fb5cbff0 sys.version fixes for python 3.10 2019-07-27 19:59:18 -07:00
Chris Jerdonek 1f09e67f34 Only import a Command class when it is actually needed.
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Chris Hunt 9281a7aac1 Remove copytree from tests.lib.path.Path. 2019-07-20 19:46:47 -04:00
Christopher Hunt 0d286012f7 Remove copy from tests.lib.path.Path. (#6746) 2019-07-21 01:12:07 +02:00
Chris Hunt 3732e791a5 Remove normpath from tests.lib.path.Path. 2019-07-20 22:54:46 +02:00
Chris Hunt 358e690c54 Remove move from tests.lib.path.Path. 2019-07-20 22:48:24 +02:00
Chris Hunt 9d37e3ced2 Remove rmtree from tests.lib.path.Path. 2019-07-20 22:37:31 +02:00
Pradyun Gedam 34621bf008
Merge pull request #6701 from pradyunsg/tests/remove-makedirs
Change Path.makedirs() -> Path.mkdir(parents=True)
2019-07-13 16:53:41 +05:30
Xavier Fernandez 3e8ccc99e5
Tweak utime call
Apparently, times is not a keyword argument either in Python 2.7 ;)
2019-07-12 23:11:24 +02:00
Pradyun Gedam 8e57084a94
Python 2 support is not painful. :)
/s because obviously I'm being sarcastic.
2019-07-12 13:38:04 +05:30
Pradyun Gedam bc88399d07
Change Path.makedirs() -> Path.mkdir(parents=True) 2019-07-12 13:30:18 +05:30
Pradyun Gedam 2ce98c1807
Remove an unused argument 2019-07-12 13:19:17 +05:30
Chris Hunt 39ac9ca351 Rename compatible functions in tests.lib.path.Path. 2019-07-02 18:48:44 -04:00
Chris Hunt ec73d72fd3 Remove unused incompatible functions from tests.lib.Path. 2019-07-01 10:23:03 +02:00
Chris Jerdonek 449d268b5a
Merge pull request #6661 from cjerdonek/add-selection-prefs-class
Add a SelectionPreferences class
2019-06-30 00:52:15 -07:00
Chris Hunt 66e68273c8 Add assert in assert_paths_equal. 2019-06-29 21:07:50 -04:00
Chris Jerdonek ae79b5bf5c Add a SelectionPreferences class. 2019-06-28 11:14:55 -07:00
Chris Jerdonek 8af3f21a57 Filter out yanked links earlier when allow_yanked=False. 2019-06-27 19:50:25 -07:00
Chris Jerdonek cab7316e2b Change PackageFinder.create() to accept a SearchScope object. 2019-06-21 14:41:49 -07:00
Chris Jerdonek 210dab7470 Add make_test_finder() helper function. 2019-06-11 19:18:56 -07:00