public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-backrefs] rawhide: Update to 8.1 version (#2548987)
@ 2026-10-15 4:38 Parag Nemade
0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-10-15 4:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-backrefs
Branch : rawhide
Commit : c29825534492018c8f13448b56bb0e6b12c1783d
Author : Parag Nemade <panemade AT redhat DOT com>
Date : 2026-10-15T10:07:23+05:30
Stats : +6/-49 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-backrefs/c/c29825534492018c8f13448b56bb0e6b12c1783d?branch=rawhide
Log:
Update to 8.1 version (#2548987)
---
diff --git a/.gitignore b/.gitignore
index 9718746..ef7c455 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/backrefs-6.2.tar.gz
/backrefs-7.0.tar.gz
/backrefs-8.0.tar.gz
+/backrefs-8.1.tar.gz
diff --git a/fix-indicpositionalcategory-unicode17.patch b/fix-indicpositionalcategory-unicode17.patch
deleted file mode 100644
index 17c94b4..0000000
--- a/fix-indicpositionalcategory-unicode17.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 5b80ba17e537a1ac04dd5d1e6f9415ccc7ef46b9 Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Sun, 26 Apr 2026 11:59:00 +0200
-Subject: [PATCH] Fix indicpositionalcategory alias mismatch with Unicode 17+
-
-In Unicode 17.0, PropertyValueAliases.txt changed the field order for
-InPC NA/Not_Applicable from 'Not_Applicable; NA' to 'NA; Not_Applicable'.
-After the swap applied in unipropgen.py, the alias maps 'na' to
-'notapplicable' (canonical). The data table was still generated using
-notexplicit='na', creating a key 'na' whose inverted form '^na' holds
-the correct Indic chars. But lookups via get_unicode_property('indicpositionalcategory', '^na')
-follow the alias to '^notapplicable' which is the inverted empty set
-('\x00-\U0010ffff'), causing test failures.
-
-Fix by dynamically using the canonical name for the notexplicit key,
-so the generated table and alias lookups are consistent.
----
- tools/unipropgen.py | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/tools/unipropgen.py b/tools/unipropgen.py
-index 9921c4b..eceb0b2 100644
---- a/tools/unipropgen.py
-+++ b/tools/unipropgen.py
-@@ -1118,8 +1118,14 @@ def gen_properties(output, files, aliases, ascii_props=False, append=False):
- )
-
- print('Building: Indic Positional Category')
-+ # In Unicode 17+, PropertyValueAliases.txt changed the order for InPC NA/Not_Applicable,
-+ # causing the alias to map 'na' -> 'notapplicable' (canonical). Use the actual canonical
-+ # name so the generated tables are consistent with alias lookups.
-+ inpc_aliases = aliases.get('indicpositionalcategory', {})
-+ inpc_na_canonical = inpc_aliases.get('na', 'na')
- gen_enum(
-- 'IndicPositionalCategory.txt', 'indic_positional_category', files['inpc'], notexplicit='na',
-+ 'IndicPositionalCategory.txt', 'indic_positional_category', files['inpc'],
-+ notexplicit=inpc_na_canonical,
- ascii_props=ascii_props, append=append, prefix=prefix, aliases=aliases
- )
-
---
-2.53.0
-
diff --git a/python-backrefs.spec b/python-backrefs.spec
index 5fc5c59..f1e7b9c 100644
--- a/python-backrefs.spec
+++ b/python-backrefs.spec
@@ -2,7 +2,7 @@
%global pypi_name backrefs
Name: python-%{pypi_name}
-Version: 8.0
+Version: 8.1
Release: 1%{?dist}
Summary: A wrapper around re and regex that adds additional back references
@@ -10,10 +10,6 @@ License: MIT
URL: https://github.com/facelessuser/backrefs
Source0: %{pypi_source %{pypi_name} %{version}}
-# Fix compatibility with Unicode 17 (included in Python 3.15)
-# https://github.com/facelessuser/backrefs/issues/196
-Patch: fix-indicpositionalcategory-unicode17.patch
-
BuildArch: noarch
BuildRequires: python3-devel
@@ -66,6 +62,9 @@ py.test-3
%doc README.md
%changelog
+* Thu Oct 15 2026 Parag Nemade <pnemade AT redhat DOT com> - 8.1-1
+- Update to 8.1 version (#2548987)
+
* Wed Aug 26 2026 Parag Nemade <pnemade AT redhat DOT com> - 8.0-1
- Update to 8.0 version (#2520176)
diff --git a/sources b/sources
index 04dea49..6d89d7b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (backrefs-8.0.tar.gz) = 7ce8217d951ec573e044d83e2505db2f0a184c8d1ddf105a26b9bcc9a137afaf50b992fc5dc529cfbd197044696a7346df2781002b8184d543735a8646909bc2
+SHA512 (backrefs-8.1.tar.gz) = 9b587fc363c5431cb1d338c3322832da4015c784dbe8f426b3c778dde1708f0adc8355399807b49b29dc1fc9565a71bd8aa6ae590749d8b2ec87bb43535c85fa
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-15 4:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 4:38 [rpms/python-backrefs] rawhide: Update to 8.1 version (#2548987) Parag Nemade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox