From 79812afc9796387278de9183cc876ee89703108d Mon Sep 17 00:00:00 2001 From: Vineet Naik Date: Sun, 9 Jan 2022 11:38:49 +0530 Subject: [PATCH] Prepare for 2.2.1 release --- CHANGES.md | 8 ++++++++ README.rst | 5 ++++- pipdeptree.py | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index fa30b1e..0eb2475 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,14 @@ Changelog ========= +2.2.1 +----- + +* Fix ``--user-only`` and ``--freeze`` flags which were broken after + the last release. + +* Fix for compatibility with new version of ``graphviz`` (>= 0.18.1). + 2.2.0 ----- diff --git a/README.rst b/README.rst index 8ad04c2..8c93b73 100644 --- a/README.rst +++ b/README.rst @@ -264,7 +264,10 @@ The dependency graph can also be visualized using `GraphViz $ pipdeptree --graph-output svg > dependencies.svg Note that ``graphviz`` is an optional dependency ie. required only if -you want to use ``--graph-output``. +you want to use ``--graph-output``. If the version of ``graphviz`` +installed in the env is older than 0.18.1, then a warning will be +displayed about upgrading ``graphviz``. Support for older versions of +graphviz will be dropped soon. Since version ``2.0.0b1``, ``--package`` and ``--reverse`` flags are supported for all output formats ie. text, json, json-tree and graph. diff --git a/pipdeptree.py b/pipdeptree.py index a7ac290..6e2c3b3 100644 --- a/pipdeptree.py +++ b/pipdeptree.py @@ -30,7 +30,7 @@ except ImportError: # from graphviz import parameters -__version__ = '2.2.0' +__version__ = '2.2.1' flatten = chain.from_iterable