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

873 commits

Author SHA1 Message Date
Matthew Iversen
dcb0ee0702 Move backwardcompat package to compat module 2014-05-14 13:10:06 +10:00
Donald Stufft
52ca02608e Use CacheControl instead of custom cache code
* Deprecates the --download-cache option & removes the download
  cache code.
* Removes the in memory page cache on the index
* Uses CacheControl to cache all cacheable HTTP requests to the
  filesystem.
  * Properly handles CacheControl headers for unconditional
    caching.
  * Will use ETag and Last-Modified headers to attempt to do a
    conditional HTTP request to speed up cache misses and turn
    them into cache hits.
  * Removes some concurrency unsafe code in the download cache
    accesses.
  * Uses a Cache-Control request header to limit the maximum
    length of time a cache is valid for.
* Adds pip.appdirs to handle platform specific application
  directories such as cache, config, data, etc.
2014-05-09 18:28:20 -04:00
Marcus Smith
b0b05737a9 Merge pull request #1787 from qwcode/wheel_editables
build wheels for dependencies of editables
2014-05-09 15:00:50 -07:00
Donald Stufft
f79ca70c66 Remove the bundle functionality from pip 2014-05-08 16:09:23 -04:00
Donald Stufft
7d3917e4e0 Merge pull request #1801 from dstufft/isolate-tests
Isolate our tests from the running user's configuration
2014-05-07 18:23:08 -04:00
Donald Stufft
97d8bee705 Isolate our tests from the running user's configuration 2014-05-07 16:17:07 -04:00
Daniel Hahler
e52043b407 Fix path to build dir in assertion
`Path() / "/build"` results in an absolute path `/build`, which is not
what is meant to be checked for.
2014-05-07 17:15:42 +02:00
Donald Stufft
7037443975 Require an already created session to be passed into APIs 2014-05-06 22:37:46 -04:00
Alex Gaynor
a94ce18f62 Use the correct URL in the test
This saves loading a redirect in the test suite. speeeeeeed
2014-05-06 16:35:18 -07:00
Marcus Smith
12034176a1 build wheels for dependencies of editables 2014-05-03 10:12:57 -07:00
Donald Stufft
e3873b1be8 Merge pull request #1704 from jamezpolley/develop
If at first you can't stat the index file, try again
2014-05-03 07:46:29 -04:00
Donald Stufft
763c906b3f Merge pull request #1741 from djs/develop
Add option --no-ssl-verify to skip ssl cert verification
2014-05-03 07:45:07 -04:00
Alex Gaynor
b48b9ce53f Resolve several typos in the codebase 2014-04-29 22:33:04 -07:00
James Polley
58097b64c4 Add tests (and data required for tests) for new code that enables retry
if we can't stat a file while using a file:/// index-url.
2014-04-30 12:03:55 +10:00
Paul Moore
afc4c81c09 Merge pull request #1770 from pfmoore/wheel_retcode
Make pip wheel return failure if any wheels fail to build
2014-04-29 07:54:29 +01:00
Paul Moore
e9e5a7e874 Need to tell script.pip to expect an error 2014-04-28 15:46:29 +01:00
Paul Moore
92c3a673fd Fix tests on Windows, where Path objects were changing to strings mysteriously... 2014-04-28 15:38:39 +01:00
Paul Moore
0047974b0f Make pip wheel return failure if any wheels fail to build 2014-04-28 14:28:31 +01:00
Marcus Smith
04b3dc8eb8 pep8 fixes 2014-04-25 14:42:14 -07:00
Marcus Smith
ebe2465635 merge 1.5.X to empty_dirs_develop 2014-04-25 14:08:40 -07:00
Matthew Iversen
0fffb402e4 Merge branch 'duplicate_consumers' into develop
Conflicts:
	CHANGES.txt
2014-04-25 18:29:18 +10:00
Alex Gaynor
a46515eb87 Use a smaller repository in the tests for speed.
Refs #1721
2014-04-24 07:48:51 -07:00
Dan Savilonis
9a9d7acefe Add option --no-check-certificate to skip ssl cert verification 2014-04-24 01:46:33 -04:00
Matthew Iversen
c854973beb Use pytest monkeypatching for sys.platform 2014-04-23 22:54:39 +10:00
Marcus Smith
5ff772d774 a teardown that pytest recognizes 2014-04-22 13:09:13 -07:00
Marcus Smith
b274b85f96 don't install empty dirs during wheel installs 2014-04-21 23:07:25 -07:00
Matthew Iversen
699bd996ec Fix pep8 2014-04-21 12:15:36 +10:00
Guy Rozendorn
d326d60724 speeding up test_uninstall_editable_with_source_outside_venv by using pip-test-package instead of virtualenv
before:
1 passed, 12 deselected in 218.41 seconds

after:
1 passed, 12 deselected in 3.42 seconds
2014-04-21 12:14:39 +10:00
Matthew Iversen
9cb0ea294a Add tests, improve code addition 2014-04-17 08:42:41 +10:00
Matthew Iversen
90762719a2 Use pip-test-package instead of virtualenv 2014-04-16 13:27:00 +10:00
Matthew Iversen
d1a7130246 Fix compatibility with wheel 0.23.0
wheel now only produces the major python version for the tag of pure
distributions, so expect that instead.
2014-04-03 10:49:27 +11:00
Marcus Smith
2264dc4398 lib path fixes for pypy tests 2014-03-29 20:17:10 -07:00
Marcus Smith
ca55f9f8b1 remove unused imports 2014-03-29 09:54:05 -07:00
Marcus Smith
8d37e2abcf turn on --user tests for pypy 2014-03-29 09:48:12 -07:00
Donald Stufft
22c562429a Use Accept-Encoding: identity when requesting files 2014-03-27 11:34:51 -04:00
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