Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package reuse for openSUSE:Factory checked in at 2026-06-19 16:32:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/reuse (Old) and /work/SRC/openSUSE:Factory/.reuse.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "reuse" Fri Jun 19 16:32:01 2026 rev:20 rq:1360307 version:6.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/reuse/reuse.changes 2025-08-20 13:28:00.931159665 +0200 +++ /work/SRC/openSUSE:Factory/.reuse.new.1956/reuse.changes 2026-06-19 17:22:14.031844509 +0200 @@ -1,0 +2,23 @@ +Thu Jun 18 16:02:13 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 6.2.0 (fixes the build; the package was flagged + for removal by botdel after >= 6 weeks of build failures): + * file-type detection moved from binaryornot to python-magic + (libmagic) — this also resolves the test_project failure that + broke the build on Tumbleweed, where binaryornot misclassified a + tiny ASCII file as binary + * see the upstream CHANGELOG for the full 5.0.2 -> 6.2.0 feature set +- Adjust dependencies for 6.2.0: require python >= 3.10; replace + python3-binaryornot with python3-python-magic; drop the explicit + python3-boolean.py (now pulled in transitively via + license-expression); raise the floors on attrs (>= 23.2), click + (>= 8.1), license-expression (>= 21.6.14) and python-debian + (>= 0.1.48) +- Enable the optional encoding-detection backends (python3-chardet, + python3-charset-normalizer; file-magic comes from the file package) + so the TestEncodingModule suite runs against all backends +- Run the doc build with src/ on PYTHONPATH (apidoc/autodoc imports + the modules) and SPHINXOPTS= so the offline intersphinx warning is + not fatal; point %check at tests/ with the installed package on + PYTHONPATH so the subprocess-based tests can import reuse +------------------------------------------------------------------- Old: ---- reuse-5.0.2.tar.gz New: ---- reuse-6.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ reuse.spec ++++++ --- /var/tmp/diff_new_pack.kpmMW6/_old 2026-06-19 17:22:15.531896097 +0200 +++ /var/tmp/diff_new_pack.kpmMW6/_new 2026-06-19 17:22:15.531896097 +0200 @@ -1,7 +1,7 @@ # # spec file for package reuse # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2017 Free Software Foundation Europe e.V. # # All modifications and additions to the file contributed by third parties @@ -18,46 +18,45 @@ %define pythons python3 - Name: reuse -Version: 5.0.2 +Version: 6.2.0 Release: 0 Summary: A tool for compliance with the REUSE recommendations License: Apache-2.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later AND CC0-1.0 -Group: Development/Languages/Python URL: https://git.fsfe.org/reuse/tool Source: https://files.pythonhosted.org/packages/source/r/reuse/reuse-%{version}.tar.gz -Patch: sphinx-docs.patch +Patch0: sphinx-docs.patch BuildRequires: fdupes BuildRequires: gettext -BuildRequires: git-core BuildRequires: python-rpm-macros -BuildRequires: python3 >= 3.9 -BuildRequires: python3-pip -BuildRequires: python3-poetry-core +BuildRequires: python3 >= 3.10 +# runtime dependencies +BuildRequires: python3-Jinja2 >= 3.0.0 # doc dependencies (manpage) BuildRequires: python3-Sphinx +BuildRequires: python3-attrs >= 23.2 +BuildRequires: python3-click >= 8.1 +BuildRequires: python3-freezegun +BuildRequires: python3-license-expression >= 21.6.14 BuildRequires: python3-myst-parser -BuildRequires: python3-sphinxcontrib-apidoc +BuildRequires: python3-pip +BuildRequires: python3-poetry-core # test dependencies +BuildRequires: python3-chardet +BuildRequires: python3-charset-normalizer BuildRequires: python3-pytest -BuildRequires: python3-freezegun -# runtime dependencies -BuildRequires: python3-Jinja2 >= 3.0.0 -BuildRequires: python3-attrs >= 21.3 -BuildRequires: python3-binaryornot >= 0.4.4 -BuildRequires: python3-boolean.py >= 3.8 -BuildRequires: python3-click >= 8.0 -BuildRequires: python3-license-expression >= 1.0 -BuildRequires: python3-python-debian >= 0.1.34 +BuildRequires: python3-python-debian >= 0.1.48 +BuildRequires: python3-python-magic >= 0.4.12 +BuildRequires: python3-sphinxcontrib-apidoc BuildRequires: python3-tomlkit >= 0.8 +# git-core for the vcs tests (spec-cleaner --perl wrongly explodes this into perl(Git::*)) +BuildRequires: git-core Requires: python3-Jinja2 >= 3.0.0 -Requires: python3-attrs >= 21.3 -Requires: python3-binaryornot >= 0.4.4 -Requires: python3-boolean.py >= 3.8 -Requires: python3-click >= 8.0 -Requires: python3-license-expression >= 1.0 -Requires: python3-python-debian >= 0.1.34 +Requires: python3-attrs >= 23.2 +Requires: python3-click >= 8.1 +Requires: python3-license-expression >= 21.6.14 +Requires: python3-python-debian >= 0.1.48 +Requires: python3-python-magic >= 0.4.12 Requires: python3-tomlkit >= 0.8 Recommends: git-core @@ -71,7 +70,13 @@ %build %pyproject_wheel -make -C docs man +# the docs use sphinxcontrib.apidoc/autodoc, which import the reuse modules; +# conf.py does not add src/ to sys.path, so do it here (the package is not yet +# installed — __init__ falls back to a hardcoded version when not installed) +export PYTHONPATH="$PWD/src" +# SPHINXOPTS= drops upstream's --fail-on-warning: the offline build cannot fetch +# the intersphinx python.org inventory, and that lone warning must not be fatal +%make_build -C docs man SPHINXOPTS= %install %pyproject_install @@ -79,13 +84,17 @@ install -D -m 0644 docs/_build/man/*.1 -t "%{buildroot}%{_mandir}/man1/" %check +# TestEncodingModule spawns `python -c "import reuse.extract"`, which needs the +# installed package on PYTHONPATH; collect only tests/ so pytest does not also +# pick up src/reuse (which would clash with the installed copy) +export PYTHONPATH="%{buildroot}%{python3_sitearch}" IGNORED_CHECKS="test_help_is_default" IGNORED_CHECKS="${IGNORED_CHECKS} or test_version" -%pytest -k "not (${IGNORED_CHECKS})" +%pytest -k "not (${IGNORED_CHECKS})" tests %files %doc README.md CHANGELOG.md -%{_mandir}/man1/*.1%{ext_man} +%{_mandir}/man1/*.1%{?ext_man} %license LICENSES/* %{_bindir}/reuse %{python3_sitearch}/reuse/ ++++++ reuse-5.0.2.tar.gz -> reuse-6.2.0.tar.gz ++++++ ++++ 92937 lines of diff (skipped)
