Pradyun Gedam
58c594c06b
Prepare isort for black
2020-09-23 21:47:47 +05:30
Pradyun Gedam
faee60baea
Merge pull request #8902 from pradyunsg/linter-updates
2020-09-23 21:44:55 +05:30
Pradyun Gedam
25ab172b55
Update linter: isort
2020-09-23 19:52:28 +05:30
Pradyun Gedam
4c534e65d2
Tweak message when -r is not passed on a requirements.txt
2020-09-23 19:46:36 +05:30
Vipul Kumar
2b07c5d288
End no-color's description with period punctuation
...
It would be nice, if like description of other options, "--no-color"'s
description also ends with a period.
2020-09-23 04:43:51 +00:00
Pradyun Gedam
7c1e5d3096
Merge pull request #8568 from McSinyx/conf-const
...
Declare constants in configuration.py as such
2020-09-18 21:43:29 +05:30
Pradyun Gedam
67ab116f00
Merge pull request #8861 from pradyunsg/nicer-output-try-1
2020-09-17 11:00:23 +05:30
Pradyun Gedam
e61bb616ef
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect
2020-09-17 10:58:44 +05:30
Pradyun Gedam
53efda742b
Merge pull request #8474 from deveshks/remove-items-of-age-cache
2020-09-16 18:54:59 +05:30
Xavier Fernandez
33890bf825
Merge pull request #8722 from McSinyx/late-dl-indent
...
Dedent late download logs
2020-09-16 14:02:51 +02:00
Nguyễn Gia Phong
8f8a1d65b2
Dedent late download logs
2020-09-13 21:09:57 +07:00
Devesh Kumar Singh
9450f8837a
Use format options for abspath
2020-09-11 09:23:51 +05:30
Devesh Kumar Singh
0b3ba87bbf
Add option to output full path of cache enty
2020-09-11 09:23:51 +05:30
Pradyun Gedam
cc472fd54a
Use a symmetric type and make mypy happy
2020-09-10 17:32:58 +05:30
Pradyun Gedam
3d32960c80
Only Print "Collecting ..." when the requirement changes
2020-09-10 17:21:42 +05:30
Pradyun Gedam
963e390abe
Improve how cached wheels are presented
...
This is specifically for the case of look ups done in the new resolver.
2020-09-10 17:21:04 +05:30
Pradyun Gedam
c07ef581e7
Factor out logger.into into a single call
...
This makes it easier to conditionally print this information.
2020-09-10 17:15:32 +05:30
Pradyun Gedam
8663855711
Merge pull request #8830 from uranusjr/env-var-req-file
...
Replace custom URL parsing with url_to_path()
2020-09-08 18:46:33 +05:30
Nguyễn Gia Phong
cca500f053
Remove unused definitions
2020-09-04 17:37:43 +07:00
Xavier Fernandez
83f1640827
Merge pull request #8578 from McSinyx/parse-count
...
Allow verbose/quiet level to be specified via config file and env var
2020-09-03 18:34:53 +02:00
Tzu-ping Chung
dfaa111004
Pull in hashes from constraint files
2020-09-03 17:26:52 +08:00
Tzu-ping Chung
700eb7734f
Hashes from lines should intersect, not union
2020-09-03 17:19:01 +08:00
Pradyun Gedam
567630b4b8
Merge pull request #8758 from uranusjr/new-resolver-requires-python-when-no-deps
2020-09-02 20:09:32 +05:30
Pradyun Gedam
a99190459e
Merge pull request #8817 from sbidoul/improve-git-checkout
2020-09-01 18:40:51 +05:30
Tzu-ping Chung
87d129a801
Replace custom URL parsing with url_to_path()
2020-09-01 15:43:58 +08:00
Stéphane Bidoul
3aa0c2ed91
Git fetch more aggressively
...
Before we were fetching only revisions starting with refs/.
Now we also fetch revisions that look like commit that we
don't have locally.
2020-08-30 11:52:06 +02:00
Tzu-ping Chung
8b2b92485c
Include Requires-Python dep even with --no-deps
2020-08-26 09:49:25 +08:00
Pradyun Gedam
0b18e21cbe
Merge pull request #8752 from sbidoul/imp-8369-deprecation-sbi
2020-08-25 20:40:27 +05:30
Pradyun Gedam
b7075b9351
Merge pull request #8778 from hugovk/deprecate-3.5
...
Deprecate support for Python 3.5
2020-08-25 20:40:01 +05:30
Pradyun Gedam
e17f845475
Merge pull request #8522 from NoahGorny/fix-requirements-file-options
...
install: Update extra-index-url in session from requirements file
2020-08-25 15:08:11 +05:30
Hugo
e93257c080
Warn Python 3.5 support is deprecated and will be removed in pip 21.0, Jan 2021
2020-08-18 15:22:16 +03:00
Pradyun Gedam
a3fd4246af
Merge pull request #8709 from McSinyx/successfully-downloaded
...
[2020-resolver] List downloaded distributions before exiting
2020-08-17 17:22:17 +05:30
Stéphane Bidoul
4c348cf3a0
Consider success flag instead of absence of exception
2020-08-13 09:38:56 +02:00
Stéphane Bidoul
9c4a88b0a0
Improve deprecation message for issue 8368
2020-08-12 11:07:36 +02:00
Nguyễn Gia Phong
b46576d933
Give batch downloader a separate class
2020-08-12 16:07:27 +07:00
Nguyễn Gia Phong
a1aeb4ce01
Check download folder for files to be downloaded in batch
2020-08-12 16:02:28 +07:00
Nguyễn Gia Phong
18c803a413
Check hashes of memoized downloads
2020-08-11 22:40:42 +07:00
Nguyễn Gia Phong
39d296eeb8
Clean up code style and internal interface
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Co-Authored-By: Chris Hunt <chrahunt@gmail.com>
2020-08-11 22:40:39 +07:00
Nguyễn Gia Phong
078e0effb7
Add memoization mechanism for file download
...
This is intentionally dependent from caching, which relies on cache dir.
2020-08-11 22:39:42 +07:00
Nguyễn Gia Phong
e62f16e969
Make Downloader perform the download
2020-08-11 22:36:08 +07:00
Pradyun Gedam
8eea660e03
Merge pull request #8744 from hroncok/keyring_global_nope
...
When one keyring attempt fails, don't bother with more
2020-08-11 15:41:02 +05:30
Pradyun Gedam
4c7bbdb4e4
Merge pull request #8702 from uranusjr/get-distribution-looks-for-all
2020-08-10 20:30:55 +05:30
Pradyun Gedam
e8f52198a9
Merge pull request #8718 from uranusjr/pyvenv-cfg-encoding
...
Always use UTF-8 to read pyvenv.cfg
2020-08-07 15:11:32 +05:30
Tzu-ping Chung
4683ad02e3
Allow filtering constraints with markers
2020-08-07 13:55:38 +08:00
Noah Gorny
aae63795b2
reqfile: Update extra-index-url/index-url in session from requirements file
...
Also update the relevant tests
2020-08-06 19:25:31 +03:00
Nguyễn Gia Phong
11f7994a66
Revise method fetching metadata using lazy wheels
...
* Rename it to fit the fact that it no longer handle
fetching _not_ using lazy wheels
* Use self as the first parameter
* Unnest the checks with additional logs showing reason
when lazy wheel is not used
2020-08-06 18:43:02 +07:00
Nguyễn Gia Phong
487d00295c
Define RequirementPreparer._session
2020-08-06 18:42:59 +07:00
Nguyễn Gia Phong
4f210f3608
[2020-resolver] List downloaded distributions before exiting
...
This unifies the behavior of pip download for both legacy and new
resolvers. InstallRequirement.successfully_download is no longer needed
for this task and is thus retired.
2020-08-06 16:52:31 +07:00
Tzu-ping Chung
810385b971
Always use UTF-8 to read pyvenv.cfg
2020-08-06 11:46:46 +08:00
Nguyễn Gia Phong
ffd6a38646
Disable caching for range requests
2020-08-05 22:19:49 +07:00