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

3786 commits

Author SHA1 Message Date
Marc Abramowitz 987ce2b3b1 test_install: Less deps on external stuff
so that tests are faster and less likely to fail intermittently,
especially on Travis CI, where the networking is flakey.
2015-03-16 17:50:16 -07:00
Paul Moore 449be2c018 Merge pull request #2549 from kpersohn/windows-site-wide-path-docs
Fix Docs for Windows Site-Wide Config
2015-03-16 22:48:16 +00:00
Donald Stufft 598d5bad29 Merge pull request #2547 from pypa/revert-2513-ssh_and_commit_support
Revert "#2414: parse SSH repositories url with a commit hash"
2015-03-16 17:38:45 -04:00
Donald Stufft 5aacb260f0 Merge pull request #2530 from msabramo/get_dist_handle_when_egg_info_path_has_trailing_slash
Make get_dist handle egg_info_path w/ slash at end
2015-03-16 17:38:34 -04:00
Kyle Persohn a57f31beba Update user_guide.rst 2015-03-16 15:30:13 -05:00
Marc Abramowitz d04850659c Make get_dist handle egg_info_path w/ slash at end
Without this, I was getting:

    $ pip install -U 'sentry[lol]'
    ...
      UnknownExtra: Unknown 7.4.1 has no such extra feature 'lol'

With this, I get:

    $ pip install -U 'sentry[lol]'
    ...
      UnknownExtra: sentry 7.4.1 has no such extra feature 'lol'
2015-03-16 11:48:41 -07:00
Donald Stufft fca91e1aff Revert "#2414: parse SSH repositories url with a commit hash" 2015-03-16 13:57:41 -04:00
Donald Stufft e3e335d8e6 Merge pull request #2542 from dstufft/upgrade-setuptools
Upgrade setuptools to 14.3
2015-03-16 09:39:57 -04:00
Donald Stufft f5896328c1 Add the directory install speed up to the change log 2015-03-16 09:08:11 -04:00
Donald Stufft d01e7d6d9a Merge pull request #2535 from msabramo/speed_up_unpack_file_url_2
Speed up unpack_file_url
2015-03-16 09:06:10 -04:00
Donald Stufft c366a71aa7 Upgrade setuptools to 14.3 2015-03-16 08:49:57 -04:00
Donald Stufft cc7d178712 Fix tests 2015-03-16 08:44:02 -04:00
Donald Stufft 734bfb8e4c Add missing change log entries 2015-03-16 07:58:54 -04:00
Donald Stufft 0de8e98708 Merge pull request #2496 from msabramo/test_req_add_tests
Add test_{str,repr} to tests/unit/test_req.py
2015-03-16 07:57:28 -04:00
Donald Stufft 444ee9539b Merge pull request #2497 from xavfernandez/parse_req_cleanup
Parse req cleanup
2015-03-16 07:57:00 -04:00
Donald Stufft 18d92c4543 Merge pull request #2506 from xavfernandez/build_location
simplify and comment build_location/correct_build_location
2015-03-16 07:54:14 -04:00
Donald Stufft a2b89e2758 Merge pull request #2507 from xavfernandez/simplify_prepare_files
simplify (a little) prepare_files
2015-03-16 07:49:32 -04:00
Donald Stufft cccefe1cc9 Merge pull request #2142 from derwolfe/extras-user-warn-2138
warn user when requested extra does not exist - 2138
2015-03-16 07:44:33 -04:00
Paul Moore b1fe2cdfc8 Merge pull request #2526 from msabramo/test_freeze_bazaar_clone_work_on_windows
Make test_freeze_bazaar_clone pass on Windows
2015-03-16 11:40:41 +00:00
Donald Stufft 06473be631 Merge pull request #2513 from Eyepea/ssh_and_commit_support
#2414: parse SSH repositories url with a commit hash
2015-03-16 07:35:36 -04:00
Donald Stufft fc67a77385 Merge pull request #2534 from msabramo/InstallRequirement_repr_show_editable
InstallRequirement.__repr__ show editable
2015-03-16 07:30:29 -04:00
Donald Stufft 7f2d3a8980 Merge pull request #2531 from underyx/fix-en-dashes-in-docs
Disable sphinx's smartypants to fix -- being replaced with – in docs
2015-03-16 07:30:14 -04:00
Donald Stufft c430c2d50c Add some missing items to the changelog 2015-03-16 07:29:21 -04:00
Marcus Smith dfb27d14fa Merge pull request #2541 from msabramo/conftest_copy_less_stuff_to_virtualenvs
conftest: Copy a few less things to virtualenvs
2015-03-15 12:10:52 -07:00
Marc Abramowitz 7bd8dafef6 conftest: Copy a few less things to virtualenvs 2015-03-15 10:55:36 -07:00
Donald Stufft 9bd89d6d69 Merge pull request #2540 from Lukasa/requests26
Upgrade requests to 2.6.0.
2015-03-15 12:05:48 -04:00
Cory Benfield 06ea5fc05d Create pyversion_tuple 2015-03-15 15:32:47 +00:00
Marcus Smith a9502de0d8 Merge pull request #2539 from msabramo/conftest_copy_less_stuff_to_virtualenvs
conftest: Copy less stuff to virtualenvs
2015-03-15 08:30:53 -07:00
Marcus Smith 725a97d2db update changelog for #2502 fix 2015-03-15 08:17:31 -07:00
Marcus Smith 8867cb6115 Merge pull request #2538 from xavfernandez/fixes_2502
Fixes #2502
2015-03-15 08:06:03 -07:00
Cory Benfield a792ad3a7a Expect urllib3 platform warnings. 2015-03-15 14:56:08 +00:00
Marcus Smith 37094b1871 Merge pull request #2505 from xavfernandez/find_requirement_chopped
refactor PackageFinder.find_requirement into smaller methods
2015-03-15 07:06:17 -07:00
Cory Benfield 91183b5cf8 Upgrade requests to 2.6.0.
Also brings urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d
2015-03-15 12:08:47 +00:00
Marc Abramowitz b02c3f8acb conftest: Copy less stuff to virtualenvs
This shaves a few seconds off each test.
2015-03-15 04:45:50 -07:00
Xavier Fernandez 9dd1852c16 remove DistributionNotFound when no version is found
- and rely on if not applicable_versions test instead
- fixes #2502
- rephrase the DistributionNotFound error message to fix other tests
2015-03-15 12:07:36 +01:00
Xavier Fernandez e5b447b14f add docstring for _find_all_versions 2015-03-15 12:07:29 +01:00
Xavier Fernandez 2038c1af10 add intermediary tests for finder priorities
- test finder._find_all_versions results
- replace dead test with gmpy and dead c.pypi.python.org mirror
  by pip on pypi/warehouse
