Commit Graph

75 Commits

Author SHA1 Message Date
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
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
Marc Abramowitz ec9d4260a2 Add .travis.yml for Travis CI 2014-06-12 13:13:28 -07:00
Vineet 75414651a0 Add Changelog 2014-05-11 16:27:38 +05:30
Vineet 97e9db00c1 Bump version to 0.3 2014-05-11 16:27:27 +05:30
Vineet 1d0952dffe Update README 2014-05-11 16:20:15 +05:30
Vineet e81b73e604 Hack around a weird behaviour of pip
Some dependencies are not present in the result of
'pip.get_installed_distributions' eg. 'testresources'. This is a hack
around it.
2014-05-11 15:55:30 +05:30
Vineet 29650c3975 Warn about possibly confusing deps + refactor
* Added code to show warnings about possibly confusing dependencies
* A command line option '-w' or '--nowarn' added to allow for inhibition
  of the warnings
* A lot of code had to be refactored to do this cleanly
2014-05-11 12:12:48 +05:30
Vineet 7852d84b80 Fix readme 2014-05-11 00:32:26 +05:30
Vineet ec6c2c6cc2 Update and fix the docstrings 2014-05-11 00:29:06 +05:30
Vineet 435dfa6ada Add --freeze flag for writing to requirement files
When this flag is active, the source of repos installed via VCS and
whether or not they are editable will also be printed
2014-05-11 00:20:15 +05:30