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.
Files changed (66) hide show
  1. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/INSTALL.txt +1 -1
  2. {pygraphviz-2.0.1/pygraphviz.egg-info → pygraphviz-2.0.2}/PKG-INFO +2 -1
  3. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/install.rst +1 -1
  4. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/index.rst +1 -0
  5. pygraphviz-2.0.2/doc/source/release/release_2.0.2.rst +29 -0
  6. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/__init__.py +1 -1
  7. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/agraph.py +2 -10
  8. {pygraphviz-2.0.1 → pygraphviz-2.0.2/pygraphviz.egg-info}/PKG-INFO +2 -1
  9. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/SOURCES.txt +1 -0
  10. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pyproject.toml +1 -0
  11. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/LICENSE +0 -0
  12. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/LICENSE.graphviz +0 -0
  13. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/MANIFEST.in +0 -0
  14. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/Makefile +0 -0
  15. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/README.rst +0 -0
  16. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/Makefile +0 -0
  17. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/conf.py +0 -0
  18. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/contribute.rst +0 -0
  19. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/index.rst +0 -0
  20. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/developer/release.rst +0 -0
  21. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/index.rst +0 -0
  22. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/agraph.rst +0 -0
  23. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/credits.rst +0 -0
  24. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/history.rst +0 -0
  25. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/reference/index.rst +0 -0
  26. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/old_release_log.rst +0 -0
  27. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.12.rst +0 -0
  28. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.13.rst +0 -0
  29. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_1.14.rst +0 -0
  30. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_2.0.1.rst +0 -0
  31. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/doc/source/release/release_2.0.rst +0 -0
  32. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/README.txt +0 -0
  33. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/miles_dat.txt.gz +0 -0
  34. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_attributes.py +0 -0
  35. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_miles.py +0 -0
  36. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_simple.py +0 -0
  37. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_star.py +0 -0
  38. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_subgraph.py +0 -0
  39. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/plot_subgraph_boundaries.py +0 -0
  40. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/skip_django_simple.py +0 -0
  41. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/examples/skip_utf8_encoding.py +0 -0
  42. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/graphviz.i +0 -0
  43. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/graphviz.py +0 -0
  44. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/scraper.py +0 -0
  45. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/testing.py +0 -0
  46. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/__init__.py +0 -0
  47. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_attribute_defaults.py +0 -0
  48. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_clear.py +0 -0
  49. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_close.py +0 -0
  50. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_drawing.py +0 -0
  51. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_edge_attributes.py +0 -0
  52. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_graph.py +0 -0
  53. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_html.py +0 -0
  54. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_layout.py +0 -0
  55. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_node_attributes.py +0 -0
  56. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_pygraphviz.py +0 -0
  57. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_readwrite.py +0 -0
  58. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_repr_mimebundle.py +0 -0
  59. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_scraper.py +0 -0
  60. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_string.py +0 -0
  61. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_subgraph.py +0 -0
  62. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz/tests/test_unicode.py +0 -0
  63. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/dependency_links.txt +0 -0
  64. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/pygraphviz.egg-info/top_level.txt +0 -0
  65. {pygraphviz-2.0.1 → pygraphviz-2.0.2}/setup.cfg +0 -0
  66. {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.14)
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.1
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.14)
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
 
@@ -8,6 +8,7 @@ Releases
8
8
  :maxdepth: 2
9
9
 
10
10
  release_dev
11
+ release_2.0.2
11
12
  release_2.0.1
12
13
  release_2.0
13
14
  release_1.14
@@ -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._
@@ -32,7 +32,7 @@ from ._graphviz import (
32
32
  GRAPHVIZ_PATCH_VERSION,
33
33
  )
34
34
 
35
- __version__ = "2.0.1"
35
+ __version__ = "2.0.2"
36
36
  __graphviz_version__ = (
37
37
  f"{GRAPHVIZ_MAJOR_VERSION}.{GRAPHVIZ_MINOR_VERSION}.{GRAPHVIZ_PATCH_VERSION}"
38
38
  )
@@ -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
- if path.endswith(".gz"):
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.1
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