2015-03-15 12:07:06 +01:00
Xavier Fernandez b7cfcb0a43 refix find_requirement docstring 2015-03-15 12:07:06 +01:00
Xavier Fernandez 9d0fcf7ef5 rename to _get_index_urls_locations and fix docstring 2015-03-15 12:07:06 +01:00
Xavier Fernandez 93603ad380 Pass generator to _package_versions 2015-03-15 12:07:06 +01:00
Xavier Fernandez 7db5cdc7f9 add some tests on find_requirement parts 2015-03-15 12:07:06 +01:00
Xavier Fernandez dfe7b253a5 extract _get_indexes_locations logic 2015-03-15 12:07:06 +01:00
Xavier Fernandez 39c24740d8 move critical warning to find_requirement
and away of _find_all_versions that will return an empty list
2015-03-15 12:07:06 +01:00
Xavier Fernandez a25bfa968c add minimal find_requirement docstring 2015-03-15 12:07:06 +01:00
Xavier Fernandez 7471ede36d no need to recheck what we have just inserted 2015-03-15 12:07:06 +01:00
Xavier Fernandez 897e18f004 add _find_all_versions 2015-03-15 12:07:06 +01:00
Xavier Fernandez df57e0221d rename found_versions to find_links_version
to better reflect its role
2015-03-15 12:07:06 +01:00
Xavier Fernandez 04e5d9fead Fix _link_package_versions docstring 2015-03-15 12:07:06 +01:00
Marc Abramowitz 0a08fa70dc InstallRequirement.__repr__ show editable
This is handy to have when debugging with pdb.
2015-03-13 15:06:58 -07:00
Marc Abramowitz 4e6d935eaf Speed up unpack_file_url
E.g.: `pip install /path/to/dir`

by building an sdist and then unpacking it instead of doing
`shutil.copytree`. `shutil.copytree` may copy files that aren't included
in the sdist, which means that:

1. If those files are large, a `pip install` could take much longer than
it should.

2. Folks that are using `python setup.py install` to test their package
are not fully testing it, because it may copy over files that wouldn't
be there if they built and sdist and installed that.

So this method building an sdist is both more accurate and faster.

Fixes https://github.com/pypa/pip/issues/2195
2015-03-13 15:03:01 -07:00