Donald Stufft
0bc8aa5622
Style fixes for the latest flake8
2015-02-24 07:46:10 -05:00
Xavier Fernandez
d926c9e3b8
fix uninstall for distutils installed packages
...
fix #2384
2015-01-31 00:10:28 +01:00
Donald Stufft
311622bcfa
Fix tests on Python 2.6
2015-01-28 17:40:02 -05:00
Donald Stufft
3d18bcc793
Merge pull request #2347 from xavfernandez/uninstall_non_canonical_version
...
use dist.egg_info to uninstall distributions
2015-01-28 14:56:41 -05:00
Donald Stufft
7bfeb3a527
Merge pull request #2354 from sYnfo/master
...
Mark tests requiring Internet access
2015-01-15 06:58:50 -05:00
Matej Stuchlik
c5024dc851
Mark tests requiring Internet access
2015-01-15 00:53:15 +01:00
Xavier Fernandez
8838414eb5
fix test_install_upgrade tests
2015-01-14 14:02:21 +01:00
Donald Stufft
1927dfce6a
Merge pull request #2232 from msabramo/make_show_more_awesome
...
Make `pip show` show much more metadata
2014-12-23 22:06:24 -05:00
Donald Stufft
5f414a69c6
Don't return cached output for InstallRequirement().installed_version
2014-12-23 07:39:13 -05:00
Marc Abramowitz
ff79f3cb8d
Make pip show
show much more metadata
...
New fields:
- Metadata-Version
- Summary
- Home-Page
- Author
- Author-email
- License
- Entry-points
Sample output:
$ pip show pytest
---
Metadata-Version: 1.1
Name: pytest
Version: 2.6.4
Summary: pytest: simple powerful testing with Python
Home-page: http://pytest.org
Author: Holger Krekel, Benjamin Peterson, Ronny Pfannschmidt, Floris Bruynooghe and others
Author-email: holger at merlinux.eu
License: MIT license
Location: /Users/marca/python/virtualenvs/tmp-4e2169280f5cbd16/lib/python3.4/site-packages
Requires: py
Entry points:
[console_scripts]
py.test = pytest:main
py.test-3.4 = pytest:main
2014-12-19 09:44:58 -08:00
Donald Stufft
de69977816
Upgrade packaging to 14.5
2014-12-17 22:05:00 -05:00
Marc Abramowitz
3c13267188
Make test_missing_argument expect error
2014-12-15 20:58:20 -08:00
Donald Stufft
8e11f76171
Merge pull request #2185 from msabramo/GH-376_change_downloading_unpacking_msg_to_collecting
...
Change "Downloading/unpacking" to "Collecting"
2014-12-14 14:50:43 -05:00
Marc Abramowitz
b16d283d69
Change "Downloading/unpacking" to "Collecting"
...
"Downloading/unpacking" was misleading and confusing, especially when
the package is never found, as nothing was ever downloaded or unpacked
in this case.
The word "collecting" seems general enough to be accurate and it goes
well with the fact that later on pip will say, "Installing collected
packages".
Fixes: GH-376
2014-12-14 00:06:08 -08:00
Donald Stufft
6f64d3e6e2
Implement PEP 440
2014-12-13 13:50:21 -05:00
Donald Stufft
5f0692b40a
Fix for latest setuptools
2014-12-13 12:38:55 -05:00
Bussonnier Matthias
0582a91e62
Do not shadow submodules
...
using object that have the same name as submodules as the weird effect
of makeing `import pip.commands.<something> as <anothername>` fail with
a key error. This fixes it by renamin commands as command_dict and fixin
a few imports to accomodate.
Related to #2149
2014-12-12 16:06:04 +01:00
Donald Stufft
9d51060e0e
Merge pull request #1934 from piwai/develop
...
Pip doesn't detect dependancies that failed to install
2014-12-11 08:21:41 -05:00
Donald Stufft
01610be0d5
Use a secure randomized build directory when possible
2014-11-11 20:19:10 -05:00
Paul Moore
6e4a06d01e
Fixed finctional test for pip freeze
2014-10-16 09:36:56 +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
Pierre-Yves Rofes
af819b3758
Add a test for issue #1934
2014-10-02 09:17:27 +02: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
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
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
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
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -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
Berker Peksag
eee2334c92
Silence byte compile errors when installation succeed.
...
Fixes #1873 .
2014-08-21 16:40:02 +03: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
Donald Stufft
cbbbc9f6c7
Merge pull request #1926 from jschneier/develop
...
install -d works on vcs links fix #798 fix #1060
2014-08-04 09:58:16 -04:00
Marcus Smith
f2d5c340d1
pep8 fixes
2014-08-03 21:33:28 -07:00
Marcus Smith
dafe76f6fe
a functional test for non-editable vcs installs
2014-08-03 21:01:47 -07:00
Donald Stufft
90688e82b1
Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
...
This reverts commit da02f073da
, reversing
changes made to 2ad8888901
.
Conflicts:
CHANGES.txt
pip/commands/freeze.py
pip/commands/list.py
pip/commands/wheel.py
pip/index.py
pip/req/req_set.py
pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Josh Schneier
283df0e5a2
install -d works on vcs links fix #798 fix #1060
2014-07-17 01:53:14 -04:00
Antonio Alvarado Hernandez
57f2d47b84
Proposed fix to #1180 (and maybe #932 & #1104 )
...
This is a rebased final version of a proposed solution to fix
issues #932 , #1104 & #1180 . Following changes have been done:
* Implemented a new class `PipXmlrpcTransport` using a
contained `PipSession` object.
* Modified the `pip/commands/search.py` to make use of the
`PipXmlrpcTransport` class.
* Properly initialized options for testing `SearchCommand`:
- Changed `options_mock` to an `options` object built from
`parse_args`, to properly initialize default options.
2014-06-28 00:26:40 +02:00
MinRK
c2e71e7ce6
query installed requirements for extras
...
fixes issue where egg_info('requires.txt') does not exist
for packages installed from wheels.
2014-06-25 22:45:28 -04:00
Donald Stufft
ee2cb9c926
Don't rely on appspot
2014-06-10 12:35:51 -04:00
Marcus Smith
3d64db281b
merge 1.5.X into develop
2014-05-26 15:06:36 -07:00
Marcus Smith
3066157cc3
when installing from wheel files, parse the filename to build the requirement
2014-05-25 21:00:39 -07:00
Matthew Iversen
dcb0ee0702
Move backwardcompat package to compat module
2014-05-14 13:10:06 +10:00