Paul Moore
c30b10a7a0
Merge pull request #5896 from benoit-pierre/temporary_appveyor_fix
...
tests: temporarily pin pytest to fix AppVeyor builds
2018-10-18 22:26:49 +01:00
Benoit Pierre
3953fe6c95
tests: temporarily pin pytest to fix AppVeyor builds
2018-10-17 18:15:28 +02:00
Xavier Fernandez
7f3b2c1f92
Merge pull request #5659 from patter001/master
...
fix for: Incorrect username/password gives misleading error
2018-10-16 14:39:02 +02:00
Benoit Pierre
83b879b1ec
Improve PEP 518 build isolation ( #5824 )
...
Handle .pth files, so namespace packages are correctly supported under Python 3.2 and earlier, and more.
2018-10-16 12:04:28 +05:30
Chris Jerdonek
1228f64ec0
Merge pull request #5873 from cjerdonek/remove-get-backend-from-location
...
Simplify vcs.get_src_requirement().
2018-10-13 00:57:17 -07:00
Chris Jerdonek
8dbbe165f8
Merge pull request #5838 from uranusjr/htmlpage-extract-breakdown-get-page
...
Refactor _get_html_page() to use exceptions for flow control
2018-10-11 12:27:17 -07:00
Tzu-ping Chung
fc53f711b9
More tests on successful scenarios, fix docstrings
2018-10-11 17:47:08 +08:00
Tzu-ping Chung
200f126584
Move HTML page tests to their own file, fix typos
2018-10-11 17:45:38 +08:00
Tzu-ping Chung
5441fc7289
Some tests for error and input correction
2018-10-11 17:45:38 +08:00
Tzu-ping Chung
65260d0449
Fix behavior if archive-like URL is not HTTP(S)
...
The original implementation erros out when this happens, and the new one
follows. The debug logging message is however changed to be clearer about
what happened.
Also fixed some minor typos.
2018-10-11 17:45:22 +08:00
Tzu-ping Chung
68cf77ac0b
Only store what we need in _NotHTML
2018-10-11 17:45:22 +08:00
Tzu-ping Chung
a9ebb795ed
More detailed information on Content-Type error, fix typos
2018-10-11 17:45:11 +08:00
Tzu-ping Chung
d4da76ceaa
Move directory check out of _get_html_response()
...
This also "fixes" an edge case where a directory is dropped if it is
named like an archive.
2018-10-11 17:45:11 +08:00
Tzu-ping Chung
231e6165dd
Group HEAD optimization logic into HTML getter, add docs
2018-10-11 17:44:59 +08:00
Tzu-ping Chung
bad04d8549
Extract content type detection logic
2018-10-11 17:44:59 +08:00
Tzu-ping Chung
44713cafe5
Move VCS scheme check back out
2018-10-11 17:44:59 +08:00
Chris Jerdonek
00a2ff198e
Remove unneeded if block in vcs.get_src_requirement().
2018-10-10 02:34:40 -07:00
Chris Jerdonek
2f16b88fb3
Refactor away VcsSupport.get_backend_from_location().
2018-10-10 02:16:00 -07:00
Pradyun Gedam
541ec239b2
Merge pull request #5843 from benoit-pierre/fix_tox.ini_install_command
...
tox: fix environment setup
2018-10-10 11:46:26 +05:30
Pradyun Gedam
817dfcb593
Merge pull request #5871 from Sea-n/patch-1
...
Fix Typo
2018-10-10 10:58:29 +05:30
Sean
8e3d30307b
Fix Typo
2018-10-10 10:35:03 +08:00
Benoit Pierre
4f18dc8984
travis: preemptively switch to VM-based jobs ( #5864 )
...
Rational: https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
2018-10-09 21:55:00 +05:30
Felix Yan
f3d82aa741
Fix a typo in tests/lib/configuration_helpers.py ( #5858 )
2018-10-09 20:28:50 +05:30
Chris Jerdonek
47b94f19bb
Merge pull request #5869 from cjerdonek/remove-svn-freeze-code
...
Address #5866 : remove deprecated SVN-specific freeze code.
2018-10-09 02:19:08 -07:00
Pradyun Gedam
35f0983639
Merge pull request #5863 from benoit-pierre/drop_py25_workaround
...
drop workaround for Python<=2.5
2018-10-09 14:34:49 +05:30
Chris Jerdonek
faff436100
Add guard clause.
2018-10-08 22:57:32 -07:00
Chris Jerdonek
500598287d
Remove deprecated SVN-specific freeze code.
2018-10-08 22:27:04 -07:00
Xavier Fernandez
3832020a1f
Merge pull request #5483 from popravich/retry_fix
...
Handle RetryError in HTMLPage (fixes #5270 )
2018-10-08 23:12:34 +02:00
Chris Jerdonek
33a671691b
Merge pull request #5837 from cjerdonek/simplify-init-args-from-dist
...
Simplify FrozenRequirement._init_args_from_dist()
2018-10-08 13:33:10 -07:00
Chris Jerdonek
b3ac98eff4
Only define comments when needed.
2018-10-08 11:31:27 -07:00
Chris Jerdonek
e80a90e96c
Add try-else clause.
2018-10-08 11:31:27 -07:00
Chris Jerdonek
39b413352d
Combine some lines.
2018-10-08 11:31:27 -07:00
Chris Jerdonek
f5026e7db9
Remove unneeded boolean flag variables.
2018-10-08 11:31:27 -07:00
Chris Jerdonek
7aa7bf0295
Add fourth guard clause.
2018-10-08 11:31:27 -07:00
Chris Jerdonek
6d84b4747a
Add third guard clause.
2018-10-08 11:30:50 -07:00
Chris Jerdonek
e4ce62a5de
Add second guard clause.
2018-10-08 11:30:50 -07:00
Chris Jerdonek
16333ef1da
Add first guard clause.
2018-10-08 11:29:39 -07:00
Chris Jerdonek
69b5917bc1
Merge pull request #5836 from uranusjr/bugfix-warn-directory-path-drop-index-url
...
Warn when dropping index URL value to directory
2018-10-08 11:20:35 -07:00
Chris Jerdonek
9d070c0ffb
Merge pull request #5853 from pradyunsg/reopen-for-development
...
Bump version to reopen for development
2018-10-08 10:11:24 -07:00
Pradyun Gedam
9e26002fcd
Bump deprecation version to unlock workflow
2018-10-08 20:46:17 +05:30
Benoit Pierre
0a58159571
drop workaround for Python<=2.5
2018-10-07 14:26:34 +02:00
Benoit Pierre
c9e47c9903
tox: fix environment setup
...
Ensure a stable version of pip is used for installing
dependencies, and not the version about to be tested.
2018-10-07 14:10:58 +02:00
Pradyun Gedam
c86b74279a
Bump version to reopen for development
2018-10-05 17:16:33 +05:30
Pradyun Gedam
6af9de97bb
Merge pull request #5851 from pradyunsg/release/18.1
...
Release/18.1
2018-10-05 14:37:26 +05:30
Pradyun Gedam
40d1fe382c
Bump version to 18.1
2018-10-05 01:53:28 +05:30
Pradyun Gedam
d80c90240b
Generate AUTHORS
2018-10-05 01:52:49 +05:30
Pradyun Gedam
2c0da26c1d
Generate NEWS for 18.1
2018-10-05 01:51:30 +05:30
Pradyun Gedam
c759504217
Merge pull request #5798 from pradyunsg/improve-configuration-handling
...
Improve configuration handling
2018-10-04 14:27:42 +05:30
Pradyun Gedam
3350cc4516
bodge: Allow both str and repr to be used for configuration file name
...
This is because Python 2's and Python 3's configparser treat the two
differently and we're reusing that message.
2018-10-03 20:23:40 +05:30
Alexey Popravka
290e3d592e
split test into two
2018-10-02 13:23:34 +03:00