public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/reuse] epel10: Update to version 5.0.2 (fedora#2326191)
@ 2026-08-19 12:50
0 siblings, 0 replies; only message in thread
From: @ 2026-08-19 12:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/reuse
Branch : epel10
Commit : ac7daaed66180f97eee55e60809e123bcfe58292
Author : Jan Staněk <jstanek@redhat.com>
Date : 2024-11-14T12:07:13+01:00
Stats : +63/-93 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/reuse/c/ac7daaed66180f97eee55e60809e123bcfe58292?branch=epel10
Log:
Update to version 5.0.2 (fedora#2326191)
---
diff --git a/0001-Use-importlib-mode-for-pytest.patch b/0001-Use-importlib-mode-for-pytest.patch
index aac56ff..7d2a236 100644
--- a/0001-Use-importlib-mode-for-pytest.patch
+++ b/0001-Use-importlib-mode-for-pytest.patch
@@ -1,27 +1,28 @@
-From c6ac7df9260ceb315bfdd1f7c942226c235ee664 Mon Sep 17 00:00:00 2001
+From 0121e97c889e2436d2d8bf202ebef8f6f5a34f28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= <jstanek@redhat.com>
Date: Mon, 8 Jul 2024 14:04:01 +0200
-Subject: [PATCH 1/2] Use importlib mode for pytest
+Subject: [PATCH] Use importlib mode for pytest
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Jan Staněk <jstanek@redhat.com>
+Signed-off-by: rpm-build <rpm-build>
---
pyproject.toml | 2 +-
+ tests/test_cli_lint.py | 3 ++-
+ tests/test_covered_files.py | 4 ++--
tests/test_global_licensing.py | 3 ++-
tests/test_lint.py | 4 ++--
- tests/test_main.py | 3 ++-
tests/test_project.py | 3 ++-
tests/test_report.py | 4 ++--
- tests/test_util.py | 3 ++-
- 7 files changed, 13 insertions(+), 9 deletions(-)
+ 7 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
-index 51f587a..09af3db 100644
+index eb4c41f..cd96777 100644
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -139,7 +139,7 @@ use_parentheses = true
+@@ -148,7 +148,7 @@ use_parentheses = true
line_length = 80
[tool.pytest.ini_options]
@@ -30,8 +31,45 @@ index 51f587a..09af3db 100644
[tool.mypy]
files = [
+diff --git a/tests/test_cli_lint.py b/tests/test_cli_lint.py
+index b29dcb7..d9064cc 100644
+--- a/tests/test_cli_lint.py
++++ b/tests/test_cli_lint.py
+@@ -18,12 +18,13 @@ import shutil
+ from inspect import cleandoc
+
+ from click.testing import CliRunner
+-from conftest import RESOURCES_DIRECTORY
+
+ from reuse._util import cleandoc_nl
+ from reuse.cli.main import main
+ from reuse.report import LINT_VERSION
+
++from .conftest import RESOURCES_DIRECTORY
++
+
+ class TestLint:
+ """Tests for lint."""
+diff --git a/tests/test_covered_files.py b/tests/test_covered_files.py
+index 67ef7ce..b70ccdf 100644
+--- a/tests/test_covered_files.py
++++ b/tests/test_covered_files.py
+@@ -10,11 +10,11 @@
+ import os
+ from pathlib import Path
+
+-from conftest import git, hg, pijul, posix
+-
+ from reuse.covered_files import iter_files
+ from reuse.vcs import VCSStrategyGit, VCSStrategyHg, VCSStrategyPijul
+
++from .conftest import git, hg, pijul, posix
++
+
+ class TestIterFiles:
+ """Test the iter_files function."""
diff --git a/tests/test_global_licensing.py b/tests/test_global_licensing.py
-index bd2b289..d6a04cb 100644
+index 1b73853..b95b8cf 100644
--- a/tests/test_global_licensing.py
+++ b/tests/test_global_licensing.py
@@ -9,7 +9,6 @@ from inspect import cleandoc
@@ -42,9 +80,9 @@ index bd2b289..d6a04cb 100644
from debian.copyright import Copyright
from license_expression import LicenseSymbol
-@@ -26,6 +25,8 @@ from reuse.global_licensing import (
- ReuseTOML,
+@@ -28,6 +27,8 @@ from reuse.global_licensing import (
)
+ from reuse.vcs import VCSStrategyGit
+from .conftest import RESOURCES_DIRECTORY, posix
+
@@ -52,7 +90,7 @@ index bd2b289..d6a04cb 100644
# pylint: disable=redefined-outer-name,too-many-lines
diff --git a/tests/test_lint.py b/tests/test_lint.py
-index 6ca93f9..d22d069 100644
+index e680b82..f3d6d26 100644
--- a/tests/test_lint.py
+++ b/tests/test_lint.py
@@ -9,12 +9,12 @@
@@ -70,50 +108,29 @@ index 6ca93f9..d22d069 100644
# REUSE-IgnoreStart
-diff --git a/tests/test_main.py b/tests/test_main.py
-index 3068b33..633084d 100644
---- a/tests/test_main.py
-+++ b/tests/test_main.py
-@@ -24,7 +24,6 @@ from unittest.mock import create_autospec
- from urllib.error import URLError
-
- import pytest
--from conftest import RESOURCES_DIRECTORY
- from freezegun import freeze_time
-
- from reuse import download
-@@ -32,6 +31,8 @@ from reuse._main import main
- from reuse._util import GIT_EXE, HG_EXE, PIJUL_EXE, cleandoc_nl
- from reuse.report import LINT_VERSION
-
-+from .conftest import RESOURCES_DIRECTORY
-+
- # REUSE-IgnoreStart
-
-
diff --git a/tests/test_project.py b/tests/test_project.py
-index 0041466..c118caa 100644
+index 51381e6..3e3ba15 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
-@@ -14,7 +14,6 @@ from inspect import cleandoc
- from pathlib import Path
+@@ -17,7 +17,6 @@ from pathlib import Path
+ from unittest import mock
import pytest
--from conftest import RESOURCES_DIRECTORY, posix
+-from conftest import RESOURCES_DIRECTORY
from license_expression import LicenseSymbol
- from reuse import ReuseInfo, SourceType
-@@ -26,6 +25,8 @@ from reuse.global_licensing import (
- )
- from reuse.project import GlobalLicensingConflict, Project
+ from reuse import _LICENSING, ReuseInfo, SourceType
+@@ -29,6 +28,8 @@ from reuse.exceptions import (
+ from reuse.global_licensing import ReuseDep5, ReuseTOML
+ from reuse.project import Project
-+from .conftest import RESOURCES_DIRECTORY, posix
++from .conftest import RESOURCES_DIRECTORY
+
# REUSE-IgnoreStart
diff --git a/tests/test_report.py b/tests/test_report.py
-index 084d591..7052c3d 100644
+index 3afc9d9..4dbef89 100644
--- a/tests/test_report.py
+++ b/tests/test_report.py
@@ -13,12 +13,12 @@ import warnings
@@ -124,31 +141,13 @@ index 084d591..7052c3d 100644
-
from reuse import SourceType
from reuse.project import Project
- from reuse.report import FileReport, ProjectReport
+ from reuse.report import FileReport, ProjectReport, ProjectSubsetReport
+from .conftest import cpython, posix
+
# REUSE-IgnoreStart
-diff --git a/tests/test_util.py b/tests/test_util.py
-index ab00bd2..360b204 100644
---- a/tests/test_util.py
-+++ b/tests/test_util.py
-@@ -18,11 +18,12 @@ from pathlib import Path
-
- import pytest
- from boolean.boolean import ParseError
--from conftest import no_root, posix
-
- from reuse import _util
- from reuse._util import _LICENSING
-
-+from .conftest import no_root, posix
-+
- # REUSE-IgnoreStart
-
-
--
-2.45.2
+2.47.0
diff --git a/0002-Skip-problematic-tests.patch b/0002-Skip-problematic-tests.patch
deleted file mode 100644
index 4c64ceb..0000000
--- a/0002-Skip-problematic-tests.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 50f5ad4e1d2bf37263733cea00f4d95f3295c465 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= <jstanek@redhat.com>
-Date: Mon, 8 Jul 2024 14:33:48 +0200
-Subject: [PATCH 2/2] Skip problematic tests
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Jan Staněk <jstanek@redhat.com>
----
- tests/test_main.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tests/test_main.py b/tests/test_main.py
-index 633084d..5c440d5 100644
---- a/tests/test_main.py
-+++ b/tests/test_main.py
-@@ -356,6 +356,7 @@ def test_lint_no_multiprocessing(fake_repository, stringio, multiprocessing):
- assert ":-)" in stringio.getvalue()
-
-
-+@pytest.mark.skip("Freezes in mock")
- @freeze_time("2024-04-08T17:34:00Z")
- def test_spdx(fake_repository, stringio):
- """Compile to an SPDX document."""
---
-2.45.2
-
diff --git a/reuse.spec b/reuse.spec
index 5907c1e..5886d33 100644
--- a/reuse.spec
+++ b/reuse.spec
@@ -1,5 +1,5 @@
Name: reuse
-Version: 4.0.3
+Version: 5.0.2
Release: %autorelease
Summary: A tool for compliance with the REUSE recommendations
# The CC0-1.0 licence applies to json data files, not code.
@@ -9,7 +9,6 @@ Url: https://github.com/fsfe/reuse-tool
Source0: %pypi_source
Patch: 0001-Use-importlib-mode-for-pytest.patch
-Patch: 0002-Skip-problematic-tests.patch
# Build
BuildRequires: python3-devel
diff --git a/sources b/sources
index 46e308e..3bc0ddb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (reuse-4.0.3.tar.gz) = 9ae78ab5d0958ddfb1de876c7aca66bbbdfa7b6500d9edb0dce107f7e84274935db8c93864f225c34a0356cfc1f15597e53ed6f936b81bebdf408c2a997775db
+SHA512 (reuse-5.0.2.tar.gz) = f7df31098b28f06272c84edf161c62a0c8d6db87d18429d3f1387d7b931fe9c8cee167262349cc73f174a8daf52933d495034a445b32627534eb3063e74a563b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-19 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-19 12:50 [rpms/reuse] epel10: Update to version 5.0.2 (fedora#2326191)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox