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

947 commits

Author SHA1 Message Date
Paul Moore 6e4a06d01e Fixed finctional test for pip freeze 2014-10-16 09:36:56 +01:00
Paul Moore b0d173e435 Added unit tests for get_installed_distributions user_only 2014-10-15 23:03:44 +01:00
Paul Moore 3c2515805f Added functional tests 2014-10-15 21:57:11 +01:00
Marcus Smith c72668f125 Merge pull request #2088 from qwcode/false_positive
fix false positive tests due to assert tuple syntax
2014-10-09 17:37:22 -07:00
Marcus Smith 9d01010672 fix false positive tests due to assert tuple syntax 2014-10-08 21:51:14 -07:00
Alli 3966128759 Update functional test of freeze for output change 2014-10-07 20:53:12 +13:00
Chris Jerdonek e2f8843841 DRY up use of repo directory in test_freeze_git_clone(). 2014-10-01 07:14:49 -04:00
Chris Jerdonek 53660266f4 Add functional test for issue #1083. 2014-10-01 07:14:49 -04:00
Chris Jerdonek a2090f3172 Change "escape" to "translate" in escape_egg_surname(). 2014-10-01 07:14:47 -04:00
Chris Jerdonek b88207a36f Fix issue #1083.
This commit escapes the egg "surname" when using git with freeze.
2014-10-01 07:14:09 -04:00
Donald Stufft 9ffa90fb5d Merge pull request #2069 from msabramo/GH-1867_names_by_commit_deterministic
Fix GH-1867: non-deterministic name for git editables on Python 3
2014-10-01 07:11:24 -04:00
Matt Robenolt 334af19e7c Better ignore syntaxerror stack traces in wheels
This already got stripped just fine for non-wheel installs, but for
wheels, it only stripped the lined where `SyntaxError` was present
leaving the rest of the stacktrace.
2014-10-01 00:12:07 -07:00
Marc Abramowitz 8d1765476e Git.get_src_requirement: Get first matching ref alphabetically
so that the result is deterministic and predictable
2014-09-27 14:14:58 -07:00
Marc Abramowitz 91dd3a599d Add test_git_get_src_requirements 2014-09-27 14:12:19 -07:00
Donald Stufft 958e6bc02a Merge pull request #2055 from bukzor/buck-del-unused-functions
delete two unused functions
2014-09-25 23:10:40 -04:00
Donald Stufft 05c7fa8bb3 Merge pull request #2001 from dstufft/normalize-URLs
Normalize names in a URL
2014-09-25 22:08:16 -04:00
Buck Golemon 894dc94233 delete two unused functions 2014-09-19 16:27:16 -07:00
Donald Stufft 7eff500a23 Merge pull request #2049 from dstufft/pip-version-check-redux
pip version check redux
2014-09-18 12:19:05 -04:00
Donald Stufft 41a64dad8b Fix pep8 tests 2014-09-18 11:45:32 -04:00
Donald Stufft 540ac67ebb Fix on PyPy 2014-09-18 11:41:09 -04:00
Donald Stufft c3df28c774 Fix for Python 3.x, Refactor, and small changes 2014-09-18 07:44:02 -04:00
Donald Stufft 14eb6b5fa0 Merge pull request #2032 from bukzor/buck-coverage-1
unit coverage for wrong-case
2014-09-18 07:13:57 -04:00
Donald Stufft cc2a44e995 Normalize names in a URL
PyPI and Bandersnatch now normalize the project name in their
URLs. This change matches that and will reduce the number of
redirects we hit on PyPI and will reduce the need to hit /simple/
on a Bandersnatch mirror.
2014-09-18 07:11:31 -04:00
Richard Jones 500a987ee4 Implement a pip self-check with to determine when it's out of date.
Initial work cribbed from PR 1214.
2014-09-18 17:31:57 +10:00
Buck Golemon d25e88a0dd removed tag_svn_revision from setup.cfg
py.test tests/functional/test_install_user.py::Tests_UserSite::test_install_curdir_usersite
2014-09-17 17:13:18 -07:00
Buck Golemon 72344874d2 unit coverage for wrong-case 2014-09-17 13:45:26 -07:00
Donald Stufft 6b3be72991 Switch from using cmp to using sorted() with a key func 2014-09-11 19:22:52 -04:00
Donald Stufft ec91d8e421 Move from pip.compat.* to six.moves.* for urllib related stuff 2014-09-11 18:40:45 -04:00
Paul Moore f6b0665553 Merge pull request #2007 from jonparrott/develop
Fixing issues with install's --target option.
2014-09-11 14:04:26 +01:00
Donald Stufft f63d1e3abb Implement platform specific user config locations 2014-09-10 11:43:34 -04:00
Donald Stufft 31b5cb523a Merge pull request #2020 from dstufft/minor-test-layout-change
Properly split up the test cases for appdirs
2014-09-10 11:20:36 -04:00
Donald Stufft 2dd235e4eb Properly split up the test cases for appdirs 2014-09-10 10:42:23 -04:00
Donald Stufft 8e0ec8d293 Move appdirs from pip.appdirs to pip.utils.appdirs 2014-09-10 10:40:22 -04:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Donald Stufft 800af158cd Merge pull request #2012 from remram44/unicode-log_v3
Fix attempt for unicode bug #1137 (v3)
2014-09-10 07:31:59 -04:00
Remi Rampin 48584f0de7 Adds test for native_str() 2014-09-01 21:47:04 -04:00
Remi Rampin 00c69bd704 Acceptance test for unicode log fix 2014-09-01 21:32:14 -04:00
Jon Wayne Parrott ecb3049b8d Covering case of single-module packages.
Behavior is now to overwrite files or folders if --upgrade is specified, however, links will not be overwritten.
2014-08-31 12:11:27 -04:00
Jon Wayne Parrott 12ff251d2d Fixing pep8 errors 2014-08-30 21:25:03 -04:00
Jon Wayne Parrott acf8634e8f Fixing issues with install's --target option.
1. Check for the existence of a directory before copying from temporary directory to final target. If it exists, warn the user.
 2. If the user specifies the --upgrade option and the directory exists, delete it and continue with installation.
 3. Adding tests for above cases.

