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

42 commits

Author SHA1 Message Date
Pradyun S. Gedam
9923c1ad7e Sort imports and minor Flake8 changes (#4520)
* Run isort on the codebase

Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests

* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam
1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Alex Gaynor
26fe03b20a unused imports 2017-03-24 10:23:05 -04:00
Alex Gaynor
71a1d3e4bc Fixes #530 -- delete a test that has been skipped for 5 years 2017-03-24 10:14:10 -04:00
Donald Stufft
6b54145783 Deprecate support for Python 3.3 2017-03-22 19:22:56 -04:00
Donald Stufft
b291b7f3c6 Fix a test that only runs on older Pythons 2017-03-20 12:21:26 -04:00
Donald Stufft
ceb7feed75 Update tests for the removal of Python 2.6 2017-03-18 14:52:14 -04:00
Pradyun
807f879422 Add an upgrade-strategy option (#3972) 2016-09-18 16:48:01 -04:00
Pradyun
e04941bba2 Update http urls to use https instead (#3808) 2016-06-22 14:06:28 -04:00
Xavier Fernandez
91afd80a39 Fix a bunch of other tests
Add a --no-index to avoid network calls
2016-05-19 15:31:46 +02:00
Donald Stufft
44feed107f Fix one more test that didn't expect stderr on 2.6 2016-01-01 22:36:18 -05:00
Donald Stufft
f6856d6687 Try to test against Python 3.5 2015-05-27 21:34:17 -04:00
Donald Stufft
18064e7017 Remove the workarounds/hacks to handle distribute -> setuptools 2015-05-09 15:09:05 -04: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
Robert Collins
62041d3ca8 Cleanup now use_wheel is the default.
There were a bunch of tests passing use_wheel unnecessarily, this
makes the change to remove use_wheel larger than it needs to be.
2015-04-20 20:12:03 +12:00
Donald Stufft
a88bc0de73 Send log messages >= logging.WARNING to stderr 2015-04-06 23:11:16 -04:00
Donald Stufft
3d18bcc793 Merge pull request #2347 from xavfernandez/uninstall_non_canonical_version
use dist.egg_info to uninstall distributions
2015-01-28 14:56:41 -05:00
Matej Stuchlik
c5024dc851 Mark tests requiring Internet access 2015-01-15 00:53:15 +01:00
Xavier Fernandez
8838414eb5 fix test_install_upgrade tests 2015-01-14 14:02:21 +01:00
Donald Stufft
de69977816 Upgrade packaging to 14.5 2014-12-17 22:05:00 -05:00
Donald Stufft
6f64d3e6e2 Implement PEP 440 2014-12-13 13:50:21 -05:00
Donald Stufft
767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Alex Gaynor
a46515eb87 Use a smaller repository in the tests for speed.
Refs #1721
2014-04-24 07:48:51 -07:00
Donald Stufft
5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Donald Stufft
95035fc5c4 Turn on everything in flake8
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft
9f027337a8 Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
Marcus Smith
ea09ad5266 disable intermittent travis/pypy error, Issue #1379 2013-12-13 23:57:18 -08:00
Marcus Smith
e6348703fd fix --ignore-installed (Issue #1097) 2013-11-29 12:49:14 -08:00
Donald Stufft
b1bc406743 Setuptools 0.6 needs --no-use-wheel 2013-11-07 15:43:41 -05: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
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
fe60a1d5cf Use a constant for the source directory 2013-08-27 06:49:40 -04:00
Donald Stufft
cb73080301 We already have the in development version installed in the venv 2013-08-27 06:49:37 -04:00
Donald Stufft
487925ea3f Isolate the tests from the shared data directory 2013-08-27 06:49:35 -04:00
Donald Stufft
f9a3b97b41 Explicitly pass around a directory for tests.lib.local_repos 2013-08-27 06:47:25 -04:00
Donald Stufft
0c42245f21 Replace explicit calls to reset_env() with the script fixture 2013-08-27 06:47:23 -04:00
Donald Stufft
7975431d2d Don't set PYTHONDONTWRITEBYTECODE on setuptools 0.6.x 2013-08-22 03:52:23 -04:00
Donald Stufft
9894c8baac Refactor tests.lib
* Move virtualenv creation out of TestPipEnvironment
* Remove global state and force explicit use of TestPipEnvironment
  instances
* Remove "backup" virtualenv copying and instead create new
  virtual environments each time.
* Remove the monkeypatched "PyPICache" functionality
* Remove things that were not being used anymore and were dead
  weight
* Remove sitecustomize support which was primarily used to
  monkeypatch the "PyPICache" but was used in one or two other
  tests.
2013-08-21 22:40:16 -04:00
Donald Stufft
da0bc4b1d1 Switch to using py.test as the test runner instead of nose
* Better output with the bare asserts we use throughout the tests
* Function fixtures are pretty nice, especially as a way to
  start a background server or create an isolated virtualenv
2013-08-21 10:19:58 -04:00
Marcus Smith
e298b32709 confirm wheel was used in setuptools/wheel upgrade test 2013-07-27 01:22:04 -07:00
Marcus Smith
3e8924a7ec setuptools upgrade tests 2013-07-27 00:58:56 -07:00
Marcus Smith
28298c413d more functional/unit tests restructure 2013-05-29 13:41:13 -07:00
Renamed from tests/functional/test_upgrade.py (Browse further)