public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-unicodedata2] f45: Skip tests that require downloading Unicode data files
@ 2026-09-21  7:06 Parag Nemade
  0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-09-21  7:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-unicodedata2
Branch : f45
Commit : bbc035e94424830c9bf0fbc609f9a3a427963e9a
Author : Parag Nemade <panemade AT redhat DOT com>
Date   : 2026-09-21T11:43:17+05:30
Stats  : +12/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-unicodedata2/c/bbc035e94424830c9bf0fbc609f9a3a427963e9a?branch=f45

Log:
Skip tests that require downloading Unicode data files

---
diff --git a/python-unicodedata2.spec b/python-unicodedata2.spec
index af62d66..2e6bd87 100644
--- a/python-unicodedata2.spec
+++ b/python-unicodedata2.spec
@@ -3,7 +3,7 @@
 
 Name:           python-%{pypi_name}
 Version:        18.0.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Unicodedata backport updated to the latest Unicode version
 
 License:        Apache-2.0
@@ -55,10 +55,21 @@ is data from Unicode 13.0.0.
 
 %pytest -v
 
+# These tests read version-matched data files that upstream expects to be
+# fetched from unicode.org by tests/download_test_data.py; the sdist does not
+# ship them and the buildroot has no network access.
+%pytest -v \
+    --deselect tests/test_unicodedata2.py::NormalizationTest::test_normalization \
+    --deselect tests/test_unicodedata2.py::NormalizationTest::test_normalization_3_2_0 \
+    --deselect tests/test_unicodedata2.py::UnicodeFunctionsTest::test_all_names
+
 %files -n python3-%{pypi_name} -f %{pyproject_files}
 %doc README.md
 
 %changelog
+* Mon Sep 21 2026 Parag Nemade <pnemade AT redhat DOT com> - 18.0.0-2
+- Skip tests that require downloading Unicode data files
+
 * Mon Sep 21 2026 Parag Nemade <pnemade AT redhat DOT com> - 18.0.0-1
 - Update to 18.0.0 version (#2536999)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-21  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  7:06 [rpms/python-unicodedata2] f45: Skip tests that require downloading Unicode data files Parag Nemade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox