19 Commits

Author SHA256 Message Date
feec043bad - update to 4.0.1:
* Updated pyparsing to `>=3.1.0`. Required for pydot to
    function correctly. (#477)
  * Parser: Fixed 'strict' handling. (#480)
  * Parser: Support backslash continuation in quoted IDs. (#487)
  * Parser: Support +-concatenated quoted strings. (#490)
  * Added initial type annotations. (#430)
  * Added (fixed) complex edge parsing. (#467)
  * Simplify `Common.get_top_graph_type` with a default. (#437)
  * Define parser elements in a separate `GraphParser` class.
    (#464)
  * Improve return values and typing of setters and getters.
    (#470)
  * Avoid subprocess window creation within `call_graphviz` on
    Windows. (#431)
  * Removed a blank line inserted after subgraphs in the
    `to_string()` output. (#434)
  * Fixed the issue where the parser breaks off lines at hash
    symbol following a HTML tag (#451)
  * Removed old, unused `Common.__get_attribute__`. (#426)
    + From now on, the license files will be included in the distributed
- skip failing tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=33
2026-01-27 07:16:22 +00:00
2419e786c9 - Update to 3.0.4:
* Removed:
    + Breaking change: support for Python 3.7 dropped totally.
      It was already dropped, but now it's official.
    + Breaking change (but for nobody): Invalid syntax removed.
      Removed syntax rules that were never implemented in graphviz's own
      parser.
    + Attribute sorting removed.
      Pydot will preserve the original order of attributes as defined.
    + Breaking change: Remove `.create_attribute_methods()` from classes.
      Setters and getters for attributes are now added to class definitions
      by calls to `pydot.core.__generate_attribute_methods()` immediately
      after the class is defined, for better compatibility with type-checking
      and introspection.
  * Changed:
    + Fixed quoting of identifiers with dots.
    + Fixed quoting of leading-numeral strings (strings starting with a
      number).
    + Fixed pickling/copying of Dot objects.
    + Improved handling of temporary files. Temporary files will be cleaned
      up in all cases, even when exceptions are raised or things exit
      unexpectedly.
    + From now on, the license files will be included in the distributed 
      release as expected.
    + Fix quoting in `Edge.to_string()`.
    + Internal storage and lookup of identifiers (names) improved.
      Pydot now always stores values as they were originally input, and only
      performs quoting on output.
    + Quoting for attribute values fixed.
      Attribute values containing comma-separated strings will now be quoted

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=31
2025-02-04 03:10:54 +00:00
35af084e86 - Update to 2.0.0:
* Changed:
    + Broken parsing caused by `pyparsing` updates fixed.
    + Reorganized package/module structure.
    + Reorganized exception hierarchy.
  * Deprecated:
    + Test suite option `--no-check`.
  * Removed:
    + Drop support for Python 2 and Python < 3.7.
- Drop patch pydot-skip-test.patch, no longer required.
- Switch to autosetup and pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=29
2024-02-26 05:59:11 +00:00
253d589f32 Accepting request 1092837 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=27
2023-06-14 06:28:00 +00:00
d2a8eb1a8b - skip failing tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=25
2021-12-07 07:42:14 +00:00
dee5b8139a - update to 1.4.2:
- Documentation: Basic usage examples in `README.md`. (#141)
  
  Changed:
  - More detailed error message in case of Graphviz errors. (#239)
  - More detailed warning message in case of failure to import the DOT
    parser module. (#241)
  
  Deprecated:
  - A future pydot 2.0.0 will drop support for Python 2, 3.4 and
    possibly other Python versions that are end-of-life at that time.
    Pydot does not emit any deprecation warnings about this. Further
    pydot 1.x.x releases are currently not foreseen, but if there are
    any, should still support the mentioned Python versions. (#229)
  
  Fixed:
  - On Python 2, non-equality comparison (`!=`) between two separate, but
    equal `Edge` instances will now correctly return `False`, as it
    already did on Python 3. (#248)
  - Prevent `TypeError` in handling of DOT parser error. (#176)
  - Prevent `TypeError` in `graph_from_adjacency_matrix()` and
    `graph_from_incidence_matrix()`. (#98)
  - Prevent `TypeError` when creating an edge with a `Subgraph` or
    `Cluster` object (as opposed to name string) as an edge point. (#89)
  - Windows only: Fixed most failures to find Graphviz when a conda or
    Anaconda installation exists, but Graphviz was installed manually or
    through pip (`.bat`/`.exe` suffix problem). (#205)
  - Windows only: Fixed failure to run Graphviz related to side-by-side
    assembly (SxS) by now propagating the `SYSTEMROOT` environment
    variable. (#208)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=23
2021-04-22 19:35:50 +00:00
Tomáš Chvátal
d6fa49e4ff - We need the full graphviz-gd as otherwise it acts really weirdly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=21
2020-02-25 08:22:22 +00:00
Tomáš Chvátal
14127f305a - Skip one failing test:
* pydot-skip-test.patch
- Enable testsuite and add tests dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=19
2019-04-04 12:59:37 +00:00
Tomáš Chvátal
632b07e478 Accepting request 690650 from home:comurphy:branches:devel:languages:python
- Update to 1.4.1:
  * Make graph, edge, node attributes order deterministic
  *  Fix string formatting after catching error (#201)
  * Installation of pydot in conda env on Windows directly supported
  * Fixed comparing of SHA hash in regression tests (which fail now)
  * Dropped Python 2.6 support (#185)
  * Move errno from os to builtin. Fixes #177 (#191, #182)

OBS-URL: https://build.opensuse.org/request/show/690650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=18
2019-04-04 12:38:55 +00:00
Todd R
82d99be11f Accepting request 659789 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary. Grammar adjustments for the
  description.

OBS-URL: https://build.opensuse.org/request/show/659789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=16
2018-12-19 03:58:33 +00:00
d12de71a1d Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=14
2018-12-04 13:50:33 +00:00
Tomáš Chvátal
ba4059c704 Accepting request 562204 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/562204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=12
2018-01-07 09:36:51 +00:00
Todd R
568b38cdf1 Accepting request 489385 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/489385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=10
2017-04-19 16:16:06 +00:00
Todd R
94dca29988 Accepting request 438181 from home:TheBlackCat:branches:devel:languages:python
- Update source url
- Remove some obsolete parts of the spec file

OBS-URL: https://build.opensuse.org/request/show/438181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=8
2016-11-01 20:24:49 +00:00
Todd R
ab67b07364 Accepting request 438173 from home:TheBlackCat:branches:devel:languages:python
Update to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/438173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=7
2016-11-01 20:03:22 +00:00
Tomáš Chvátal
6f21b31222 Accepting request 232538 from home:anubisg1:networking
added python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch to fix incompatibility when using pydot with pyparser 2

OBS-URL: https://build.opensuse.org/request/show/232538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=5
2014-05-19 11:47:52 +00:00
Todd R
a28de6dd60 Accepting request 122275 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.0.28
  * Bugfixes
- Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/122275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=3
2012-05-25 09:05:51 +00:00
767ddfec6e Accepting request 72407 from home:saschpe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/72407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=2
2011-06-02 09:46:46 +00:00
Ciaran Farrell
1dcfb69c45 Accepting request 61764 from home:jnweiger
works, thanks

OBS-URL: https://build.opensuse.org/request/show/61764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=1
2011-02-18 11:38:46 +00:00