Commit Graph

88 Commits

Author SHA1 Message Date
Vineet Naik f91f7ee8bc Bump version to 0.4.3 and add changelog 2015-08-03 21:38:39 +05:30
Vineet Naik 2a0ab2ab02 Add __version__ attr to pipdeptree module
Also modify setup.py to read the version from this module
2015-08-03 21:26:02 +05:30
Vineet Naik f70827abe6 Update README 2015-08-03 21:21:08 +05:30
Vineet Naik 49f4f977b4 Migrate travis builds to container-based infra 2015-07-30 00:23:10 +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
Vineet Naik 814aff4b08 Include license and changelog in dist tar ball
Fixes #32
2015-07-26 23:26:35 +05:30
Vineet Naik 7bd9ea28ed Update year in license 2015-07-26 23:24:32 +05:30
Vineet Naik db33a5d788 Don't show bullets if freeze option is enabled
This makes the output of pipdeptree (with freeze flag) pip friendly
ie. the output can be saved in a requirements.txt file. At the same time
it's human readable due to indentations for sub-dependencies.

There is however one gotcha! In case pip finds a dependency multiple
times in the requirements.txt file, it fails. So the user will need to
take care about this when dumping the output in requirements.txt.

Fixes #31.
2015-07-26 23:12:10 +05:30
Vineet Naik 0f3dd9cf62 Merge pull request #30 from garar/classifiers2
Add classifiers to setup.py
2015-04-16 22:56:01 +05:30
Krystian Kichewko d427b31bfe Add classifiers to setup.py 2015-04-16 16:35:28 +00:00
Vineet b429baf01b Use relative paths in pickled virtualenv files
Absolute path causes tests to fail on travis-ci.
2015-03-29 13:30:46 +05:30
Vineet 2eacd1e11b Update venv pickle files fixing tox tests
The pickle files for test virtualenv data were created using an older
version of pip. As tox started using the newer version of pip, these
files were obsolete and it lead to failure of tests run via tox. This is
now fixed by regenerating the pickle files for pip ver. 6.0.8
2015-03-29 13:10:20 +05:30
Vineet 308b8ede32 Bump version to 0.4.2 and update changelog 2014-11-18 20:44:29 +05:30
Vineet Naik fd77dab8a1 Merge pull request #24 from zsiciarz/skip-packages
Use package skip list inside the loop to avoid KeyError
2014-11-12 21:39:42 +05:30
Zbigniew Siciarz 752bf9e23a Use package skip list inside the loop to avoid KeyError 2014-11-12 09:35:02 +01:00
Vineet 617c46e889 Add tests for function 'peek_into' 2014-10-07 23:28:25 +05:30
Vineet Naik 75249cdb52 Merge pull request #22 from aidos/master
a.next() doesn't work in python3.4
2014-10-07 23:15:34 +05:30
Aidan Kane 541f76c03a working in python3.4 2014-10-07 11:32:33 +01:00
Vineet 4a5430b712 Bump version to 0.4.1 2014-09-25 21:52:56 +05:30
Vineet 87d87ca1f6 Show warning about cyclic deps only if found
The cyclic deps warning title was printed whether or not cyclic
dependencies are actually found or not. This commit fixes it.
2014-07-02 23:19:48 +05:30
Vineet Naik 8c38bbb47c Merge pull request #19 from bh/master
More Python > 3.x support
2014-07-01 23:18:24 +05:30
Benjamin Hedrich e67a526530 More Python > 3.x support
Replace {}.iteritems with .items.

