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
Marcus Smith
f44952dc87
fake what version of setuptools is present to get past the setuptools requirement in travis
2013-10-01 22:45:32 -07:00
Marcus Smith
11a178fda2
1) If the wheel name != search_name, then return immediately. Not doing so,
...
exposes wheel link matching unnecessarily to Issue #1217 .
2) If somehow the pip code is broken, and unsupported wheels are being
passed to the sorter, then atleast fail with a meaningful error.
2013-10-01 21:33:26 -07:00
Paul Nasrat
a1bbab37d4
Fix deleted brack
2013-09-30 13:52:08 -04:00
Paul Nasrat
951ef7438c
Merge remote-tracking branch 'niedbalski/develop' into subdirectory-editable
...
Conflicts:
CHANGES.txt
tests/functional/test_install_reqs.py
tests/lib/__init__.py
tests/unit/test_req.py
Additional work - refactored tests to new style.
2013-09-27 14:42:05 -04:00
Donald Stufft
e8ca48a5f3
Skip the test, it can randomly fail until we have a test server
2013-09-26 15:42:03 -04:00
Donald Stufft
06b91a85d4
Merge pull request #1145 from dstufft/use-requests
...
Use requests instead of urllib2
2013-09-26 12:16:19 -07:00
Donald Stufft
20c52fdaf8
Update requests test for the new funcargs
2013-09-24 23:32:03 -04:00
Donald Stufft
92c40c3e06
Ensure that we successfully utilize requests timeout functionality
2013-09-24 23:32:03 -04:00
Donald Stufft
ff2854a855
Use requests instead of urllib2
2013-09-24 23:32:03 -04:00
Marcus Smith
0eb29ef126
Fix problem where multiple .write() log consumers resulted
...
in extra line breaks. Specifically, using --log resulted in logging
with extra line breaks.
2013-09-21 21:42:18 -07:00
Marcus Smith
e4b1159e16
--log test when the command fails
2013-09-19 20:50:30 -07:00
Marcus Smith
5eafbb6dfc
logging tests for --log and --log-file
2013-09-19 19:02:06 -07:00
Marcus Smith
0e5b28e4aa
- consolidate the option tests into one test module
...
- replace the complex multi-assert tests with simpler ones
- add more tests to confirm our option precedence
2013-09-17 21:44:57 -07:00
Marcus Smith
eed12b54c1
command parsing tests
2013-09-16 22:21:21 -07:00
Marcus Smith
15910f573e
define options once, but don't globally instantiate
2013-09-16 22:21:15 -07:00
Marcus Smith
d21d0e434e
1) have create_main_parser
construct the parser description.
...
2) have `create_main_parser` mark the parser as the 'main' parser.
3) remove an extraneus block that's never called. thanks @netspyer.
4) move 'create_main_parser` to __init__ to avoid circular or embedded imports.
2013-09-15 21:28:19 -07:00
Marcus Smith
ed9e3f49a5
unit tests for pip.baseparser.ConfigOptionParser
2013-09-15 17:24:44 -07:00
Paul Nasrat
866ca4d475
Merge pull request #1188 from dstufft/parallelize-python32
...
Work around Python 3.2 import issues
2013-09-05 08:05:39 -07:00
Donald Stufft
6c36e77e16
Work around Python 3.2 import issues
2013-09-05 10:39:28 -04:00
Marcus Smith
efaf0e7a53
remove unnecessary imports
2013-09-01 13:28:03 -07:00
Marcus Smith
f6d242aeea
merge from 1.4.X
2013-09-01 13:15:45 -07:00
Marcus Smith
1afdc665ae
don't override distutils scripts location using pip's legacy logic
2013-08-31 15:28:44 -07:00
Donald Stufft
6a343fe460
Properly raise an error when it happens
2013-08-28 05:33:38 -04:00
Donald Stufft
3c733ca0f5
Fix the exclusion patterns
...
We need the docs directory for ``python setup.py``
2013-08-28 05:32:57 -04:00
Donald Stufft
37deb59853
shutil.ignore_patterns does not want trailing slashes
...
A trailing slash in a directory name is essentially a noop unless
the directory name itself contains a trailing slash.
2013-08-28 05:17:36 -04:00
Donald Stufft
2ab9d6bdfb
Ignore the directories that tox creates
2013-08-28 05:05:07 -04:00
Donald Stufft
4516a34e1c
Add an extra newline
2013-08-27 06:49:40 -04:00
Donald Stufft
3095571d8f
Copy pip into the per test temporary location as well
...
Previously pip was always installed directly from the source tree
however this causes concurrency issues so it is now copied into
the temporary directory and installed from there.
2013-08-27 06:49:40 -04:00
Donald Stufft
86f5ebb4ca
Work around a Python 3.2 bug with pytest and pytest-xdist
2013-08-27 06:49:40 -04:00
Donald Stufft
946465b395
The error message isn't always the same for this test
2013-08-27 06:49:40 -04:00
Donald Stufft
5fece08556
Hide assert_raises_regexp in the traceback
2013-08-27 06:49:40 -04:00
Donald Stufft
99f520dfa0
Instead of monkeypatching setuptools on Travis, just upgrade it
2013-08-27 06:49:40 -04:00
Donald Stufft
fe60a1d5cf
Use a constant for the source directory
2013-08-27 06:49:40 -04:00
Donald Stufft
1650d4166a
Fix some missing find_links -> data.find_links switches
2013-08-27 06:49:40 -04:00