public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-qutepart] rawhide: Retired: Fails to install: https://bugzilla.redhat.com/2454295
@ 2026-09-29 11:47 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-29 11:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-qutepart
Branch : rawhide
Commit : 843afdaec0e5c1e7b59d4fcf5967899a99d595ba
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-09-29T13:46:45+02:00
Stats  : +1/-604 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/python-qutepart/c/843afdaec0e5c1e7b59d4fcf5967899a99d595ba?branch=rawhide

Log:
Retired: Fails to install: https://bugzilla.redhat.com/2454295

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index a10673b..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/qutepart-2.2.2.tar.gz
-/qutepart-2.2.3.tar.gz
-/qutepart-fdc29c79eb6f3228897cfb713e047bf1d9a48198.tar.gz
-/qutepart-3.0.0.tar.gz
-/qutepart-3.0.1.tar.gz
-/qutepart-3.1.tar.gz
-/qutepart-3.2.0.tar.gz
-/qutepart-3.3.0.tar.gz
-/qutepart-3.3.1.tar.gz
-/qutepart-3.3.2.tar.gz
-/qutepart-3.3.3.tar.gz

diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5605a7e
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Retired: Fails to install: https://bugzilla.redhat.com/2454295

diff --git a/python-qutepart.spec b/python-qutepart.spec
deleted file mode 100644
index 5a69ee4..0000000
--- a/python-qutepart.spec
+++ /dev/null
@@ -1,326 +0,0 @@
-%global srcname     qutepart
-%global sum         Code editor widget
-%global desc_common \
-Qutepart is a code editor widget for PyQt. Features: \
-    - Syntax highlighting for 196 languages. \
-    - Smart indentation for many languages. \
-    - Line numbers. \
-    - Bookmarks. \
-    - Advanced edit operations. \
-    - Matching braces highlighting. \
-    - Autocompletion based on document content. \
-    - Marking too long lines with red line. \
-    - Rectangular selection and copy-paste. \
-    - Linter marks support.
-
-# issue#69, tests for vim abort with python 3.7, maybe too slow?
-%bcond_with     test_vim
-
-Name:           python-%{srcname}
-Version:        3.3.3
-Release:        18%{?dist}
-Summary:        %{sum}
-
-# LGPL 2.1 >> 2.0 (explicitly allows dynamic linking)
-# Automatically converted from old format: LGPLv2+ - review is highly recommended.
-License:        LicenseRef-Callaway-LGPLv2+
-URL:            https://github.com/andreikop/%{srcname}
-
-Source0:        %{url}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
-# https://github.com/andreikop/qutepart/issues/96
-# Handle PEP623, forced on python3.12
-Patch0:         qutepart-3.3.3-pep623.patch
-
-BuildRequires:  gcc
-BuildRequires:  pcre-devel
-
-BuildRequires:  python3-qt5
-BuildRequires:  python3-devel
-BuildRequires:  python3-sphinx
-
-BuildRequires:  xorg-x11-server-Xvfb
-
-%description
-%{desc_common}
-
-%package -n python3-%{srcname}
-Summary:        %{sum}
-Requires:       pcre
-Requires:       python3-qt5
-Provides:       python-%{srcname}
-Obsoletes:      python2-%{srcname} < 3.2.0
-
-%description -n python3-%{srcname}
-%{desc_common}
-
-
-%prep
-%setup -q -n %{srcname}-%{version}
-%patch -P0 -p1
-# disable PyQt5 mocking for sphinx
-sed -i -r 's,(MOCK_MODULES = \[).*\],\1],' doc/source/conf.py
-
-%generate_buildrequires
-%pyproject_buildrequires
-
-%build
-%pyproject_wheel
-pushd doc
-sphinx-build-3 source html
-# E: non-standard-executable-perm
-#find -name \*.so |xargs chmod 0755
-# W: hidden-file-or-dir
-rm -r html/.buildinfo html/.doctrees
-
-%install
-%pyproject_install
-%pyproject_save_files -l %{srcname}
-
-
-%check
-%pyproject_check_import
-
-# let's find all modules and don't crash after execution
-pushd tests
-rm -f test_all.py
-%if !%{with test_vim}
-# FIXME (core dumped)
-rm test_vim.py
-%endif
-# FIXME we saw crashes with python3 = 3.9, rhbz#1793009
-%if 0%{?python3_version_nodots} > 38
-true Skipping tests due to strange crashes! Python: %{python3_version_nodots} / %{?python3_pkgversion}
-%else
-# test_all.py: Look for all tests. Using test_* instead of
-# test_*.py finds modules (test_syntax and test_indenter).
-# Do some fake X
-xvfb-run -s '-screen :0 1024x768x16'\
- %{__python3} -m unittest -vvv test_*
-%endif
-
-
-%files -n python3-%{srcname} -f %{pyproject_files}
-%doc README.md ChangeLog todo.txt
-%doc doc/html/
-
-
-%changelog
-* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-18
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-17
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.3.3-16
-- Rebuilt for Python 3.14.0rc3 bytecode
-
-* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.3.3-15
-- Rebuilt for Python 3.14.0rc2 bytecode
-
-* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
-
-* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.3.3-13
-- Rebuilt for Python 3.14
-
-* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-12
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-
-* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 3.3.3-11
-- convert license to SPDX
-
-* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.3.3-9
-- Rebuilt for Python 3.13
-
-* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.3.3-8
-- Rebuilt for Python 3.13
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Tue Jul 11 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.3-4
-- Workaround for Python 3.12 PEP632 change
-
-* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 3.3.3-3
-- Rebuilt for Python 3.12
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Wed Aug 10 2022 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 3.3.3-1
-- Update to 3.3.3 (#2117236)
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3.2-3
-- Rebuilt for Python 3.11
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Sun Nov 21 2021 Raphael Groner <raphgro@fedoraproject.org> - 3.3.2-1
-- new version, rhbz#2023637
-- fix crash with python 3.10, rhbz#2019640 
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.3.1-5
-- Rebuilt for Python 3.10
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.3.1-2
-- Rebuilt for Python 3.9
-
-* Fri Apr 10 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 3.3.1-1
-- Update to 3.3.1 (#1823013)
-
-* Wed Mar 18 2020 Raphael Groner <projects.rg@smart.ms> - 3.3.0-3
-- use correct build conditional, rhbz#1793009
-
-* Wed Mar 18 2020 Raphael Groner <projects.rg@smart.ms> - 3.3.0-2
-- rebuilt
-
-* Mon Mar 16 2020 Raphael Groner <projects.rg@smart.ms> - 3.3.0-1
-- new version
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Nov 15 2019 Raphael Groner <projects.rg@smart.ms> - 3.2.0-1
-- new version
-- fix execution of tests, avoid random freezes
-
-* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1-9
-- Rebuilt for Python 3.8.0rc1 (#1748018)
-
-* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1-8
-- Rebuilt for Python 3.8
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Thu Jul 19 2018 Raphael Groner <projects.rg@smart.ms> - 3.1-5
-- add BuildRequires: gcc
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1-3
-- Rebuilt for Python 3.7
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sun Dec 03 2017 Raphael Groner <projects.rg@smart.ms> - 3.1-1
-- new version
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Tue Mar 28 2017 Raphael Groner <projects.rg@smart.ms> - 3.0.1-5
-- explicitly set screen depth for tests: qt dropped support for depth 8
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.0.1-3
-- Rebuild for Python 3.6
-
-* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
-- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
-
-* Wed Jun 15 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.1-1
-- new version
-
-* Mon May 02 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-2
-- rebuild for new python3-qt5
-
-* Thu Apr 21 2016 Raphael Groner <projects.rg@smart.ms> - 3.0.0-1
-- bump to v3.0.0, now python3 only, rhbz#1328450
-
-* Wed Mar 02 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.3-1.20160229gitfdc29c7
-- use upstream master as post-release
-
-* Sun Feb 28 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.3-1
-- new version
-- use main version for python3, get rid of py3 patches
-- obsolete python2 package in Fedora 24+
-
-* Sat Feb 27 2016 Raphael Groner <projects.rg@smart.ms> - 2.2.2-6
-- rebuild to validate dependencies (bug with librsvg-2.so.2)
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 2.2.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
-
-* Fri Nov 06 2015 Raphael Groner <projects.rg@smart.ms> - 2.2.2-3
-- add subpackages for python versioning
-- experimental python3 support
-
-* Mon Oct 19 2015 Raphael Groner <projects.rg@smart.ms> - 2.2.2-2
-- take over from Jairo Llopis
-- cleanup generally
-- use LGPLv2 with "or later"
-- add more documentation files
-- execute tests
-- fix permissions
-- use new python macros
-- use virtual provides of python2 module
-
-* Fri Aug 28 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.2-1
-- New upstream version.
-
-* Wed Aug 26 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-7
-- Fix some permissions.
-- Remove Spanish descriptions, for easier maintenance.
-
-* Mon May 4 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-6
-- Fix license macro in SPEC.
-- Fix a couple of redundancies in SPEC.
-
-* Thu Apr 30 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.2.0-5
-- New upstream version.
-- Clear SPEC redundancies.
-- Force usage of Python 2 macros in SPEC.
-
-* Fri Feb 6 2015 Jairo Llopis <yajo.sk8@gmail.com> 2.1.0-4
-- New upstream version.
-- Update descriptions and dependencies to match upstream SPEC.
-- Remove support for Fedora < 20.
-
-* Mon Jul 7 2014 Jairo Llopis <yajo.sk8@gmail.com> 1.3.0-3
-- New upstream version.
-- Fix typo.
-
-* Fri Oct 25 2013 Jairo Llopis <yajo.sk8@gmail.com> 1.1.0-2
-- Fix comments.
-- Fix translation.
-- Fix CFLAGS when building.
-- Fix license.
-
-* Sun Sep 8 2013 Jairo Llopis <yajo.sk8@gmail.com>  1.1.0-1
-- Initial release.

diff --git a/qutepart-3.3.3-pep623.patch b/qutepart-3.3.3-pep623.patch
deleted file mode 100644
index ca36e10..0000000
--- a/qutepart-3.3.3-pep623.patch
+++ /dev/null
@@ -1,266 +0,0 @@
---- qutepart-3.3.3/qutepart/syntax/cParser.c.pep623	2022-08-10 19:15:37.000000000 +0900
-+++ qutepart-3.3.3/qutepart/syntax/cParser.c	2023-07-07 17:24:19.578531671 +0900
-@@ -213,7 +213,7 @@ typedef struct {
-     /* Type-specific fields go here. */
-     PyObject* parentContext;
-     PyObject* format;
--    Py_UNICODE textType;
-+    Py_UCS4 textType;
-     PyObject* attribute;
-     ContextSwitcher* context;
-     bool lookAhead;
-@@ -254,8 +254,8 @@ typedef struct {
-     PyObject* wholeLineUnicodeTextLower;
-     PyObject* wholeLineUtf8Text;
-     PyObject* wholeLineUtf8TextLower;
--    Py_UNICODE* unicodeText;
--    Py_UNICODE* unicodeTextLower;
-+    Py_UCS4* unicodeText;
-+    Py_UCS4* unicodeTextLower;
-     const char* utf8Text;
-     const char* utf8TextLower;
-     size_t textLen;
-@@ -290,7 +290,7 @@ typedef struct {
-     AbstractRule** rulesC;
-     size_t rulesSize;
-     bool dynamic;
--    Py_UNICODE textType;
-+    Py_UCS4 textType;
-     PyObject* textTypePython;
- } Context;
- 
-@@ -396,12 +396,12 @@ _listToDynamicallyAllocatedArray(PyObjec
-  *                                DeliminatorSet
-  ********************************************************************************/
- static bool
--_isDeliminatorNoCache(Py_UNICODE character, PyObject* setAsUnicodeString)
-+_isDeliminatorNoCache(Py_UCS4 character, PyObject* setAsUnicodeString)
- {
--    Py_ssize_t deliminatorSetLen = PyUnicode_GET_SIZE(setAsUnicodeString);
-+    Py_ssize_t deliminatorSetLen = PyUnicode_GET_LENGTH(setAsUnicodeString);
-     Py_ssize_t i;
- 
--    Py_UNICODE* deliminatorSetUnicode = PyUnicode_AS_UNICODE(setAsUnicodeString);
-+    Py_UCS4* deliminatorSetUnicode = PyUnicode_AsUCS4Copy(setAsUnicodeString);
- 
-     for(i = 0; i < deliminatorSetLen; i++)
-         if (deliminatorSetUnicode[i] == character)
-@@ -411,7 +411,7 @@ _isDeliminatorNoCache(Py_UNICODE charact
- }
- 
- static bool
--_isDeliminator(Py_UNICODE character, DeliminatorSet* deliminatorSet)
-+_isDeliminator(Py_UCS4 character, DeliminatorSet* deliminatorSet)
- {
-     if (character < DELIMINATOR_SET_CACHE_SIZE)
-         return deliminatorSet->cache[character];
-@@ -489,7 +489,7 @@ AbstractRuleParams_init(AbstractRulePara
-     ASSIGN_PYOBJECT_FIELD(format);
- 
-     if (Py_None != textType)
--        self->textType = PyUnicode_AsUnicode(textType)[0];
-+        self->textType = PyUnicode_AsUCS4Copy(textType)[0];
-     else
-         self->textType = 0;
- 
-@@ -575,7 +575,7 @@ TextToMatchObject_internal_make(unsigned
- {
-     TextToMatchObject_internal textToMatchObject;
- 
--    textToMatchObject.wholeLineLen = PyUnicode_GET_SIZE(unicodeText);
-+    textToMatchObject.wholeLineLen = PyUnicode_GET_LENGTH(unicodeText);
-     textToMatchObject.currentColumnIndex = column;
-     textToMatchObject.wholeLineUnicodeText = unicodeText;
-     textToMatchObject.wholeLineUnicodeTextLower = PyObject_CallMethod(unicodeText, "lower", "");
-@@ -611,8 +611,8 @@ TextToMatchObject_internal_update(TextTo
-     unsigned int i;
-     unsigned int prevTextLen;
-     unsigned int step;
--    Py_UNICODE* wholeLineUnicodeBuffer = PyUnicode_AS_UNICODE(self->wholeLineUnicodeText);
--    Py_UNICODE* wholeLineUnicodeBufferLower = PyUnicode_AS_UNICODE(self->wholeLineUnicodeTextLower);
-+    Py_UCS4* wholeLineUnicodeBuffer = PyUnicode_AsUCS4Copy(self->wholeLineUnicodeText);
-+    Py_UCS4* wholeLineUnicodeBufferLower = PyUnicode_AsUCS4Copy(self->wholeLineUnicodeTextLower);
- 
-    // update text, textLen, column
-     self->unicodeText = wholeLineUnicodeBuffer + currentColumnIndex;
-@@ -632,7 +632,7 @@ TextToMatchObject_internal_update(TextTo
- 
-     if (currentColumnIndex > 0)
-     {
--        Py_UNICODE prevChar = wholeLineUnicodeBuffer[currentColumnIndex - 1];
-+        Py_UCS4 prevChar = wholeLineUnicodeBuffer[currentColumnIndex - 1];
-         bool previousCharIsSpace = Py_UNICODE_ISSPACE(prevChar);
- 
-         // update firstNonSpace
-@@ -1083,8 +1083,8 @@ DECLARE_RULE_METHODS_AND_TYPE(DetectChar
- typedef struct {
-     AbstractRule_HEAD
-     /* Type-specific fields go here. */
--    Py_UNICODE char_;
--    Py_UNICODE char1_;
-+    Py_UCS4 char_;
-+    Py_UCS4 char1_;
- } Detect2Chars;
- 
- 
-@@ -1112,7 +1112,7 @@ Detect2Chars_init(Detect2Chars *self, Py
- {
-     PyObject* abstractRuleParams = NULL;
-     PyObject* string = NULL;
--    Py_UNICODE* unicode;
-+    Py_UCS4* unicode;
- 
-     self->_tryMatch = Detect2Chars_tryMatch;
- 
-@@ -1124,7 +1124,7 @@ Detect2Chars_init(Detect2Chars *self, Py
- 
-     UNICODE_CHECK(string, -1);
- 
--    unicode = PyUnicode_AS_UNICODE(string);
-+    unicode = PyUnicode_AsUCS4Copy(string);
-     self->char_ = unicode[0];
-     self->char1_ = unicode[1];
- 
-@@ -1154,9 +1154,9 @@ static RuleTryMatchResult_internal
- AnyChar_tryMatch(AnyChar* self, TextToMatchObject_internal* textToMatchObject)
- {
-     Py_ssize_t i;
--    Py_ssize_t size = PyUnicode_GET_SIZE(self->string);
--    Py_UNICODE* unicode = PyUnicode_AS_UNICODE(self->string);
--    Py_UNICODE char_ = textToMatchObject->unicodeText[0];
-+    Py_ssize_t size = PyUnicode_GET_LENGTH(self->string);
-+    Py_UCS4* unicode = PyUnicode_AsUCS4Copy(self->string);
-+    Py_UCS4 char_ = textToMatchObject->unicodeText[0];
- 
-     for (i = 0; i < size; i++)
-     {
-@@ -1673,7 +1673,7 @@ RegExpr_tryMatch(RegExpr* self, TextToMa
-     if (unicodeText == NULL) {
-         return MakeEmptyTryMatchResult();
-     }
--    matchLen = PyUnicode_GET_SIZE(unicodeText);
-+    matchLen = PyUnicode_GET_LENGTH(unicodeText);
-     Py_DECREF(unicodeText);
- 
-     if (matchLen != 0) {
-@@ -1736,7 +1736,7 @@ DECLARE_RULE_METHODS_AND_TYPE(RegExpr);
- /********************************************************************************
-  *                                Int
-  ********************************************************************************/
--size_t AbstractNumberRule_countDigits(Py_UNICODE* text, size_t textLen)
-+size_t AbstractNumberRule_countDigits(Py_UCS4* text, size_t textLen)
- {
-     size_t i;
- 
-@@ -1852,7 +1852,7 @@ AbstractNumberRule_tryMatch(AbstractRule
-         return MakeEmptyTryMatchResult();
- 
-     matchEndIndex = textToMatchObject->currentColumnIndex + index;
--    if (matchEndIndex < PyUnicode_GET_SIZE(textToMatchObject->wholeLineUnicodeText))
-+    if (matchEndIndex < PyUnicode_GET_LENGTH(textToMatchObject->wholeLineUnicodeText))
-     {
-         size_t i;
-         bool haveMatch = false;
-@@ -2000,7 +2000,7 @@ HlCOct_dealloc_fields(HlCOct* self)
- }
- 
- static bool
--_isOctChar(Py_UNICODE symbol)
-+_isOctChar(Py_UCS4 symbol)
- {
-     return (symbol >= '0' && symbol <= '7');
- }
-@@ -2062,7 +2062,7 @@ HlCHex_dealloc_fields(HlCHex* self)
- }
- 
- static bool
--_isHexChar(Py_UNICODE symbol)
-+_isHexChar(Py_UCS4 symbol)
- {
-     return (symbol >= '0' && symbol <= '9') ||
-            (symbol >= 'a' && symbol <= 'f');
-@@ -2119,7 +2119,7 @@ DECLARE_RULE_METHODS_AND_TYPE(HlCHex);
-  ********************************************************************************/
- 
- static bool
--_charInString(Py_UNICODE character, const char* string)
-+_charInString(Py_UCS4 character, const char* string)
- {
-     char charToSearch = (char)character;
- 
-@@ -2130,7 +2130,7 @@ _charInString(Py_UNICODE character, cons
- }
- 
- static int
--_checkEscapedChar(Py_UNICODE* textLower, size_t textLen)
-+_checkEscapedChar(Py_UCS4* textLower, size_t textLen)
- {
-     size_t index = 0;
-     if (textLen > 1 && textLower[0] == '\\')
-@@ -2270,8 +2270,8 @@ DECLARE_RULE_METHODS_AND_TYPE(HlCChar);
- typedef struct {
-     AbstractRule_HEAD
-     /* Type-specific fields go here. */
--    Py_UNICODE char_;
--    Py_UNICODE char1_;
-+    Py_UCS4 char_;
-+    Py_UCS4 char1_;
- } RangeDetect;
- 
- 
-@@ -2320,8 +2320,8 @@ RangeDetect_init(RangeDetect *self, PyOb
-     UNICODE_CHECK(char1_, -1);
- 
-     ASSIGN_FIELD(AbstractRuleParams, abstractRuleParams);
--    self->char_ = PyUnicode_AS_UNICODE(char_)[0];
--    self->char1_ = PyUnicode_AS_UNICODE(char1_)[0];
-+    self->char_ = PyUnicode_AsUCS4Copy(char_)[0];
-+    self->char1_ = PyUnicode_AsUCS4Copy(char1_)[0];
- 
-     return 0;
- }
-@@ -2740,7 +2740,7 @@ Context_setValues(Context *self, PyObjec
-     ASSIGN_FIELD(ContextSwitcher, fallthroughContext);
-     ASSIGN_BOOL_FIELD(dynamic);
-     ASSIGN_PYOBJECT_FIELD(textTypePython);
--    self->textType = PyUnicode_AsUnicode(textTypePython)[0];
-+    self->textType = PyUnicode_AsUCS4Copy(textTypePython)[0];
- 
-     Py_RETURN_NONE;
- }
-@@ -2782,7 +2782,7 @@ Context_appendSegment(PyObject* segmentL
- }
- 
- static void
--Context_appendTextType(size_t fromIndex, size_t count, PyObject* textTypeMap, Py_UNICODE textType)
-+Context_appendTextType(size_t fromIndex, size_t count, PyObject* textTypeMap, Py_UCS4 textType)
- {
-     size_t i;
-     for (i = fromIndex; i < fromIndex + count; i++)
-@@ -2808,7 +2808,7 @@ Context_parseBlock(Context* self,
-                                                     unicodeText,
-                                                     ContextStack_currentData(*pContextStack));
- 
--    wholeLineLen = PyUnicode_GET_SIZE(textToMatchObject.wholeLineUnicodeText);
-+    wholeLineLen = PyUnicode_GET_LENGTH(textToMatchObject.wholeLineUnicodeText);
- 
-     *pLineContinue = false;
- 
-@@ -2849,7 +2849,7 @@ Context_parseBlock(Context* self,
-             if (NULL != result.rule)  // if something matched
-             {
-                 PyObject* format;
--                Py_UNICODE textType;
-+                Py_UCS4 textType;
-                 *pLineContinue = result.lineContinue;
- 
-                 if (parentParser->debugOutputEnabled)
-@@ -3088,7 +3088,7 @@ Parser_parseBlock_internal(Parser *self,
-         Py_INCREF(Py_None);
-     }
- 
--    textLen = PyUnicode_GET_SIZE(unicodeText);
-+    textLen = PyUnicode_GET_LENGTH(unicodeText);
-     textTypeMap = PyUnicode_New(textLen, 65535);
-     if (textLen > 0)
-         PyUnicode_Fill(textTypeMap, 0, textLen, ' ');

diff --git a/sources b/sources
deleted file mode 100644
index 32362e5..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (qutepart-3.3.3.tar.gz) = d1bed1b7d82041a68a3d4b561e470af6e6b44ef12a84b1adb7c5e7d5966ec10292bd0adc7d938e92a573b18c3c6b3ffdb26703cf02ea89ee721b881bbbc4b7ad

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

only message in thread, other threads:[~2026-09-29 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 11:47 [rpms/python-qutepart] rawhide: Retired: Fails to install: https://bugzilla.redhat.com/2454295 

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