1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

838 commits

Author SHA1 Message Date
Donald Stufft 5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Marcus Smith 0690ff8c2c Merge pull request #1635 from Ivoz/wheelfiles
Allow pip to show files installed for wheels
2014-03-14 21:31:14 -07:00
schlamar 6dfdad58eb Fixed failing test case. 2014-03-13 21:04:43 +01:00
schlamar 3affcaa2b8 install_lib should take precedence when reading distutils config. 2014-03-13 20:19:26 +01:00
Matthew Iversen 4ef2dca0d7 Allow pip to show files installed for wheels
- shortened looping logic in search_packages_info
- added logic to find installed files for .dist-info's
- Seemed to be off-by-one error for assert exceptions in test_show_with_files_not_found
- changed ..._with_files_not_found to use an editable install for being unlistable
- added test to assert a wheel's files are now listed :D
2014-03-12 16:31:41 +11:00
Marcus Smith e7f4e4d816 Merge pull request #1601 from Ivoz/editablesubdir
Use subdirectory as cwd if specified
2014-03-10 21:54:05 -07:00
Matthew Iversen 4008c0a111 Fix tests for subdirectory install
- make assert_install test clearer
- Add option allowing for testing install from an editable subdirectory
2014-03-09 05:33:05 +11:00
Matthew Iversen 79636d25fc Make svn test less brittle to a surprise argparse 2014-03-09 04:49:41 +11:00
Bruno Renié 244b399f1f Fix #1424 -- add support for SSL client certificate 2014-03-07 13:41:15 +01:00
Donald Stufft c85150a500 Merge pull request #1444 from novel/retries
Introduce 'retry' option
2014-03-06 22:10:34 -05:00
Daniele Procida 68cacfb71d fixes #1615 2014-03-05 18:17:43 -05:00
Marcus Smith bff390eb1e pkg exclusions for pip list/freeze 2014-02-28 20:09:26 -08:00
Donald Stufft 95ac4c16f5 Remove dependency links support from pip 2014-02-25 18:39:40 -05:00
Donald Stufft 95035fc5c4 Turn on everything in flake8
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft d40d56c01c Remove duplicated test 2014-02-20 20:41:52 -05:00
Donald Stufft 751eec65f3 Merge branch 'master' into develop
Conflicts:
	CHANGES.txt
	docs/configuration.rst
	docs/cookbook.rst
	docs/reference/pip.rst
	docs/usage.rst
	pip/__init__.py
	pip/commands/install.py
	pip/commands/wheel.py
	pip/req.py
	pip/wheel.py
	tests/unit/test_wheel.py
