Steve Kowalik
dc8e7f01dd
Join constraints and requested extras
...
Compare extras when checking if a requirement has already been
specified, and take a union of the extras before installation.
Co-Authored-By: Sachi King <nakato@nakato.io>
Closes #3046 , #3189
2015-11-20 18:05:17 +11:00
Thomas Smith
2bbb3be1ff
Failing test: should clean up failed wheel build
...
Test for PR #3047
2015-09-09 15:16:51 -04:00
Donald Stufft
6afc718307
Remove items slated for removal in pip 8.0
2015-09-03 10:55:11 -04:00
Donald Stufft
0f5d4286a5
Deprecate and Noop the PEP 438 functionality due to PEP 470
2015-09-02 23:47:05 -04:00
James Polley
f29a398c34
Mention all 4 TopoRequires packages
...
TopoRequires4 is mentioned in the body text but not the header.
2015-06-18 15:10:36 +10:00
Robert Collins
6aec23cafe
Issue #2675 : Granular control over wheels/sdists
...
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.
This also closes #2084
2015-04-24 08:52:48 +12:00
Marcus Smith
bed77a971a
remove duplicate test
2015-04-18 11:56:17 -07:00
Robert Collins
08acb6670d
Issue #2140 : Build wheels automatically
...
Building wheels before installing elminates a cause of broken environments -
where install fails after we've already installed one or more packages.
If a package fails to wheel, we run setup.py install as normally.
2015-04-13 18:33:07 +12:00
Marcus Smith
9f88946a38
remove comment about setuppyargs test package
2015-04-13 00:07:15 +02:00
Marcus Smith
351d809df6
remove the functional test. for this change, we can achieve as much confidence with unit tests that confirm what args are passed
2015-04-13 00:07:15 +02:00
Georgi Valkov
1c0021b268
Add an --install|global-option functional test
2015-04-12 23:52:49 +02:00
Marcus Smith
39c4386748
move pkg src to the src dir
2015-04-01 16:37:15 -07:00
Marcus Smith
1697a0911f
build an sdist for TopoRequires4
2015-04-01 16:32:39 -07:00
Robert Collins
17352765f0
Issue #2478 - topological install order.
...
This is needed for setup-requires, since without it its possible
to cause installation to fail in sort-circuit scenarios such as
the added functional test case demonstrates.
2015-04-01 12:33:17 +13:00
Marc Abramowitz
291bb12d07
test_install_package_with_target: No network
...
and also fix intermittent failures reported in
https://github.com/pypa/pip/issues/2580
2015-03-22 23:09:38 -07:00
Marc Abramowitz
43baad52a0
test_freeze: Don't depend on PyPI
...
by adding tests/data/packages/INITools-0.2.tar.gz so tests can get file
locally instead of from PyPI.
2015-03-10 17:02:05 -07:00
Xavier Fernandez
06da6c07ec
Fix environment extras installation for sdist
...
use pkg_resources.Distribution.requires instead of
Requirements.requirements to have environment markers parsing for free
It also unifies a little the process for wheel and non-wheel installs
closes #2174
2014-12-19 19:12:20 +01: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
Buck Golemon
f7eca8d529
remove tag_svn_revision to fix test, same as PR #2045
2014-11-04 10:58:31 -08: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
Berker Peksag
eee2334c92
Silence byte compile errors when installation succeed.
...
Fixes #1873 .
2014-08-21 16:40:02 +03: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
Donald Stufft
6876d4b613
Merge pull request #1859 from nailor/support-no-use-wheel
...
req: Support --no-use-wheel flag in requirements.txt
2014-06-25 23:45:01 -04: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
Jyrki Pulliainen
3377dd1917
req: Support --no-use-wheel flag in requirements.txt
...
Default from pip 1.6 will be to always use wheels, so the --use-wheels
in requirements.txt is now deprecated. However, the --no-use-wheels
is introduced to be able to disable wheel usage via requirements.txt.
2014-06-10 14:57:24 +02: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
Marcus Smith
b0b05737a9
Merge pull request #1787 from qwcode/wheel_editables
...
build wheels for dependencies of editables
2014-05-09 15:00:50 -07:00
Donald Stufft
f79ca70c66
Remove the bundle functionality from pip
2014-05-08 16:09:23 -04:00
Marcus Smith
12034176a1
build wheels for dependencies of editables
2014-05-03 10:12:57 -07:00
Donald Stufft
e3873b1be8
Merge pull request #1704 from jamezpolley/develop
...
If at first you can't stat the index file, try again
2014-05-03 07:46:29 -04:00
James Polley
58097b64c4
Add tests (and data required for tests) for new code that enables retry
...
if we can't stat a file while using a file:/// index-url.
2014-04-30 12:03:55 +10:00
Marcus Smith
ebe2465635
merge 1.5.X to empty_dirs_develop
2014-04-25 14:08:40 -07:00
Marcus Smith
b274b85f96
don't install empty dirs during wheel installs
2014-04-21 23:07:25 -07:00
Daniele Procida
68cacfb71d
fixes #1615
2014-03-05 18:17:43 -05:00
Donald Stufft
95ac4c16f5
Remove dependency links support from pip
2014-02-25 18:39:40 -05:00
Matthew Iversen
b26d91c880
Ensure wheel-Version is compatible with pip
2014-02-19 20:01:22 -05:00
Matthew Iversen
76399f2f96
Explain futurewheel version numbers
2014-02-15 17:53:01 +11:00
Matthew Iversen
13f6c68f0c
Ensure wheel-Version is compatible with pip
2014-02-15 17:21:22 +11:00
Marcus Smith
85d68bbf97
fixes for downloading wheels (Issue #1112 )
...
Conflicts:
pip/req/req_set.py
2014-02-08 09:17:13 -08:00
Marcus Smith
4af1008104
fixes for downloading wheels (Issue #1112 )
2014-02-02 15:09:32 -08:00
Ben Darnell
c5e766ad9f
Respect explicit encoding declarations in setup.py files.
...
In Python 2, the exec statement handles encoding for us, but in
Python 3 the encoding must be specified when opening the file
(if it's not specified it uses the system locale encoding, so
previously this would work only if your locale environment variables
specified the same encoding as the setup.py file).
On Python 3.2+ the tokenize.open function is available to interpret
the encoding declaration; fixing this for python 3.0 and 3.1 is more
difficult.
2013-12-20 10:52:32 -05:00
Ben Darnell
d84b4d2f46
Respect explicit encoding declarations in setup.py files.
...
In Python 2, the exec statement handles encoding for us, but in
Python 3 the encoding must be specified when opening the file
(if it's not specified it uses the system locale encoding, so
previously this would work only if your locale environment variables
specified the same encoding as the setup.py file).
On Python 3.2+ the tokenize.open function is available to interpret
the encoding declaration; fixing this for python 3.0 and 3.1 is more
difficult.
2013-12-20 01:29:20 -05:00
Marcus Smith
0017f1b1cb
use latest wheel from pypi when testing
2013-12-04 19:38:10 -08:00
Marcus Smith
861023bc0d
uninstalling --user dists should leave global scripts alone
2013-11-29 17:08:43 -08:00
Donald Stufft
68eb2c4a1b
Merge pull request #1311 from mwilliamson/py3-symlinks
...
Fix: "pip install ." fails on Python 3.3 (with symlinks in local directory)
2013-11-19 05:45:36 -08:00
Marcus Smith
3dc40cad46
- if installing directly from a wheel, fail if it has an invalid name or is unsupported
...
- when walking links, skip invalid wheel filenames, don't crash
2013-11-14 16:35:24 -08:00
Michael Williamson
048c9763a8
Add failing test case for installing when there are symlinks to directories
2013-11-09 23:57:34 +00:00
Paul Moore
b9f36c0c21
Tests for script generation
2013-11-01 09:57:25 +00:00
Marcus Smith
1afdc665ae
don't override distutils scripts location using pip's legacy logic
2013-08-31 15:28:44 -07:00
Marcus Smith
65007e3c65
when unpacking archives, don't preserve permissions except execution for regular files
2013-08-17 00:18:40 -07:00
Marcus Smith
d3cbb3f606
fix up the bundle support
2013-08-07 00:13:47 -07:00
Marcus Smith
3e8924a7ec
setuptools upgrade tests
2013-07-27 00:58:56 -07:00
Daniel Holth
3ac1280cd2
wheel: test WHEEL "root_is_purelib" parser
2013-06-30 23:40:20 -04:00
y-p
42102e9dea
unpack_file should use flatten=False for .whl files GH1011
2013-06-26 22:02:27 +03:00
Donald Stufft
74d0246bcd
Test the different variations of allow_insecure and allow_external
2013-06-07 10:43:52 -04:00
Marcus Smith
60f8da5c41
4 more wheel tests
2013-06-06 19:11:43 -07:00
Steven Myint
f7bf72bc27
Fix spellings errors
2013-06-01 09:09:41 -07:00
Marcus Smith
2e2ce0f4e9
break up tests dir into data, unit tests, and functional tests
2013-05-29 13:41:12 -07:00