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

781 commits

Author SHA1 Message Date
Donald Stufft
cb7af82f20 Remove the setuptools version check
With the vendoring of pkg_resources we no longer need to worry
about the version of the installed setuptools.
2014-01-07 08:11:28 -05:00
Stefan Scherfke
eda45bfcf7 Fix test to run on Python 2.6. 2013-12-20 12:49:53 -05:00
Stefan Scherfke
b878de0fe1 Try utf-8, the system’s default encoding, and latin1 when reading egg_info-files to avoid UnicodeDecodeErrors at the installation of a package. 2013-12-20 12:49:52 -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
ea09ad5266 disable intermittent travis/pypy error, Issue #1379 2013-12-13 23:57:18 -08:00
Marcus Smith
c2c1eaddc7 - have the basic wheel install test, use a basic wheel
- have a separate test for a wheel with headers
- skip the header test on pypy for now due to virtualenv bug
2013-12-08 14:05:08 -08:00
Marcus Smith
0017f1b1cb use latest wheel from pypi when testing 2013-12-04 19:38:10 -08:00
Marcus Smith
b42dcc6973 move --user uninstall tests to dedicated module 2013-11-29 17:15:50 -08:00
Marcus Smith
861023bc0d uninstalling --user dists should leave global scripts alone 2013-11-29 17:08:43 -08:00
Marcus Smith
da6707729a Merge pull request #1352 from qwcode/fix_ignore_installed
fix --ignore-installed (Issue #1097)
2013-11-29 13:11:30 -08:00
Marcus Smith
e6348703fd fix --ignore-installed (Issue #1097) 2013-11-29 12:49:14 -08:00
Marcus Smith
1f5343ec31 skip symlink tests when not hasattr(os, 'symlink') 2013-11-24 15:50:11 -08:00
Marcus Smith
1d1aaa9058 fix for certain platforms/versions not having os.O_NOFOLLOW 2013-11-24 15:26:22 -08:00
Donald Stufft
7ec49dc2fb Enable --[no-]compile which will compile or not compile pyc files
* Enables compilation for Wheel files
* Adds an easy command line for distutils/setuptools compilation
  options
2013-11-21 23:19:15 -05:00
Marcus Smith
56d3a48de1 Merge pull request #1330 from qwcode/path_to_url
a single `path_to_url` function with tests
2013-11-20 16:09:57 -08:00
Marcus Smith
ade1bcf987 backwardcompat fixes for py3 2013-11-20 15:36:09 -08:00
Marcus Smith
40e731045d allow stderr output from git clone for these 2 tests 2013-11-20 13:57:09 -08:00
Donald Stufft
c9bad1efa3 Merge pull request #1307 from dstufft/fix-entrypoints-parsing
Ignore leading and trailing whitespace
2013-11-19 07:06:03 -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
Donald Stufft
52c92de482 Test the entry points parsing 2013-11-19 08:32:58 -05:00
Marcus Smith
73b8692d86 a single path_to_url function with tests 2013-11-18 22:12:41 -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
99a4f6f4e1 Add symlinks=True to copytree invocation so that tests pass in Python 3 2013-11-10 00:05:13 +00:00
Michael Williamson
048c9763a8 Add failing test case for installing when there are symlinks to directories 2013-11-09 23:57:34 +00:00
Donald Stufft
505333e996 Fix the tests 2013-11-07 16:39:44 -05:00
Donald Stufft
597184ee11 Revert "REmove problematic tests that test dead simple functionality"
This reverts commit 0f4477000c.
2013-11-07 16:37:58 -05:00
Donald Stufft
0f4477000c REmove problematic tests that test dead simple functionality 2013-11-07 15:44:09 -05:00
Donald Stufft
b1bc406743 Setuptools 0.6 needs --no-use-wheel 2013-11-07 15:43:41 -05:00
Marcus Smith
ebb52ee12c use "INSTALLED_VERSION" (not "InfLink") as the name for the object that represents the "link" for the installed version of a requirement 2013-11-06 09:35:57 -08:00
Marcus Smith
351e1b8220 Merge pull request #1297 from qwcode/parse_distutils_config
`pip.locations.distutils_scheme` should read distutils config files
2013-11-05 09:59:36 -08:00
Marcus Smith
ab21c1de32 pip.locations.distutils_scheme should read distutils config files 2013-11-04 23:40:26 -08:00
Donald Stufft
6dca500f69 Set the executable bit on files generated by distlib's ScriptMaker 2013-11-02 12:46:18 -04:00
Paul Moore
a7949308df Added comments and reqordings based on code review 2013-11-01 17:28:35 +00:00
Paul Moore
b9f36c0c21 Tests for script generation 2013-11-01 09:57:25 +00:00
Donald Stufft
3ffa404d3e Merge pull request #1272 from dstufft/fix-pip-wheel
Make Wheel respect --root
2013-10-31 06:07:08 -07:00
Donald Stufft
00c11deb25 Ensure that --root continues to work with Wheels 2013-10-31 08:49:23 -04:00
Marcus Smith
588fb6f25e some extra logging and options tests 2013-10-30 18:16:30 -07:00
Donald Stufft
39b2aaf729 Fix the test which is still looking for the by typo 2013-10-30 08:19:10 -04:00
Donald Stufft
12ee7cc6d9 Do not respect dependency links by default 2013-10-27 18:34:46 -04:00
Donald Stufft
840db882de Remove the allow_all_unverified 2013-10-26 23:52:04 -04:00
Donald Stufft
616ce39061 Rename --allow-insecure to --allow-unverified 2013-10-26 23:47:57 -04:00
Paul Moore
00a324f91f Merge pull request #1254 from pfmoore/win-tests
Fix tests using virtualenv on Windows.
2013-10-26 08:22:56 -07:00
Marcus Smith
c030ae26f3 fix wheel test to match current error message 2013-10-25 17:23:42 -07:00
Paul Moore
ba97b0c030 Fix tests using virtualenv on Windows.
Do not hard code bin as the location of the executables, as this is not
correct on Windows.
2013-10-24 21:26:38 +01:00
Paul Moore
2902ce7985 Make the check for wheel support in setuptools test for DistInfoDistribution rather than check the version 2013-10-06 20:15:47 +01:00
Marcus Smith
b2341831b9 merge fix due to 1.4.X still using nose 2013-10-05 22:18:20 -07:00
Marcus Smith
3c0072cc00 merge from 1.4.X 2013-10-05 21:49:41 -07:00
Paul Nasrat
ad66052f05 Merge pull request #1215 from pnasrat/subdirectory-editable
Merge subdirectory editable feature
2013-10-05 19:13:10 -07:00
Paul Moore
e1c5497b11 Python 2.7 io.StringIO is text-only, use backwardcompat 2013-10-05 17:41:52 +01:00
Paul Moore
137b8260ac Fix test_log on Python 3, StringIO module is no longer available 2013-10-04 15:58:09 +01:00