2014-02-20 20:33:59 -05:00
Matthew Iversen b26d91c880 Ensure wheel-Version is compatible with pip 2014-02-19 20:01:22 -05:00
Matthew Iversen f0d093feec Simplify wheel exception raises assertion 2014-02-19 18:32:41 +11:00
Matthew Iversen 5a6855dcf1 Fix test logic, tiny error / import cleanup 2014-02-19 10:31:12 +11:00
Matthew Iversen 897b509275 Python 3 compatibility 2014-02-18 17:59:53 +11:00
Matthew Iversen 6cd145ab62 Add unit test for check_compatibility 2014-02-18 15:21:18 +11:00
Matthew Iversen 76399f2f96 Explain futurewheel version numbers 2014-02-15 17:53:01 +11:00
Matthew Iversen 1b6b537673 Fix tests to expect installation or not 2014-02-15 17:47:44 +11:00
Matthew Iversen 13f6c68f0c Ensure wheel-Version is compatible with pip 2014-02-15 17:21:22 +11:00
Donald Stufft 1e29f9eb6f Cleanup after each test case 2014-02-10 13:01:52 -05:00
Marcus Smith 85d68bbf97 fixes for downloading wheels (Issue #1112)
Conflicts:
	pip/req/req_set.py
2014-02-08 09:17:13 -08:00
Marcus Smith a25b3d15c2 when file urls have hash fragments, check it 2014-02-08 09:06:54 -08:00
Marcus Smith 51a93e0672 'pip wheel' should download wheels, when it finds them
Conflicts:
	pip/commands/wheel.py
	pip/download.py
	pip/req/req_set.py
	pip/wheel.py
2014-02-08 09:05:40 -08:00
Roman Bogorodskiy f29dd1ad32 Introduce 'retry' option
Add a 'retry' option which allows to configure how many
retries pip should make before giving up on HTTP request.

When the retries count is specified by user, its value is
passed to HTTPAdapter from requests which handles all
the underlying operations.
2014-02-04 00:37:05 +04:00
Marcus Smith 4af1008104 fixes for downloading wheels (Issue #1112) 2014-02-02 15:09:32 -08:00
Marcus Smith eb7a31e019 when file urls have hash fragments, check it 2014-02-01 14:04:58 -08:00
Marcus Smith e41bf0230e 'pip wheel' should download wheels, when it finds them 2014-02-01 11:41:55 -08:00
Donald Stufft 9f027337a8 Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
Donald Stufft 2743768b7b Fix the style of the code base to better match pep8 2014-01-27 14:11:29 -05:00
Donald Stufft 8a2882c2c6 Merge branch 'master' into develop
Conflicts:
	pip/__init__.py
	pip/req.py
2014-01-26 10:39:29 -05:00
Donald Stufft bd7dae9ed3 Properly parse comments from the end of a line 2014-01-22 21:50:57 -05:00
Marcus Smith a53c1ed09b use --no-use-wheel in the bundle functional tests 2014-01-21 10:11:45 -08:00
Marcus Smith 8491f9fa15 use --no-use-wheel in the bundle functional tests 2014-01-20 20:44:41 -08:00
Donald Stufft e9a896a9a0 Merge branch 'master' into develop
Conflicts:
	docs/installing.rst
	pip/__init__.py
2014-01-20 22:48:44 -05:00
Marcus Smith ac45fcb570 additional wheel filename tests 2014-01-15 20:42:14 -08:00
Ralf Schmitt 70c42ad26e fix typo in test name 2014-01-16 00:21:04 +01:00
Ralf Schmitt 9815271737 raise InvalidWheelFilename if version is missing in wheel filename
Wheel('Cython-cp27-none-linux_x86_64.whl') did raise an AttributeError
instead of InvalidWheelFilename.

This has also been discussed an is similar to
https://github.com/pypa/pip/pull/1445
2014-01-16 00:18:03 +01:00
Marcus Smith ea97076ce0 Merge pull request #1445 from schmir/fix-wheel-single-digit-version
make sure that wheel files with a single digit version do work
2014-01-15 14:22:39 -08:00
Marcus Smith a7c522da97 fix references to req methods/classes after refactor 2014-01-12 10:05:11 -08:00
Marcus Smith d680fd4f1f merge from 1.5.X 2014-01-11 16:28:00 -08:00
Donald Stufft 57acb26498 If --allow-unverified is used assume it also means --allow-external 2014-01-10 10:35:55 -05:00
Ralf Schmitt 2ca9ba6521 make sure that wheel files with a single digit version do work
this is a rather serious bug, since it makes 'pip wheel ...' fail with
the following error if the wheelhouse contains such a wheel:

,----
| ...
|   File "/home/ralf/.ve/dev/local/lib/python2.7/site-packages/pip/wheel.py", line 420, in __init__
|     self.version = wheel_info.group('ver').replace('_', '-')
| AttributeError: 'NoneType' object has no attribute 'replace'
`----
2014-01-09 16:15:38 +01:00
Donald Stufft aa6136014f Use the raw stream to prevent decoding the response 2014-01-07 11:57:25 -05:00
Donald Stufft eeea3b73aa Work around python 2.6 not having `python -m` 2014-01-07 09:03:43 -05:00
Donald Stufft f934b77d61 Have a nice error when setuptools is not available 2014-01-07 08:36:04 -05:00