python3-pydot: upgrade 3.0.4 -> 4.0.0

Added:
- Added initial type annotations.
- Added (fixed) complex edge parsing.

Changed:
- Simplify 'Common.get_top_graph_type' with a default.
- Define parser elements in a separate 'GraphParser' class.
- Improve return values and typing of setters and getters.

Fixed:
- Avoid subprocess window creation within 'call_graphviz' on Windows.
- Removed a blank line inserted after subgraphs in the 'to_string()' output.
- Fixed the issue where the parser breaks off lines at hash symbol following a HTML tag

Removed:
- Removed old, unused 'Common.__get_attribute__'.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-05-21 16:59:14 +08:00
committed by Khem Raj
parent 4133c010c2
commit 8bad9e2e16

View File

@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/pydot/pydot"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663"
SRC_URI[sha256sum] = "3ce88b2558f3808b0376f22bfa6c263909e1c3981e2a7b629b65b451eee4a25d"
SRC_URI[sha256sum] = "12f16493337cade2f7631b87c8ccd299ba2e251f3ee5d0732a058df2887afe97"
inherit pypi python_setuptools_build_meta