lakshmanaram
25a0fbb746
move pyparsing update from Features to Vendored Libraries
2018-10-26 16:15:12 +01:00
Benoit Pierre
116c3b1c7e
tox: define the minimal tox version required ( #5914 )
2018-10-24 11:14:14 -07:00
Chris Jerdonek
951e0cba51
Fix #5868 : TypeError in move_wheel_files(). ( #5883 )
2018-10-24 09:19:58 -07:00
Pradyun Gedam
7408e04111
Merge pull request #5911 from QueenCoffee/patch-1
...
Corrected a tiny typo
2018-10-23 22:32:01 +05:30
Pradyun Gedam
5735e6948a
Merge pull request #5909 from pradyunsg/appveyor-rename
...
Rename appveyor.yml -> .appveyor.yml and update references
2018-10-23 22:11:06 +05:30
Pavithra Eswaramoorthy
fe0393d1db
Corrected a tiny typo
2018-10-23 22:10:11 +05:30
Pradyun Gedam
cc05433512
Merge pull request #5910 from cjerdonek/add-create-main-file
...
DRY up the test code that creates a module with a main() function.
2018-10-23 20:05:05 +05:30
Pradyun Gedam
e19aceff40
Merge branch 'master' into appveyor-rename
2018-10-23 19:20:46 +05:30
Pradyun Gedam
51819cc3d8
Merge pull request #5886 from benoit-pierre/rework_tests_virtualenv_with_support_for_venv
...
Rework tests virtualenv, also adding support for using venv
2018-10-23 13:32:22 +05:30
Chris Jerdonek
ece4866086
DRY up the test code to create a module with a main() function.
2018-10-23 00:06:06 -07:00
Xavier Fernandez
3b8c076c1f
Merge pull request #5842 from takluyver/i5839
...
Don't crash on invalid requirements in installed packages
2018-10-22 17:22:04 +02:00
Chris Jerdonek
4e6bdf6adc
Merge pull request #5881 from cjerdonek/remove-vcs-get-src-requirement
...
Remove the module-level get_src_requirement().
2018-10-22 01:43:04 -07:00
Pradyun Gedam
06ccf39bc3
Merge pull request #5814 from pradyunsg/docs/reduce-heading-level
...
Reduce the heading level
2018-10-22 12:31:15 +05:30
Pradyun Gedam
5167495eb7
Rename appveyor.yml -> .appveyor.yml and update references
2018-10-22 12:16:43 +05:30
wim glenn
3a6a1c06a9
Remove dead code: `import_or_raise` utility function ( #5876 )
...
* Remove dead code import_or_raise utility function
* add news marker
2018-10-21 22:15:27 +02:00
Benoit Pierre
0b45fdad6c
tests: improve temporary directories cleanup
2018-10-21 21:43:32 +02:00
Benoit Pierre
a4209aa0fb
tests: add support for using venv for the virtual environment
...
Add a new testsuite option `--use-venv` to enable the use of `venv`
for creating a test virtual environment. The option is opt-in because
creating a `venv` environment does not work right when running under a
`virtualenv`; which is why `tox-venv` must be used in combination with
tox.
2018-10-21 21:43:32 +02:00
Dave Jones
62c27dee45
Use ZipFile.open instead of ZipFile.read ( #5848 )
...
To avoid huge memory usage in unusual situations (e.g. a TensorFlow
wheel on a Raspberry Pi), use ZipFile.open and shutil.copyfileobj
instead of reading all the decompressed data into a byte-string.
2018-10-19 10:32:30 -07:00
Jon Dufresne
2d545dd9c8
Prefer io.BytesIO over six; available on all supported Pythons
...
On all supported Pythons, the io.BytesIO is always a stream
implementation using an in-memory bytes buffer. Makes code slightly more
forward compatible by reducing use of the six module.
2018-10-19 13:52:58 +02:00
Chris Jerdonek
c72b752bf7
Improve TestUnpackArchives to also test the contents of the extracted files ( #5891 )
2018-10-19 03:58:51 -07:00
Tom Forbes
78371cc950
Redact basic authentication passwords from log messages ( #5773 )
...
Redact basic authentication passwords from URLs.
2018-10-19 02:06:10 -07:00
Benoit Pierre
add3801163
tests: rework tests virtual environment
...
- cleanup virtualenv creation code
- ensure all testing virtual environments use a recent version
of setuptools / wheel, making it easier to switch to custom
versions of those, as well as reducing network accesses
- reduce size of testing virtual environment, slightly speeding
up the testsuite
2018-10-18 23:28:37 +02:00
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
Chris Jerdonek
46ffb13f13
Remove unused dependency_links variables in freeze.py.
2018-10-16 02:42:20 -07:00
Chris Jerdonek
ddfe130b31
Make get_requirement_info() a function rather than a class method.
2018-10-16 02:27:12 -07: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
c976f2c1e9
Flatten the try-except.
2018-10-13 02:15:37 -07:00
Chris Jerdonek
5ad0379e8d
Remove the module-level function get_src_requirement().
2018-10-13 02:15:33 -07:00
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
Thomas Kluyver
b61e83b0a3
OK, 79 characters
2018-10-11 17:18:13 +01:00
Thomas Kluyver
2480bc31f1
Fix linter issues
2018-10-11 16:52:37 +01:00
Thomas Kluyver
a8cc72d895
Add test for 'pip check' with broken metadata
2018-10-11 16:14:34 +01: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