15
0

Accepting request 1289777 from home:glaubitz:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1289777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=38
This commit is contained in:
2025-07-02 08:22:51 +00:00
committed by Git OBS Bridge
parent e7311e2a68
commit 8b905708a5
4 changed files with 26 additions and 8 deletions

Binary file not shown.

BIN
graphviz-0.21.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-graphviz
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-graphviz
Version: 0.20.3
Version: 0.21
Release: 0
Summary: Python interface for Graphviz
License: MIT
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
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module coverage}
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 setuptools}
BuildRequires: %{python_module wheel}
@@ -37,7 +39,6 @@ BuildRequires: graphviz-gd
BuildRequires: graphviz-gnome
BuildRequires: noto-sans-fonts
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: w3m
BuildRequires: xdg-utils
Requires: graphviz