This resolves #1489, #1710 completely and parts of #1833.
2014-08-30 20:21:08 -04:00
Donald Stufft 4b6b7c77b6 Merge pull request #2005 from dstufft/pr-1959
Continue PR #1959
2014-08-30 19:13:31 -04:00
Donald Stufft e4d1228e47 Test that parse_requirements does not require a finder 2014-08-30 17:20:21 -04:00
Donald Stufft 80399a6c3f Fix to add a missed/new windows compat location 2014-08-30 14:53:56 -04:00
Donald Stufft 89fc318113 Merge pull request #1897 from paweljasinski/ironpython
detect windows when running under IronPython
2014-08-30 13:48:45 -04:00
Donald Stufft 09a74c6062 Merge pull request #1984 from berkerpeksag/fix-1873
Silence byte compile errors when installation succeed.
2014-08-26 18:36:48 -04:00
Richard Jones aedca3c842 Implement site-wide configuration settings
* add site_config_dirs() to appdirs to determine locations across OSes
* add system_config_files to locations.py
* add system_config_files to get_config_files() and re-order files entries to correct precedence
* document changes to configuration files in user guide

Closes #309
2014-08-22 14:26:41 +10:00
Berker Peksag eee2334c92 Silence byte compile errors when installation succeed.
Fixes #1873.
2014-08-21 16:40:02 +03:00
Pawel Jasinski 58c347ad25 fixed windows test 2014-08-12 03:04:55 +02:00
Richard Jones 704f658c63 don't complain about localhost when checking security of index links
based entirely off of Guy Rozendorn's work in PR #1718
2014-08-11 14:21:02 +10:00
Donald Stufft aaa4bfcdbc Merge pull request #1956 from qwcode/issue_1952
preserve the full vcs url when using `InstallRequirement.from_line`
2014-08-04 10:13:18 -04:00