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

1939 commits

Author SHA1 Message Date
Steve Kowalik
2e68a7fe19 Upgrade to packaging 16.5 2016-02-29 13:56:17 +11:00
Xavier Fernandez
1888affb4a Merge pull request #3468 from seanjensengrey/vendor-distlib-0.2.2
updated distlib to 0.2.2
2016-02-24 22:49:51 +01:00
Xavier Fernandez
01cd191402 Merge pull request #3505 from njsmith/fix-verbose-subprocess-output
Fix display of subprocess output when --verbose is given
2016-02-24 22:42:23 +01:00
Nathaniel J. Smith
113394250e Fix display of subprocess output when --verbose is given
Closes #3486
2016-02-23 15:13:55 -08:00
Donald Stufft
b8e2f7b55a Use packaging 16.2's canonicalize_name function 2016-02-17 21:03:24 -05:00
Donald Stufft
b6645ee87b Upgrade packaging to 16.2 2016-02-17 21:02:04 -05:00
Xavier Fernandez
8233a83299 Merge pull request #3455 from bukzor/enable-warning-filters
enable python -W with respect to PipDeprecationWarning
2016-02-11 10:24:30 +01:00
Xavier Fernandez
496b7c1e64 Merge pull request #3466 from sbidoul/impl-3217-sbi
Allow installing modules from a vcs subdirectory in non-editable mode
2016-02-10 09:52:08 +01:00
Stéphane Bidoul
74e7b57cb5 reintroduce call to _build_req_from_url inadvertently removed in previous commit 2016-02-09 22:45:30 +01:00
Stéphane Bidoul
f3ca1b973f remove editable_options which is now obsolete code 2016-02-09 11:08:16 +01:00
Stéphane Bidoul
4ccfec0e80 make pip download work with vcs urls having the subdirectory option 2016-02-09 10:39:46 +01:00
Buck Golemon
584d96bfe9 add tests 2016-02-08 15:29:25 -08:00
Buck Golemon
2c46dc9b72 enable python -W with respect to PipDeprecationWarning 2016-02-08 11:27:17 -08:00
seanj
d7ee5a639f updated distlib to 0.2.2
This fixes an issue with tox/virtualenv/pip where the pip and wheel
shebang lines were wrapped with a quote " that prevents the command
from executing.

66e4805271/distlib/scripts.py (scripts.py-66)

I confirmed that with the updated distlib I was able to create a
virtualenv, and then install the updated `pip` into it.

```
virtualenv --no-wheel --no-pip --no-setuptools --python=jython jython.env
jython -c 'import sys, pip; sys.exit(pip.main(["install", "--ignore-installed"] + sys.argv[1:]))' pip
```

```
$ pip list
decorator (4.0.9)
ipython (4.1.1)
ipython-genutils (0.1.0)
path.py (8.1.2)
pexpect (4.0.1)
pickleshare (0.6)
pip (8.0.2)
ptyprocess (0.5.1)
py (1.4.31)
pytest (2.8.7)
requests (2.9.1)
setuptools (20.0)
simplegeneric (0.8.1)
simplejson (3.8.1)
six (1.10.0)
traitlets (4.1.0)
wheel (0.29.0)
```

