Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-griffe for openSUSE:Factory checked in at 2026-11-24 12:40:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-griffe (Old) and /work/SRC/openSUSE:Factory/.python-griffe.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-griffe" Tue Nov 24 12:40:24 2026 rev:2 rq:1400080 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-griffe/python-griffe.changes 2026-04-17 20:54:28.297589044 +0200 +++ /work/SRC/openSUSE:Factory/.python-griffe.new.1340718/python-griffe.changes 2026-11-24 12:46:20.648074113 +0100 @@ -1,0 +2,25 @@ +Tue Nov 24 03:49:15 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 2.4.1: + * Load symbols gated behing `__getattr__` during dynamic + analysis (3faeeb1 by Timothée Mazzucotelli). + * Stop checking attribute values (0670d03 by Timothée + Mazzucotelli). Issue-506 + * Expose `reference_path` in addition to `canonical_path` + (2f6b419 by Timothée Mazzucotelli). Issue-448 + * Preserve standalone named expression parentheses (dc6300d by + Alperen). PR-488, Co-authored-by: Timothée Mazzucotelli + <[email protected]> + * Propagate `public` value to inherited members (aliases) + (8b94205 by Timothée Mazzucotelli). Issue-495, PR-503, Co- + authored-by: Sydney Duckworth + <[email protected]> + * Prune function bodies from source before building AST + (657ce96 by Timothée Mazzucotelli). PR-489 + * This requires the `griffe[faster]` extra. Griffe is fast by + default so this performance improvement will only be + noticeable in projects with *a lot of Python code*. +- Refresh patch static-version.patch +- Remove multibuild, this no longer ships tests (they have moved) + +------------------------------------------------------------------- Old: ---- _multibuild griffe-2.0.2.tar.gz New: ---- griffe-2.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-griffe.spec ++++++ --- /var/tmp/diff_new_pack.BwVXpV/_old 2026-11-24 12:46:21.877126202 +0100 +++ /var/tmp/diff_new_pack.BwVXpV/_new 2026-11-24 12:46:21.882126414 +0100 @@ -16,16 +16,9 @@ # -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif -Name: python-griffe%{psuffix} -Version: 2.0.2 +Name: python-griffe +# Must be upgraded in lockstep with griffelib and griffecli +Version: 2.4.1 Release: 0 Summary: Signatures for entire Python programs License: ISC @@ -34,30 +27,17 @@ # PATCH-FEATURE-OPENSUSE static-version.patch [email protected] # Don't use uv-dynamic-versioning, just set it statically Patch0: static-version.patch +BuildRequires: %{python_module base >= 3.11} BuildRequires: %{python_module hatchling} -BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module mkdocstrings >= 0.29} BuildRequires: %{python_module pdm-backend} BuildRequires: %{python_module pip} -BuildRequires: %{python_module tomli >= 2.0 if %python-base < 3.11} BuildRequires: fdupes -BuildRequires: git BuildRequires: python-rpm-macros -Requires: python-griffe-inherited-docstrings Requires: python-griffecli = %{version} Requires: python-griffelib = %{version} -Requires: python-jsonschema +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch -%if %{with test} -# SECTION test requirements -BuildRequires: %{python_module griffecli == %{version}} -BuildRequires: %{python_module griffe-inherited-docstrings} -BuildRequires: %{python_module griffelib == %{version}} -BuildRequires: %{python_module pytest-gitconfig} -BuildRequires: %{python_module pytest-randomly} -BuildRequires: %{python_module pytest} -# /SECTION -%endif %python_subpackages # "duty>=1.6", # "griffe-inherited-docstrings>=1.1.2", @@ -96,24 +76,14 @@ sed -i -e '/^version =/s/@VERSION@/%{version}/' pyproject.toml %build -%if %{without test} %pyproject_wheel -%endif %install -%if %{without test} %pyproject_install %python_clone -a %{buildroot}%{_bindir}/griffe %python_expand %fdupes %{buildroot}%{$python_sitelib} -%endif -%if %{with test} -%check -# Upstream sdist omits the workspace `packages/` tree, but this test assumes -# a checkout layout and fails with FileNotFoundError on OBS. -# gh#mkdocstrings/griffe#452 -%pytest -k 'not test_meson_python_file_handling' -%endif +# Tests now run in griffelib and griffecli %post %python_install_alternative griffe @@ -121,11 +91,9 @@ %postun %python_uninstall_alternative griffe -%if %{without test} %files %{python_files} %doc CHANGELOG.md README.md -%license LICENSE LICENSE +%license LICENSE %python_alternative %{_bindir}/griffe %{python_sitelib}/griffe-%{version}.dist-info -%endif ++++++ griffe-2.0.2.tar.gz -> griffe-2.4.1.tar.gz ++++++ ++++ 14471 lines of diff (skipped) ++++++ static-version.patch ++++++ --- /var/tmp/diff_new_pack.BwVXpV/_old 2026-11-24 12:46:22.229141120 +0100 +++ /var/tmp/diff_new_pack.BwVXpV/_new 2026-11-24 12:46:22.233141290 +0100 @@ -2,10 +2,10 @@ pyproject.toml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) -Index: griffe-2.0.2/pyproject.toml +Index: griffe-2.4.1/pyproject.toml =================================================================== ---- griffe-2.0.2.orig/pyproject.toml 2026-04-01 21:09:19.864531682 +0200 -+++ griffe-2.0.2/pyproject.toml 2026-04-01 21:10:19.842943519 +0200 +--- griffe-2.4.1.orig/pyproject.toml ++++ griffe-2.4.1/pyproject.toml @@ -1,11 +1,12 @@ [build-system] # pdm-backend is left here as a dependency of the version discovery script currently in use. @@ -20,7 +20,7 @@ description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API." authors = [{name = "Timothée Mazzucotelli", email = "[email protected]"}] license = "ISC" -@@ -50,23 +51,11 @@ +@@ -50,25 +51,11 @@ Funding = "https://github.com/sponsors/p [project.scripts] griffe = "griffecli:main" @@ -38,6 +38,8 @@ -dependencies = ["griffelib=={{version}}", "griffecli=={{version}}"] - -[tool.hatch.metadata.hooks.uv-dynamic-versioning.optional-dependencies] +-# The 'faster' extra re-exports griffelib[faster]. +-faster = ["griffelib[faster]=={{version}}"] -# The 'pypi' extra re-exports griffelib[pypi] for backward compatibility. -pypi = ["griffelib[pypi]=={{version}}"] -
