Notification time stamped 2023-07-31 23:16:35 UTC
From cdd1ece08589d6dd018d2facae659f2e20ce29e8 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley code@musicinmybrain.net Date: Jul 31 2023 23:04:58 +0000 Subject: Patch out unused uvloop test dependency (python-uvloop currently FTI/FTBFS)
---
diff --git a/geotiler-0.14.7-tests.patch b/geotiler-0.14.7-tests.patch new file mode 100644 index 0000000..83271d1 --- /dev/null +++ b/geotiler-0.14.7-tests.patch @@ -0,0 +1,12 @@ +diff -Naur geotiler-0.14.7-original/setup.cfg geotiler-0.14.7/setup.cfg +--- geotiler-0.14.7-original/setup.cfg 2022-12-29 11:07:21.959903200 -0500 ++++ geotiler-0.14.7/setup.cfg 2023-07-30 13:32:37.167893223 -0400 +@@ -33,7 +33,7 @@ + setuptools + + [options.extras_require] +-tests = mypy; pytest-cov; pytest-timeout; pytest-asyncio; uvloop ++tests = mypy; pytest-cov; pytest-timeout; pytest-asyncio; numpy + + [tool:pytest] + addopts = --cov geotiler --cov-report=term-missing diff --git a/python-geotiler.spec b/python-geotiler.spec index 81cd9e8..3477e29 100644 --- a/python-geotiler.spec +++ b/python-geotiler.spec @@ -11,7 +11,7 @@ graphs.}
Name: python-%{pypi_name} Version: 0.14.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GeoTiler is a library to create map using tiles from a map provider
License: GPLv3+ @@ -32,6 +32,13 @@ Source2: geotiler-fetch.1 Source3: geotiler-lint.1 Source4: geotiler-route.1
+# Adjust dependencies for tests extra +# Drop uvloop, which seems to be unused. +# Add numpy, which is imported directly in the test suite. +# https://github.com/wrobell/geotiler/pull/37 +# Rebased on the PyPI sdist, which has different whitespace in setup.cfg. +Patch: geotiler-0.14.7-tests.patch + BuildRequires: python3-devel BuildRequires: make
@@ -71,7 +78,7 @@ Summary: %{summary} Documentation for %{name}.
%prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{version} -p1 cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
rm -fv poetry.lock @@ -124,6 +131,9 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \ %doc _latex/geotiler.pdf
%changelog +* Mon Jul 31 2023 Benjamin A. Beasley code@musicinmybrain.net - 0.14.7-4 +- Patch out unused uvloop test dependency + * Fri Jul 21 2023 Fedora Release Engineering releng@fedoraproject.org - 0.14.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
https://src.fedoraproject.org/rpms/python-geotiler/c/cdd1ece08589d6dd018d2fa...