Caleb Martinez
ac9010e87c
Allow adding a custom string to pip's User-Agent via an environment variable ( #5550 )
2019-03-31 02:37:02 -07:00
Chris Jerdonek
821247dc36
Merge pull request #6273 from cjerdonek/issue-5499-detect-ci-for-user-agent
...
Fix #5499 : Include in pip's User-Agent whether it looks like pip is in CI
2019-02-24 14:24:55 -08:00
Xavier Fernandez
c286c55d51
Tweak tests & url_to_path after review
2019-02-24 21:40:25 +01:00
Benoit Pierre
61baf5fe80
improve handling of file URIs
2019-02-24 21:40:25 +01:00
Pradyun Gedam
d4217f0cc3
Merge pull request #6129 from asottile/dead
...
delete some dead code
2019-02-24 22:08:16 +05:30
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Anthony Sottile
1ea2140f32
Remove _copy_dist_from_dir
...
introduced in 4c405a0ad3
but not referenced
2019-02-20 11:51:23 -08:00
Chris Jerdonek
a229f114e6
Address review comments.
2019-02-18 19:29:07 -08:00
Chris Jerdonek
14a6aaabff
Include in pip's User-Agent whether it looks like pip is in CI.
2019-02-17 07:16:01 -08:00
Chris Jerdonek
d2051f14bb
Change the default of call_subprocess()'s show_stdout from True to False.
2019-02-12 05:11:51 -08:00
Pradyun Gedam
89ef777c18
Cleanup for issues fixed with mypy upgrade
2018-12-18 15:10:40 +05:30
Maxim Kurnikov
7696e7e530
Add type annotations for pip._internal.download, pip._internal.wheel and pip._internal.pep425tags ( #6067 )
...
References https://github.com/pypa/pip/issues/4748 , https://github.com/pypa/pip/pull/6038 .
2018-12-16 14:46:39 +05:30
Pradyun Gedam
35701ea3cd
Merge pull request #5930 from cytolentino/basecommand-typing
...
Add mypy annotations to base_command.py
2018-10-31 01:57:46 +05:30
Chris Jerdonek
f54b68fea7
DRY up MultiDomainBasicAuth some more.
2018-10-29 22:13:55 -07:00
Chris Jerdonek
a434431431
Use split_auth_from_netloc() inside MultiDomainBasicAuth().
2018-10-29 22:13:51 -07:00
cytolentino
12a2334429
Add mypy annotations to base_command.py
2018-10-27 13:28:06 +01:00
Kevin R Patterson
e3c869fa60
rename to warn_on_401, remove extra return
2018-08-17 11:07:45 -05:00
Kevin R Patterson
b7222f3d26
handle_401_warn for when invalid credentials are given
2018-08-17 08:25:53 -05:00
Kevin R Patterson
4e0c433c37
fix extra line after handle_401_again function
2018-07-26 17:17:40 -05:00
Kevin R Patterson
aef521ee61
give 401 warning if username/password do not work for URL
2018-07-26 17:14:16 -05:00
Pradyun Gedam
54722aa7ec
Remove unused imports
2018-06-13 13:17:30 +05:30
Pradyun Gedam
88e17b4aed
Update the import for PyPI Index model
2018-05-30 01:44:51 +05:30
Pradyun Gedam
bd31672508
Stop bothering about the PyOpenSSL version
2018-03-30 20:56:45 +05:30
Pradyun Gedam
aaa9310a39
Reuse logic from urllib3 for use of OpenSSL
2018-03-30 13:27:42 +05:30
Pradyun Gedam
6ec5bc56fd
Merge branch 'master' into vendoring/enable-c-libs
2018-03-30 12:38:13 +05:30
Pradyun Gedam
46267a285a
Sigh. mypy.
2017-12-27 17:21:00 +05:30
Pradyun Gedam
729990c986
Round 1 of Cleanups ( #4844 )
...
* misc: fix typo
* misc: 🎨 cleanup parenthesis
* misc: 🎨 minor simplifications
* tests: fix test_console_to_str_warning
2017-12-25 15:23:27 +05:30
Pradyun Gedam
ad27fd3afb
🎨 Make linters happy
2017-12-23 17:33:52 +05:30
Pradyun Gedam
10af4ed9cb
Import OpenSSL only if not on Windows
2017-12-16 18:12:25 +05:30
Pradyun Gedam
9b4af01a29
Merge branch 'master' into vendoring/enable-c-libs
2017-12-16 18:05:37 +05:30
Anthony Sottile
9762eb02e3
Upgrade syntax in src/pip/_internal
...
Changes were automated via https://github.com/asottile/pyupgrade
See #4921
2017-12-14 21:59:22 -08:00
Pradyun Gedam
353a13ddff
isort: Include trailing commas
2017-11-21 13:23:59 +05:30
Pradyun Gedam
0c684a3b0d
User-Agent reflects the version of openssl used to connect
2017-11-05 16:25:05 +05:30
Bartek Ogryczak
62a695c4b9
More HTTP status codes to retry on ( #4473 )
...
* Add `--retry-status <HTTP code>` to allow specifying custom HTTP staus codes to retry on.
This is useful for AWS S3 or Cloudflare, which at times return codes other than 503 for
itermitent failures.
* stripping option related code, hardcoding the statuses
* Reword the news file
* changing ndash to regular ascii dash
2017-10-24 10:55:42 +02:00
Donald Stufft
13a3f1d52a
Upgrade requests
2017-09-07 15:54:22 -04:00
Pradyun S. Gedam
11451c54ec
Merge branch 'master' into mypy/infrastructure
2017-09-02 16:06:48 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00