This should fix issue #18
2014-07-01 10:02:45 +02:00
Vineet 20bf654e32 Bump version to 0.4 and update changelog 2014-06-22 22:56:18 +05:30
Vineet 4c13d8c0de Update README
* Add a section on warnings about cyclic dependencies
* Add a section on running tests
* Move a note to known issues section
2014-06-22 22:52:10 +05:30
Vineet 116c5fce99 Fix cyclic deps warnings output
Making it consistent with confusing deps
2014-06-22 22:51:10 +05:30
Vineet 969e436254 Fix whitespace (pep8) and add docstring 2014-06-22 22:50:26 +05:30
Vineet 717e07d492 Move cyclic_deps.pickle inside tests/virtualenvs
for consistency
2014-06-22 21:31:35 +05:30
Vineet Naik ef6f37ee72 Merge pull request #17 from msabramo/restore_py26
Restore Python 2.6 compatibility
2014-06-18 11:57:13 +05:30
Marc Abramowitz fd0c477192 Restore Python 2.6 compatibility
c70525bb84 broke Python 2.6 compatibility
by using a dict comprehension, which is a Python 2.7 feature. I replaced
it with calling dict with a generator expression, which looks almost as
good and it works in Python 2.6.
2014-06-17 23:06:46 -07:00
Vineet c70525bb84 Fix failing tests
The tests were failing due to pull requests #14 and #16, which passed tests
individually but lead to failure after both were merged.
2014-06-18 10:28:15 +05:30
Vineet Naik adc549464e Merge pull request #14 from msabramo/master_fix_infinite_recursion
Fix infinite recursion for cyclic deps (#13)
2014-06-18 10:06:07 +05:30
Vineet Naik b98abd7d3a Merge pull request #15 from msabramo/remove_unnecessary_lines
Remove computation of pkg_index and req_map
2014-06-18 10:04:17 +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 8e2b6a5f1e Remove computation of pkg_index and req_map
because they are already passed into the `render_tree` function.
2014-06-16 17:07:46 -07:00
Marc Abramowitz b6eea3084a Add test_render_tree_cyclic_dependency
Test for issue in #13 (https://github.com/naiquevin/pipdeptree/issues/13)
2014-06-16 10:05:30 -07:00
Marc Abramowitz c0200e1d6c Add pickle_env.py
Tool for generating pickle files used by tests
2014-06-16 10:05:30 -07:00
Vineet e40eec924c Merge branch 'msabramo-workaround_pip_issue_1867' 2014-06-16 22:04:55 +05:30
Vineet 649b8434f8 Merge branch 'workaround_pip_issue_1867' of https://github.com/msabramo/pipdeptree into msabramo-workaround_pip_issue_1867 2014-06-16 22:04:42 +05:30
Vineet Naik 57b5ae2036 Merge pull request #11 from msabramo/tox_dummy_within_tox
Use tox to create dummy virtualenv within tox
2014-06-16 22:03:47 +05:30
Marc Abramowitz b94fabc8dc Workaround for pip issue 1867
https://github.com/pypa/pip/issues/1867

When hash randomization is enabled, pip can return different names for
git editables from run to run.

This change accounts for that in the tests for freezed output.
2014-06-16 07:50:16 -07:00
Marc Abramowitz e405592054 Use tox to create dummy virtualenv within tox 2014-06-15 22:01:16 -07:00
Vineet 53aa14377b Add more envs to travis.yml 2014-06-15 00:09:38 +05:30
Vineet 66894dc048 Merge branch 'msabramo-tox_py33_py34' 2014-06-14 23:50:00 +05:30
Vineet e3e55ca48a Resolve merge conflict 2014-06-14 23:49:42 +05:30
Vineet 0385bf8638 Merge branch 'msabramo-pytest' 2014-06-14 23:44:35 +05:30
Vineet 6d094a049c Resolve merge conflicts 2014-06-14 23:44:16 +05:30
Vineet Naik da2d05065b Merge pull request #5 from msabramo/travis
Add .travis.yml for Travis CI
2014-06-14 23:10:49 +05:30
Vineet 6331e05c77 Merge branch 'msabramo-py26' 2014-06-14 23:07:37 +05:30
Vineet 0f0d3d21ff Resolve merge conflicts in tox.ini 2014-06-14 23:07:23 +05:30
Vineet 98223a0535 Merge branch 'msabramo-create_virtualenv_for_tests' 2014-06-14 23:03:28 +05:30