Commit Graph

105 Commits

Author SHA1 Message Date
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Christopher Hunt 530fa337a9
Merge pull request #7095 from Nta1e/b7090
Move PipXmlrpcTransport to network.xmlrpc
2019-09-28 19:57:01 -04:00
NtaleGrey 88e9ce6e27 implement feedback 2019-09-28 15:51:52 +03:00
NtaleGrey cf5ce5f16f Move PipXmlrpcTransport from pip._internal.download to pip._internal.network.xmlrpc 2019-09-27 18:14:35 +03:00
Chris Hunt cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
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
Pradyun Gedam b447f438df
Move path_to_url() to utils/urls.py (#7075) 2019-09-25 10:00:33 +05:30
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
Chris Jerdonek 0435316fde Move path_to_url() to utils/urls.py. 2019-09-24 02:01:52 -07:00
Chris Hunt e4714fbe8a Early return if download path does not exist. 2019-09-22 00:08:13 -04:00
Chris Hunt 892b58f244 Move helper functions into Link 2019-09-22 00:08:10 -04:00
Chris Hunt 99c29af3ce Move SafeFileCache to network.cache. 2019-09-21 16:24:31 -04:00
Pradyun Gedam 0a2238ac38
Create new module: network.auth (#7045) 2019-09-20 22:43:34 +05:30
Chris Hunt 7e1d02226b Rename networking to network 2019-09-19 23:13:47 -04:00
Chris Hunt f8d03e4baa Move MultiDomainBasicAuth to networking.auth 2019-09-19 21:02:22 -04:00
Chris Hunt e9274f6548 Move keyring-related functions to new networking.auth module 2019-09-19 20:48:09 -04:00
Chris Hunt 59b0a79bde Add Link.file_path property 2019-09-19 20:14:10 -04:00
Chris Hunt 767b028724 Drop usage of `url_without_fragment` in favor of `url`
`url_to_path` discards fragment anyway (5th element of
urllib_parse.urlsplit)
2019-09-19 20:07:25 -04:00
Christopher Hunt 79ec3def25
Merge pull request #7037 from chrahunt/refactor/clean-up-unpack
Remove svn handling in unpacking.unpack_file
2019-09-19 08:35:12 -04:00
Chris Hunt 89bbe73498 Remove unused argument in unpacking.unpack_file 2019-09-19 01:47:24 -04:00
Christopher Hunt b0a6428d3b
Merge pull request #7023 from chrahunt/maint/remove-lockfile-dependency
Remove Lockfile
2019-09-19 00:23:57 -04:00
Chris Hunt 6a5bd723ec Move unpack_* from utils.misc to utils.unpacking. 2019-09-17 23:40:02 -04:00
Chris Hunt 46ec707544 Remove unraised LockError. 2019-09-15 17:09:44 -04:00
Chris Hunt fb7b6329e6 Remove unused argument. 2019-09-15 17:09:40 -04:00
Chris Hunt 48be7eb5e3 Implement cache methods using plain filesystem functions. 2019-09-15 17:01:32 -04:00
Chris Hunt 80f092d22a Copy function to get cache path. 2019-09-15 16:47:00 -04:00
Chris Hunt 1f412aca1e Add types and explicit signatures to SafeFileCache. 2019-09-15 16:44:36 -04: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 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
Albert Tugushev 7e9f81244c Remove contradictory debug log 2019-09-04 10:27:15 +02:00
Frost Ming 8ac22141c2 Support including port part in trusted-host (#6909) 2019-08-25 16:26:01 -07: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 ce218c340d Rename the insecure_hosts argument to trusted_hosts. 2019-08-22 00:03:28 -07:00
Chris Jerdonek 970dfdea2e Use variable names instead of indices in is_secure_origin(). 2019-08-22 00:03:25 -07:00
Chris Jerdonek cbd62171cd Remove the unneeded logger argument from is_secure_origin(). 2019-08-22 00:01:27 -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
Stéphane Bidoul (ACSONE) 2e1dfbef76 consolidate vcs link detection 2019-08-16 08:14:33 +02:00
Frost Ming 3f9136f885 Make trusted host w/o port work for HTTPS 2019-08-14 22:13:18 -07:00
Christopher Hunt 76e1f1b5e6 Simplify file cache. (#6845) 2019-08-08 17:39:12 -07:00
Paul Moore e4c32b9917
Merge pull request #6770 from omry/master
exclude '.tox', '.nox' from being copied during 'pip install .'
2019-08-05 23:29:02 +01:00
Pradyun Gedam 068cbeda3c
Refactor download.get_file_content
Merge pull request #6756 from chrahunt/maint/cleanup-download
2019-08-04 20:06:01 +05:30
Pradyun Gedam 7d29841ced
Fix handling of tokens (single part credentials) in URLs (#6818) 2019-08-04 19:56:41 +05:30
Chris Hunt 82ef9d67e2 Refactor download.get_file_content. 2019-08-03 10:51:16 -04:00
Omry Yadan 8e87980d17 responding to comments 2019-08-02 23:14:41 -07:00
Omry Yadan 77c1504137 unit test 2019-08-02 18:17:53 -07:00
Omry Yadan d4171f28d1 minor updates 2019-07-30 17:52:12 -07:00
Omry Yadan 67ce4427dd fixed lint, excludes only .tox and .nox 2019-07-23 11:29:25 -07:00