Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5cec188257 | |||
| f34bc0b804 | |||
| 9c19ad83d7 | |||
| 9500a26543 | |||
| 9eb58704c3 | |||
| 82ccacd436 |
BIN
graphviz-0.20.3.zip
LFS
BIN
graphviz-0.20.3.zip
LFS
Binary file not shown.
BIN
graphviz-0.21.tar.gz
LFS
Normal file
BIN
graphviz-0.21.tar.gz
LFS
Normal file
Binary file not shown.
13
py314.patch
Normal file
13
py314.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: graphviz-0.21/tests/test_quoting.py
|
||||||
|
===================================================================
|
||||||
|
--- graphviz-0.21.orig/tests/test_quoting.py
|
||||||
|
+++ graphviz-0.21/tests/test_quoting.py
|
||||||
|
@@ -17,7 +17,7 @@ def test_deprecated_escape(recwarn, char
|
||||||
|
assert len(recwarn) == 1
|
||||||
|
w = recwarn.pop(DeprecationWarning if sys.version_info < (3, 12)
|
||||||
|
else SyntaxWarning)
|
||||||
|
- assert str(w.message).startswith('invalid escape sequence')
|
||||||
|
+ assert 'invalid escape sequence' in str(w.message)
|
||||||
|
|
||||||
|
assert escape == f'\\{char}'
|
||||||
|
assert quoting.quote(escape) == f'"\\{char}"'
|
||||||
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 9 14:31:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add py314.patch to fix tests with Python 3.14
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 2 07:55:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.21
|
||||||
|
* Drop Python 3.8 support (end of life 7 Oct 2024).
|
||||||
|
* Tag Python 3.13 support.
|
||||||
|
* Add support for ``format='svg_inline'``, available since upstream
|
||||||
|
Graphviz 10.0.1. Produces header-less SVG suitable for inlining
|
||||||
|
into HTML (see https://www.graphviz.org/docs/outputs/svg/).
|
||||||
|
* Switch project to ``pyproject.toml`` and build to ``python -m build``)
|
||||||
|
(https://build.pypa.io). This changes the source distribution formar
|
||||||
|
from ``.zip`` to PEP 625 compliant ``.tar.gz``
|
||||||
|
(https://peps.python.org/pep-0625/).
|
||||||
|
- Remove unzip package from BuildRequires
|
||||||
|
- Switch source archive format to TAR.GZ
|
||||||
|
- Update BuildRequires from pyproject.toml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 09:21:15 UTC 2025 - Thomas Renninger <trenn@suse.de>
|
||||||
|
|
||||||
|
- Fix tests with latest graphviz update to 12.x
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 23 01:59:56 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu May 23 01:59:56 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-graphviz
|
# spec file for package python-graphviz
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,25 +18,29 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-graphviz
|
Name: python-graphviz
|
||||||
Version: 0.20.3
|
Version: 0.21
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface for Graphviz
|
Summary: Python interface for Graphviz
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/xflr6/graphviz
|
URL: https://github.com/xflr6/graphviz
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM https://github.com/xflr6/graphviz/pull/238 fix tests on Python 3.14
|
||||||
|
Patch0: py314.patch
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 6}
|
BuildRequires: %{python_module pytest >= 7}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest-mock >= 3}
|
BuildRequires: %{python_module pytest-mock >= 3}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
|
BuildRequires: graphviz-gd
|
||||||
BuildRequires: graphviz-gnome
|
BuildRequires: graphviz-gnome
|
||||||
BuildRequires: noto-sans-fonts
|
BuildRequires: noto-sans-fonts
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: w3m
|
BuildRequires: w3m
|
||||||
BuildRequires: xdg-utils
|
BuildRequires: xdg-utils
|
||||||
Requires: graphviz
|
Requires: graphviz
|
||||||
|
|||||||
Reference in New Issue
Block a user