Aside: The process for tracking and updating _vendor libs should be streamlined.
The Makefile blows away modified code, making it a manual process to update
vendored libs.
2016-02-08 10:27:00 -06:00
Stéphane Bidoul
3f4a796ff8 make pip wheel work with vcs urls having the subdirectory option 2016-02-08 16:42:57 +01:00
Stéphane Bidoul
1d759b3afa Allow installing modules from a vcs subdirectory in non-editable mode 2016-02-08 16:42:54 +01:00
Steve Kowalik
bb24797352 Update to packaging 16.1 2016-02-08 12:10:02 +11:00
Paul Moore
61f75c40ad Merge pull request #3448 from stonebig/patch-1
write only relative path in 'RECORD'
2016-02-07 08:31:49 +00:00
Xavier Fernandez
c18a38b338 Merge pull request #3453 from kennethreitz/master
exclude wheel from pip freeze
2016-02-06 21:47:54 +01:00
Kenneth Reitz
e5794e2bf8 exclude wheel from pip freeze 2016-02-04 18:43:10 -05:00
stonebig
6716d906b3 simplify to assume Py2.6 and pypy 2016-02-02 22:00:45 +01:00
stonebig
64c5a11170 pep 8 2016-02-02 21:32:27 +01:00
stonebig
feb135011e pep 8 2016-02-02 21:22:17 +01:00
stonebig
8de0f2a31a write only relative path in 'RECORD'
RECORD now contains only relative path.
some bugs triggered by a bleeding edge usage of python may disappear a result (https://github.com/pypa/pip/issues/3433)
2016-02-02 21:09:21 +01:00
montefra
3c85765e67 Fix delimiter tuple 2016-02-02 13:52:09 +01:00
montefra
059481ca44 Use "=" as the sole delimiter when parsing the entry point dictionary 2016-02-02 13:50:46 +01:00
Nathaniel J. Smith
af675e7797 Make install --quiet really quiet
Commit 5bb989993 added some code for hiding/showing the cursor when
running on the terminal, but accidentally made it so that it always
printed the invisible control codes, even when not on a tty or when
--quiet was specified. This turns out to be surprisingly bad (e.g. it
breaks the official docker python builds). So, let's not do that.

Fixes gh-3418
2016-02-01 14:59:06 -08:00
Xavier Fernandez
48627ff97a Merge pull request #3412 from rygwdn/fix-freeze
pip freeze: handle new requirements options.
2016-01-31 23:15:07 +01:00
Donald Stufft
5a94590f0e Let ImportError while aliasing silently pass
This won't actually let the final error silently pass, since it
will mean that when pip attempts to import one of the aliased
modules we'll get the standard ImportError then instead of when
the aliasing attempts to happen.
2016-01-31 12:33:34 -05:00
Xavier Fernandez
24dc9b6361 Merge pull request #3372 from kaustavha/kaustavha/fix/double-reqs
fix(pip/req/req_set): Dont err on double reqs of the same spec
2016-01-25 23:48:22 +01:00
Donald Stufft
f8ebf7374f Bump for development 2016-01-21 18:51:01 -05:00
Donald Stufft
63d41a82af Bump version for release, update changelog 2016-01-21 18:48:12 -05:00
Donald Stufft
c77d4ab55e Stop trying to locate system trust stores
We started trying to locate the system trust stores, because
downstream was patching out our bundled copies anyways and it would
provide a smoother experience when people upgraded their pip inside
of their system.

However, if we just use OpenSSL's CAFile then we're broken on systems
like Debian which currently ship a broken CAFile configuration. If
we just use OpenSSL's CAPath then we're broken on systems like CentOS
and Fedora that currently are shipping a broken OpenSSL CAPath.

So basically, none of the major distributions seem to be capable of
shipping an OpenSSL that isn't broken, so we're going back to relying
on our own CA bundle exclusively.
2016-01-21 16:19:34 -05:00
Donald Stufft
7b71ae3b74 Bump for development 2016-01-21 14:44:30 -05:00
Donald Stufft
9b13df0ccb Bump versions for release 2016-01-21 14:33:33 -05:00
Donald Stufft
a2fdaefc97 Merge pull request #3389 from ianw/overwrite-distutils
Restore ability to uninstall distutils packages
2016-01-21 14:25:12 -05:00
Donald Stufft
ef3a780a4a Fix an unrelated thing that somehow never got tested before! 2016-01-21 10:12:20 -05:00
Donald Stufft
e32c9b5b08 Move the test for local items to earlier in uninstall process 2016-01-21 10:12:20 -05:00
Ryan Wooden
17fdbc8f8f pip freeze: handle new requirements options.
pip 8.0.0 added support for --pre, --trusted-host, and
--process-dependency-links to requirements files, but they were
not handled by freeze.
2016-01-21 10:55:43 -04:00
Donald Stufft
4938cb2b52 Deal with cross platform 2016-01-21 08:22:25 -05:00
Robert Collins
7b2fbb069a Stop erroring on installs of argparse and wsgiref. 2016-01-21 13:49:49 +13:00
Donald Stufft
c67e3ba987 Switch this from a RuntimeWarning to a logger.debug call 2016-01-20 10:58:40 -05:00
Donald Stufft
dde9702c08 Merge pull request #3397 from interrogator/develop
Fix OSX 10.11 release number splitting error
2016-01-20 10:15:30 -05:00
Donald Stufft
ad577befe1 Merge pull request #3398 from xavfernandez/pip_list_pre
pip list: reenable prereleases filter
2016-01-20 10:15:01 -05:00
Donald Stufft
851eae181b Merge branch 'master' into develop 2016-01-20 09:53:23 -05:00
Xavier Fernandez
171a107c34 pip list: reenable prereleases filter
according to --pre option

broken in 7fcf75bb61

closes #3385
2016-01-20 15:12:00 +01:00
daniel
36edd8d13a fix uninstall error 2016-01-20 15:02:25 +01:00
Donald Stufft
85fc78b558 Support CAPaths in addition to CAFiles 2016-01-20 07:32:19 -05:00
Xavier Fernandez
078083140b Merge pull request #2704 from rutsky/patch-2
fix typo: "maby"
2016-01-20 11:11:35 +01:00
kaustav haldar
fbfa7fbcfe fix(pip/req/req_set): If double requirements exist which have the same specs, dont raise a double requirement given error 2016-01-19 22:25:25 -08:00