Vineet Naik
bb5b354319
Merge remote-tracking branch 'origin/master' into v2beta
...
* origin/master:
Fix missing 'setuptools' requirement
2019-07-27 11:25:35 +05:30
Vineet Naik
4f06f6d866
Merge branch 'sinoroc-fix-missing-setuptools'
...
* sinoroc-fix-missing-setuptools:
Fix missing 'setuptools' requirement
2019-07-27 11:21:39 +05:30
sinoroc
f76ef35ee8
Fix missing 'setuptools' requirement
...
The package 'pkg_resources' is part of the 'setuptools' project. The
project 'pip' (in its current version) vendors setuptools.
Since 'pipdeptree' currently uses pip's private internal API already,
we might as well use pip's vendored pkg_resources. This, of course,
might break if pip's internals change in a later version.
GitHub: naiquevin/pipdeptree#119
2019-07-17 20:32:55 +02:00
Vineet Naik
906e05147b
Define Tree and ReverseTree classes representing dependency tree
2019-07-17 00:33:33 +05:30
Vineet Naik
4b74f7b4fe
Rename 'test_pipdeptree.py' to 'test_integration.py'
...
So that a new 'test_pipdeptree.py' can be added for unit tests (with
mocking etc.).
Integration test suite will still be run during 'make test' but the
state of the test suite is pretty bad at present. In future, we might
replace it with a complete approach for easy maintenance.
2019-07-13 13:28:22 +05:30
Vineet Naik
5622312f78
Bump version to 0.13.2
2019-01-23 18:04:44 +05:30
Vineet Naik
41e838c4b1
Fix FrozenRequirement.to_dist to support pip 19.0
...
In pip 19.0 the function signature of FrozenRequirement.to_dist has
been changed. The last argument 'depedency_links' is now removed as
depedency support has been removed in pip 19.0.
Fixes #113 .
Pull request removing dependency links support:
https://github.com/pypa/pip/pull/6060
Commit removing the 'dependency_links' argument:
46ffb13f13
2019-01-23 17:54:44 +05:30
Vineet Naik
51af7dd8d2
Fix pip._internal import in tests
...
Missed fixing the import of 'get_installed_distributions' in tests in
the earlier commit.
Also fixed indentation
2018-10-08 19:29:51 +05:30
Vineet Naik
086039ebab
Bump version to 0.13.1
2018-10-08 19:07:23 +05:30
Vineet Naik
ba67474e41
Fix import to work with pip version 18.1
...
It also works with previous versions of pip.
The alias to 'get_installed_distributions' in 'pip._internal' module
was removed in pip commit db72d427c5538a29df182bf7a724c304ac323cf6
Ref:
db72d427c5
Fixes #105
2018-10-08 19:06:31 +05:30
Vineet Naik
a7df38238e
Bump version to 0.13.0
2018-07-01 19:54:17 +05:30
Vineet Naik
d5c3ce7bf5
Update test setup dependencies
...
The dependencies in test setup were old and in spite of the versions
being pinned, the test results were not consistent locally and
travis.
Note: This is an attempted fix (to be verified only after tests are
run on travis)
2018-07-01 19:17:16 +05:30
Vineet Naik
ee5eaf86ed
Merge pull request #97 from mail6543210/fix-78
...
Sorted version spec
2018-05-15 22:20:02 +05:30
Vineet Naik
ba5d5e2fa0
Merge pull request #94 from ciarancourtney/master
...
#69 Add '--exclude' arg to exclude CSV list of packages and children from output
2018-05-15 22:19:16 +05:30
ciarancourtney
d4bc9f487c
tests: render_tree() expects exclude arg to be set, not list
2018-05-01 19:36:47 +01:00
ciarancourtney
1a15137510
restore arg-less main(), abstart args to _get_args() and monkeypatch in tests
2018-05-01 19:29:13 +01:00
ciarancourtney
1e075432e4
exclude should default to None like show_only
2018-05-01 19:27:59 +01:00
ciarancourtney
1bcd65dc3a
Using --packages and --exclude together is fine as long as they are distinct
...
* pass args into main() to make testing easier
2018-04-22 11:39:22 +01:00
ciarancourtney
eb886d9a2f
Add test for --exclude and --reverse
2018-04-15 21:47:20 +01:00
ciarancourtney
6910831af2
Remove wheel from tests (auto-updates self)
2018-04-15 21:47:20 +01:00
ciarancourtney
d22cffb19f
upgrade gnureadline 6.3.3 > 6.3.8 to avoid install issues (has wheels for py27 > py36)
2018-04-15 21:47:20 +01:00
ciarancourtney
9f0e439226
[ closes #69 ] Add '--exclude' arg to exclude CSV list of packages and children from output
2018-04-15 21:47:20 +01:00
Vineet Naik
2e9e511916
Release version 0.12.1
2018-04-15 12:05:36 +05:30
Vineet Naik
e0cedb8ed0
Comment out flaky tests
2018-04-15 11:58:51 +05:30
Vineet Naik
f32114130a
Fix tests for render_json_tree
...
For easier debugging in case of failure
2018-04-15 10:50:40 +05:30
Vineet Naik
426a7c457d
Add .pytest_cache dir to gitignore
2018-04-15 10:38:58 +05:30
Vineet Naik
abb8a96441
Fix imports for pip version 10.0.0 and -f option
...
This was fixed to work with pip 10.0.0 in an earlier commit but import
import of 'FrozenRequirement' was still broken. It is only invoked
when running with '-f' option and is fixed in this commit.
2018-04-15 10:36:22 +05:30
Vineet Naik
3520b6749d
Fix tests for render_json_tree
...
Packages such as 'pip', 'pipdeptree', 'setuptools' and 'wheel' are
implicitly installed during test setup and hence ignored when
comparing output.
2018-04-15 10:35:00 +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
594da8056d
Bump version to 0.12.0
2018-04-15 08:24:36 +05:30
mail6543210
ae3a5e169c
Sorted version spec
2018-04-10 22:36:16 +08:00
Vineet Naik
6fcf1d70c9
Merge pull request #96 from emddudley/master
...
Fixed pip import to accomodate refactor in pip 10.0
2018-04-08 12:25:12 +05:30
M. Dudley
9c6031cdc7
Fixed pip import to accomodate refactor in pip 10.0
2018-04-03 10:29:09 -04:00
Vineet Naik
2dea43a3c4
Release version 0.11.0
...
* Bumped version
* Added changelog
* Updated README file
2018-02-24 11:58:17 +05:30
Vineet Naik
fd70921804
Merge pull request #91 from haikoschol/json-tree
...
Add command line flag `--json-tree` (#86 )
2018-02-24 11:37:19 +05:30
Haiko Schol
932ed4b5c3
Update psycopg2 version in one of the test environments
...
psycopg2 2.5.2 fails to install with PostgreSQL 10+.
2018-02-21 19:02:42 -06:00
Vineet Naik
15fa06d3d4
Merge pull request #90 from haikoschol/fix-tests
...
Update psycopg2 version in one of the test environments
2018-02-19 19:39:15 +05:30
Haiko Schol
3d1830a7d5
Implement rendering of nested JSON output ( #86 )
2018-02-01 19:10:22 +01:00
Haiko Schol
16a1bab007
Add commandline argument --json-tree
2018-01-31 16:18:12 +01:00
Haiko Schol
1262d7ce55
Rename jsonify_tree() to render_json()
2018-01-31 16:05:25 +01:00
Haiko Schol
ac6d8def3a
Update psycopg2 version in one of the test environments
...
psycopg2 2.5.2 fails to install with PostgreSQL 10+.
2018-01-31 14:52:08 +01:00
Vineet Naik
6f70dd5508
Merge pull request #88 from cointoss1973/documents
...
Supports README version 0.10.1
2017-11-13 14:09:01 +05:30
Takayuki KONDO
2dbaf76aac
Supports README version 0.10.1
2017-10-19 12:40:37 +09:00
Vineet Naik
4954174aae
Merge pull request #85 from sschuberth/readme-improvements
...
Readme improvements
2017-09-06 23:53:27 +05:30
Sebastian Schuberth
90fec16c9c
README: Link the LICENSE file
2017-09-06 09:38:20 +02:00
Sebastian Schuberth
ab14b7208f
README: Fix the GraphViz link
2017-09-06 09:33:23 +02:00
Vineet Naik
005f2973e4
Merge pull request #74 from naiquevin/release-0.10.1
...
Release 0.10.1
2017-03-19 17:39:29 +05:30
Vineet Naik
0ea5dc2cef
Release version 0.10.1
2017-03-19 17:26:37 +05:30
Vineet Naik
b37c7961a9
Revert "Merge pull request #65 from kdeldycke/filter-dep-tree-before-rendering"
...
This reverts commit f4fd8b1c25
, reversing
changes made to cad03ba86a
.
2017-03-19 17:06:46 +05:30
Vineet Naik
0db3b7fc8d
Release version 0.10.0
...
Updated project version, readme and changelog.
2017-03-19 12:23:30 +05:30