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

87 commits

Author SHA1 Message Date
Thomas Kluyver 20955812bf Merge branch 'master' into pep518 2017-05-19 11:04:32 +01:00
Pradyun S. Gedam 1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Thomas Kluyver 2b2bdd1567 Download setuptools, wheel during tests
Rather than storing wheels in the test data directory
2017-05-13 19:51:38 +01:00
Thomas Kluyver c9df9a7bb7 Include newer setuptools for tests
Old version of setuptools it was using had a bug on Python 3.6
https://github.com/pypa/setuptools/issues/378
2017-04-13 14:09:16 +01:00
Thomas Kluyver 99e00fb8fb Add package of 'wheel' in test packages directory
Tests now need this to install wheel in build environment
2017-04-13 10:55:15 +01:00
Thomas Kluyver 9a79fb5ac4 Allow build-system requirements to be empty 2017-04-12 17:41:23 +01:00
Thomas Kluyver 653e291846 Add source of sample distribution for tests 2017-04-01 19:29:47 +01:00
Thomas Kluyver f257e85d8a Try to fix pep518 test 2017-04-01 19:29:47 +01:00
Thomas Kluyver b4f65bfc7c Try adding smoketest of pep518 build dependency installation 2017-04-01 19:29:47 +01:00
Vincent Philippon 8378567b61 Install wheel with a non-PEP 440 version in the filename.
PEP 427 has no specific requirements for the format of the version.
As pip wheel allows to create a wheel with a non-PEP 440 version,
it should also be able to install that same wheel.
2017-03-27 23:12:42 -04:00
fiber-space fa7aeb6cc8 Fixes destination directory of data_files when 'pip install --target' is used (#4092) (#4152) 2017-03-26 23:55:50 +02:00
Donald Stufft 59cb562d59 Fix up some bookkeeping 2017-03-18 14:52:14 -04:00
Donald Stufft f1d0939d63 Revert "Normalize file URLs" (#4071) 2016-11-03 11:24:34 -04:00
Xavier Fernandez b1720f303b Fix test_pip_wheel_builds_when_no_binary_set for Python 3.6
setuptools 0.9.8 was not compatible with Python 3.6
Let's use our simple-3.0.tar.gz file instead.
2016-10-28 17:22:21 +02:00
stepshal 9eca3c1729 Remove extraneous whitespace. 2016-10-15 22:18:11 +02:00
stepshal e1408688ac Remove whitespace around parameter = sign. 2016-10-15 18:00:58 +02:00
stepshal 6d0070a5b5 Add missing whitespace around operators. 2016-10-15 17:00:25 +02:00
Pradyun 807f879422 Add an upgrade-strategy option (#3972) 2016-09-18 16:48:01 -04:00
Xavier Fernandez b506992fcc Merge pull request #3877 from Carreau/implement-pep-503-data-requires
Implement pep 503 data-requires-python
2016-08-11 22:48:23 +02:00
Matthias Bussonnier d4e22ea097 Add tests 2016-07-28 15:18:44 -07:00
YAMAMOTO Takashi 742b9258d2 Normalize file URLs
It seems pip distinguishes paths with .. or extra / for constraints.
For example, the following directories are considered different.

    /path/to/dir
    /path/to//dir
    /path/to/dir/subdir/..

It can lead "Could not satisfy constraints for 'xxxx':
installation from path or url cannot be constrained to a version"
error, whose cause is not obvious to users. [1]

This commit tries to normalize the given directory name to avoid
the error.

[1] https://bugs.launchpad.net/devstack/+bug/1542545
2016-03-22 21:17:55 +09:00
Xavier Fernandez 34f3f27b36 Merge pull request #3505 from njsmith/fix-verbose-subprocess-output
Fix display of subprocess output when --verbose is given
2016-02-24 23:15:21 +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 35feedebc1 Merge pull request #3324 from jsbarber/develop
Fix for issue #2834 with test
2016-01-18 23:21:09 -05:00
Xavier Fernandez d1136dda3e Add support for .xz files (with python >=3.3)
Closes #722
2016-01-14 22:39:45 +01:00
Jeff Barber 24a5cc6a42 Fix for issue #2834 with test 2016-01-03 17:38:36 -05:00
Xavier Fernandez e7cffaf0c5 Fix SetupPyLatin1 setup.py 2015-11-26 23:49:29 +01:00
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