Commit Graph

20 Commits

Author SHA1 Message Date
Bernat Gabor 8a7df56112
Use tox to run the test suite in CI for isolation
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-09-21 13:55:21 +01:00
Bernat Gabor 785cd4e828
Specify we need virtualenv>20,<21
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-09-21 13:46:45 +01:00
Bernat Gabor b4e3fd866a
Allow querying non-host python intepreters
This way you can install once (for example via pipx) and reuse it for any
existing python environment.

Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-09-21 13:46:43 +01:00
Vineet Naik bcc7f4308a Fix and simplify tox.ini 2020-06-07 23:28:42 +05:30
Vineet Naik d79d4b7420 Pin dependencies of tox, pytest and pluggy
Pluggy 0.6.0 is compatible with both tox 3.0.0 and pytest 3.5.0, hence
explicitly specifying these. Otherwise test setup may unpredictably
break.
2018-04-15 10:33:34 +05:30
Vineet Naik 01a9efed40 Drop support for Python 2.6
It's about time this change is made. Python 2.6 is too old and if you
still need to use it, you would probably be facing bigger issues than
what is tool is designed for.
2017-03-19 11:57:23 +05:30
Jeremy Bowman f79143fd04 Fix binary GraphViz output on Python 3 2017-01-25 11:36:18 -05:00
Adam Chainz 275335df3e Add Python 3.5 support 2016-02-14 15:06:58 +00:00
Vineet Naik 07bc2c143c Fix failing build
This is done by:

* Forcing tox to install pip version >=8.0.2 inside the virtualenv
* Commenting out a failing assertion. The reason for this failure is
  that the pkgs loaded from the pickled file lose a bit of information
  w.r.t editable packages. This will be fixed properly in soon.
2016-02-14 19:03:41 +05:30
Vineet Naik d13ff8bdef Modify test workflow
This commit decouples the test virtualenv creation from tox and simplify
it for running both locally and on travis-ci. Creation of the test
virtualenvs now happen via Makefile target 'test-env' which will create
2 virtualenvs in the dir tests/virtualenvs and also dump their
respective package data in .pickle files that will be used by the tests.

Also, builds on travis now no longer depend on tox but reuses some of
the Makefile targets for test virtualenv creation/cleanup.
2015-07-30 00:07:15 +05:30
Marc Abramowitz e5c03eb91d Fix infinite recursion for cyclic deps
Fixes #13 (https://github.com/naiquevin/pipdeptree/issues/13)
2014-06-17 16:57:08 -07:00
Marc Abramowitz e405592054 Use tox to create dummy virtualenv within tox 2014-06-15 22:01:16 -07:00
Vineet e3e55ca48a Resolve merge conflict 2014-06-14 23:49:42 +05:30
Vineet 6d094a049c Resolve merge conflicts 2014-06-14 23:44:16 +05:30
Vineet 0f0d3d21ff Resolve merge conflicts in tox.ini 2014-06-14 23:07:23 +05:30
Marc Abramowitz aea387bcb3 Add script for creating test virtualenv
so that tests are not reliant on /home/vineet/.virtualenvs/equimapper
2014-06-14 09:05:25 -07:00
Marc Abramowitz 092a3e7e06 Support Python 2.6 2014-06-13 11:28:45 -07:00
Marc Abramowitz 82db07051a tox.ini: Add py33, py34 2014-06-12 16:44:29 -07:00
Marc Abramowitz 32c30cb800 Switch from nose to pytest
Nicer output when asserts fail

Also more actively maintained and more flexible (e.g.: fixtures,
conftest.py)
2014-06-12 15:55:52 -07:00
Vineet be971b28bf Add tox 2014-02-05 22:45:50 +05:30