pygraphviz 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/INSTALL.txt +1 -1
- {pygraphviz-2.0.1/pygraphviz.egg-info → pygraphviz-2.0.2}/PKG-INFO +2 -1
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/install.rst +1 -1
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/index.rst +1 -0
- pygraphviz-2.0.2/doc/source/release/release_2.0.2.rst +29 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/__init__.py +1 -1
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/agraph.py +2 -10
- {pygraphviz-2.0.1 → pygraphviz-2.0.2/pygraphviz.egg-info}/PKG-INFO +2 -1
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/SOURCES.txt +1 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pyproject.toml +1 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/LICENSE +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/LICENSE.graphviz +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/MANIFEST.in +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/Makefile +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/README.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/Makefile +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/conf.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/contribute.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/index.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/release.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/index.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/agraph.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/credits.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/history.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/index.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/old_release_log.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.12.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.13.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.14.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_2.0.1.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_2.0.rst +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/README.txt +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/miles_dat.txt.gz +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_attributes.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_miles.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_simple.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_star.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_subgraph.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_subgraph_boundaries.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/skip_django_simple.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/skip_utf8_encoding.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/graphviz.i +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/graphviz.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/scraper.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/testing.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/__init__.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_attribute_defaults.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_clear.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_close.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_drawing.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_edge_attributes.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_graph.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_html.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_layout.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_node_attributes.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_pygraphviz.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_readwrite.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_repr_mimebundle.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_scraper.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_string.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_subgraph.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_unicode.py +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/dependency_links.txt +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/top_level.txt +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/setup.cfg +0 -0
- {pygraphviz-2.0.1 → pygraphviz-2.0.2}/setup.py +0 -0
|
@@ -39,7 +39,7 @@ Install from Source
|
|
|
39
39
|
|
|
40
40
|
Building PyGraphviz from source requires:
|
|
41
41
|
|
|
42
|
-
- Python (version 3.10, 3.11, 3.12, 3.13 or 3.
|
|
42
|
+
- Python (version 3.10, 3.11, 3.12, 3.13, 3.14, or 3.15)
|
|
43
43
|
- `Graphviz <https://www.graphviz.org/>`_ (version 2.46 or later)
|
|
44
44
|
- C/C++ compiler
|
|
45
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pygraphviz
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Python interface to Graphviz
|
|
5
5
|
Author: Manos Renieris
|
|
6
6
|
Author-email: Aric Hagberg <aric.hagberg@gmail.com>, Dan Schult <dschult@colgate.edu>
|
|
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.13
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
28
29
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
30
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
30
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -39,7 +39,7 @@ Install from Source
|
|
|
39
39
|
|
|
40
40
|
Building PyGraphviz from source requires:
|
|
41
41
|
|
|
42
|
-
- Python (version 3.10, 3.11, 3.12, 3.13 or 3.
|
|
42
|
+
- Python (version 3.10, 3.11, 3.12, 3.13, 3.14, or 3.15)
|
|
43
43
|
- `Graphviz <https://www.graphviz.org/>`_ (version 2.46 or later)
|
|
44
44
|
- C/C++ compiler
|
|
45
45
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
pygraphviz 2.0.2
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
We're happy to announce the release of pygraphviz 2.0.2!
|
|
5
|
+
|
|
6
|
+
Maintenance
|
|
7
|
+
-----------
|
|
8
|
+
|
|
9
|
+
- MAINT: simplify compressed filename handling (`#644 <https://github.com/pygraphviz/pygraphviz/pull/644>`_).
|
|
10
|
+
- CI: Update twine requirement from >=4.0 to >=7.0.0 (`#643 <https://github.com/pygraphviz/pygraphviz/pull/643>`_).
|
|
11
|
+
- CI: Update pre-commit requirement from >=4.1 to >=4.6.1 (`#642 <https://github.com/pygraphviz/pygraphviz/pull/642>`_).
|
|
12
|
+
- CI: Bump actions/setup-python from 6 to 7 (`#641 <https://github.com/pygraphviz/pygraphviz/pull/641>`_).
|
|
13
|
+
- Support Python 3.15 (`#649 <https://github.com/pygraphviz/pygraphviz/pull/649>`_).
|
|
14
|
+
|
|
15
|
+
Contributors
|
|
16
|
+
------------
|
|
17
|
+
|
|
18
|
+
3 authors added to this release (alphabetically):
|
|
19
|
+
|
|
20
|
+
- `@dependabot[bot] <https://github.com/apps/dependabot>`_
|
|
21
|
+
- Dan Schult (`@dschult <https://github.com/dschult>`_)
|
|
22
|
+
- Jarrod Millman (`@jarrodmillman <https://github.com/jarrodmillman>`_)
|
|
23
|
+
|
|
24
|
+
2 reviewers added to this release (alphabetically):
|
|
25
|
+
|
|
26
|
+
- Jarrod Millman (`@jarrodmillman <https://github.com/jarrodmillman>`_)
|
|
27
|
+
- Ross Barnowski (`@rossbar <https://github.com/rossbar>`_)
|
|
28
|
+
|
|
29
|
+
_These lists are automatically generated, and may not be complete or may contain duplicates._
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
A Python interface to Graphviz.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import fileinput
|
|
5
6
|
import os
|
|
6
7
|
import re
|
|
7
8
|
import shlex
|
|
@@ -1670,16 +1671,7 @@ class AGraph:
|
|
|
1670
1671
|
import os
|
|
1671
1672
|
|
|
1672
1673
|
if isinstance(path, str):
|
|
1673
|
-
|
|
1674
|
-
# import gzip
|
|
1675
|
-
# fh = gzip.open(path,mode=mode) # doesn't return real fh
|
|
1676
|
-
fh = os.popen("gzcat " + path) # probably not portable
|
|
1677
|
-
elif path.endswith(".bz2"):
|
|
1678
|
-
# import bz2
|
|
1679
|
-
# fh = bz2.BZ2File(path,mode=mode) # doesn't return real fh
|
|
1680
|
-
fh = os.popen("bzcat " + path) # probably not portable
|
|
1681
|
-
else:
|
|
1682
|
-
fh = open(path, mode=mode)
|
|
1674
|
+
fh = fileinput.hook_compressed(path, mode=mode)
|
|
1683
1675
|
elif hasattr(path, "write"):
|
|
1684
1676
|
# Note, mode of file handle is unchanged.
|
|
1685
1677
|
fh = path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pygraphviz
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Python interface to Graphviz
|
|
5
5
|
Author: Manos Renieris
|
|
6
6
|
Author-email: Aric Hagberg <aric.hagberg@gmail.com>, Dan Schult <dschult@colgate.edu>
|
|
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.13
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
28
29
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
30
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
30
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -23,6 +23,7 @@ doc/source/release/release_1.12.rst
|
|
|
23
23
|
doc/source/release/release_1.13.rst
|
|
24
24
|
doc/source/release/release_1.14.rst
|
|
25
25
|
doc/source/release/release_2.0.1.rst
|
|
26
|
+
doc/source/release/release_2.0.2.rst
|
|
26
27
|
doc/source/release/release_2.0.rst
|
|
27
28
|
examples/README.txt
|
|
28
29
|
examples/miles_dat.txt.gz
|
|
@@ -34,6 +34,7 @@ classifiers = [
|
|
|
34
34
|
"Programming Language :: Python :: 3.12",
|
|
35
35
|
"Programming Language :: Python :: 3.13",
|
|
36
36
|
"Programming Language :: Python :: 3.14",
|
|
37
|
+
"Programming Language :: Python :: 3.15",
|
|
37
38
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
38
39
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
39
40
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|