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

1951 commits

Author SHA1 Message Date
Xavier Fernandez
8447f39fe1 Stop hiding commands 2016-03-03 23:50:31 +01:00
Xavier Fernandez
4fdb52e682 Merge branch 'develop' of https://github.com/nvdv/pip into unhide_completion 2016-03-03 23:48:13 +01:00
Donald Stufft
24876ab23d Fix import path 2016-03-03 08:48:18 -05:00
Donald Stufft
a1e308d847 Merge pull request #3458 from xavfernandez/freeze_all
Add --all option to pip freeze
2016-03-03 07:23:32 -05:00
Donald Stufft
5b544a0e67 Merge pull request #3527 from s-t-e-v-e-n-k/update-packaging
Upgrade to packaging 16.5
2016-03-03 07:21:58 -05:00
Donald Stufft
37da4b21fa Merge pull request #3435 from fungi/develop
Case-insensitive match secure origin names
2016-03-03 07:21:40 -05:00
Steve Kowalik
2e68a7fe19 Upgrade to packaging 16.5 2016-02-29 13:56:17 +11:00
Stephan Erb
23f0618576 Use pre-defined chunksizes instead of hardcoded ones.
The requests one does currently sit at 10KB, the io buffer one at 8KB.
Both are reasonable values and slightly above our current values.

If those values are adjusted, we will profit as well.
2016-02-28 18:44:35 +01: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
2956a3ef41 Add --all option to pip freeze
In order to include pip/setuptools/wheel in the freeze output
Closes #1610
2016-02-17 13:29:32 +01:00
Xavier Fernandez
ceb79a6315 switch to tuple since stdlib_pkgs is a default value 2016-02-17 13:29:05 +01:00
Xavier Fernandez
67674e26d3 Directly store re.search 2016-02-17 13:29:05 +01: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
Jeremy Stanley
9597acdbba Case-insensitive match secure origin names
DNS is non-case-sensitive, so case mismatches between origin names
and any declared trusted hosts are also irrelevant.
2016-02-03 20:08:12 +00: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