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
Alex Gaynor
29851b2a72 Fixes #168 -- remove a legacy test
It has a commented out assertion that used to be broken, and now refers to removed behavior.
2017-03-24 09:15:59 -04:00
Atsushi Odagiri
fa629ffa81 Add exclude-editable option to freeze command (#4015)
* exclude editable

* added implementation to exclude editable

* added functional test for excluding editable from freeze list

* fix flake8

* fix changelog
2017-01-11 22:37:39 +01:00
Donald Stufft
2fb6e6bae5 Ignore comments in pip freeze -r requirements.txt (#4046) 2016-10-30 18:09:38 -04:00
Donald Stufft
c4b30a460a Merge branch 'develop' 2016-05-26 07:02:32 -04:00
Calvin Smith
46b682221b Support multiple --requirement files in pip freeze (#3703) 2016-05-26 06:45:46 -04:00
Andy Kluger
e445dba634 Fix crash when calling pip freeze with invalid requirement installed (#3704) 2016-05-26 06:36:16 -04:00
Stéphane Bidoul (ACSONE)
ce76f2d3e6 Give priority to git remote named origin in pip freeze (#3708) 2016-05-21 08:12:37 -04:00
Xavier Fernandez
2956a3ef41 Add --all option to pip freeze
In order to include pip/setuptools/wheel in the freeze output
Closes #1610
2016-02-17 13:29:32 +01:00
Ryan Wooden
17fdbc8f8f pip freeze: handle new requirements options.
pip 8.0.0 added support for --pre, --trusted-host, and
--process-dependency-links to requirements files, but they were
not handled by freeze.
2016-01-21 10:55:43 -04:00
Stéphane Bidoul
6f790d1d80 stop the addition of the branch name in the #egg=... fragment 2016-01-14 19:04:02 +01:00
Donald Stufft
2202f868f8 Adjust the tests to be more forgiving of extra stderr output 2016-01-01 22:20:14 -05:00
Stéphane Bidoul
7d7b50a990 add freeze test with git subdirectory and srcdir 2015-12-04 14:40:24 +01:00
Stéphane Bidoul
e905e651d4 fix test that was removing setup.py hence causing spurious errors 2015-12-04 14:40:24 +01:00
Marcus Smith
8c20947a23 update 'pip freeze -r' test to include marker case 2015-06-02 06:50:16 +12:00
Marc Abramowitz
d1f7a410ac Make test_freeze_bazaar_clone pass on Windows
With this, `test_freeze_bazaar_clone` passes on Windows (presuming that
https://github.com/pypa/pip/issues/2523 is fixed or worked around)
2015-03-12 04:30:59 -07:00
Marc Abramowitz
415fca8bf7 test_freeze_mercurial_clone: no dep on bitbucket 2015-03-11 22:29:58 -07:00
Matt Iversen
554303b26f Merge pull request #2514 from msabramo/test_freeze_remove_dep_on_PyPI
test_freeze: Don't depend on PyPI for two initools installs
2015-03-12 11:13:10 +11:00
Marc Abramowitz
7f5566fea4 Make test_freeze_bazaar_clone not depend on bazaar.launchpad.net 2015-03-11 15:07:35 -07:00
Paul Moore
1969568b0d Merge pull request #2517 from msabramo/test_freeze_svn_remove_dep_on_bitbucket
test_freeze_svn: No dep on bitbucket
2015-03-11 20:29:37 +00:00
Marc Abramowitz
1141e6cdc4 test_freeze_git_clone: No dep on github.com 2015-03-11 10:30:17 -07:00
Marc Abramowitz
f4ee579304 test_freeze_svn: No dep on bitbucket
Instead of using local_checkout, which downloads a 204 KB dump file from
http://bitbucket.org/hltbra/pip-initools-dump/raw/8b55c908a320/INITools_modified.dump,
use `svnadmin create` and `svn import` to create an svn repo on the fly.
2015-03-11 10:26:35 -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
Donald Stufft
311622bcfa Fix tests on Python 2.6 2015-01-28 17:40:02 -05:00
Matej Stuchlik
c5024dc851 Mark tests requiring Internet access 2015-01-15 00:53:15 +01:00
Paul Moore
6e4a06d01e Fixed finctional test for pip freeze 2014-10-16 09:36:56 +01:00
Paul Moore
3c2515805f Added functional tests 2014-10-15 21:57:11 +01:00
Alli
3966128759 Update functional test of freeze for output change 2014-10-07 20:53:12 +13:00
Chris Jerdonek
e2f8843841 DRY up use of repo directory in test_freeze_git_clone(). 2014-10-01 07:14:49 -04:00
Chris Jerdonek
53660266f4 Add functional test for issue #1083. 2014-10-01 07:14:49 -04:00
Donald Stufft
5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Matthew Iversen
79636d25fc Make svn test less brittle to a surprise argparse 2014-03-09 04:49:41 +11: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
40e731045d allow stderr output from git clone for these 2 tests 2013-11-20 13:57:09 -08: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
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
Jannis Leidel
3ea56eaecd Use PyPA's own test package instead of my personal repo (which I deleted due to move to Github). 2013-06-25 14:54:27 +02:00
Marcus Smith
31bc0833e5 make pip freeze test more flexible 2013-06-19 16:35:28 -07:00
Marcus Smith
40a22cccea remove unnecessary test dependency on MarkupSafe 2013-06-19 15:55:17 -07:00
Carl Meyer
f7e6fec08c Merge branch 'develop' into bugfix-git183-v2
* develop:
  add back in old tox.ini
  add back test lost in the restructure
  more functional/unit tests restructure
  break up tests dir into data, unit tests, and functional tests
2013-05-29 16:41:15 -06:00
Marcus Smith
2e2ce0f4e9 break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
Renamed from tests/test_freeze.py (Browse further)