The package rpms/python-asn1tools.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-asn1tools.git/commit/?id=71c6....
Change: -ExcludeArch: s390x
Thanks.
Full change: ============
commit ea8594346501ceb5533387735dfff01606d6f021 Author: Peter Lemenkov lemenkov@gmail.com Date: Mon Aug 31 15:13:50 2026 +0200
asn1tools ver. 0.168.0
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
diff --git a/python-asn1tools.spec b/python-asn1tools.spec index 1801538..344ee4e 100644 --- a/python-asn1tools.spec +++ b/python-asn1tools.spec @@ -1,7 +1,7 @@ %global pypi_name asn1tools
Name: python-%{pypi_name} -Version: 0.167.0 +Version: 0.168.0 Release: %autorelease BuildArch: noarch Summary: ASN.1 parsing, encoding and decoding diff --git a/sources b/sources index b40cd4a..75fa095 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (asn1tools-0.167.0.tar.gz) = 79e2d75c9691dbeab67026679a0e25677a999b73bc7ac193a999f36b041d859df74c5d80a4e7b0210f1ebd0e63b70349003d2df5cd779948d1987be2de57757c +SHA512 (asn1tools-0.168.0.tar.gz) = 37ceb896d377aca2bea3f9ec587d9383af6e745f05b6596327ef00db2a03b867a200867d55c576c5d89d0ca15c175030ea7ae8288ac7361a458ef1b708524e90
commit 22c8c0aecdbbdec075f7da07906de79cea767b22 Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Jul 16 18:11:01 2026 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
commit 864e3a0d7f0cf3f873c8acbca22d636794afe7c3 Author: Python Maint python-maint@redhat.com Date: Sat Jun 6 13:43:56 2026 +0200
Rebuilt for Python 3.15
commit 2c0d8d9fa0b5ccadc8246ed835eba9b1c46d64e5 Author: Peter Lemenkov lemenkov@gmail.com Date: Wed Apr 15 15:31:28 2026 +0200
Fix for Python 3.15
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
diff --git a/python-asn1tools-0001-Fix-test-compatibility-with-Python-3.15.patch b/python-asn1tools-0001-Fix-test-compatibility-with-Python-3.15.patch new file mode 100644 index 0000000..7fa79af --- /dev/null +++ b/python-asn1tools-0001-Fix-test-compatibility-with-Python-3.15.patch @@ -0,0 +1,29 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov lemenkov@gmail.com +Date: Wed, 15 Apr 2026 15:29:23 +0200 +Subject: [PATCH] Fix test compatibility with Python 3.15 + +Python 3.15 changed the error message raised by binascii.unhexlify() for +odd-length hex strings from "Odd-length string" to "Odd number of +hexadecimal digits". Update the test expectation accordingly. + +Resolves: rhbz#2458660 + +Signed-off-by: Peter Lemenkov lemenkov@gmail.com +Assisted-by: Claude (Anthropic) https://claude.ai + +diff --git a/tests/test_command_line.py b/tests/test_command_line.py +index d594dee..b9bd177 100644 +--- a/tests/test_command_line.py ++++ b/tests/test_command_line.py +@@ -440,8 +440,8 @@ ff0e0201011609497320312b313d333f + with self.assertRaises(SystemExit) as cm: + asn1tools._main() + +- self.assertEqual(str(cm.exception), +- "error: '012': Odd-length string") ++ self.assertRegex(str(cm.exception), ++ r"error: '012': Odd.*(length string|number of hexadecimal digits)") + + def test_command_line_convert_py(self): + # Preparations. diff --git a/python-asn1tools.spec b/python-asn1tools.spec index a3c2a93..1801538 100644 --- a/python-asn1tools.spec +++ b/python-asn1tools.spec @@ -8,7 +8,8 @@ Summary: ASN.1 parsing, encoding and decoding License: MIT URL: https://github.com/eerimoq/%%7Bpypi_name%7D VCS: git:%{url}.git -Source0: %{pypi_source %{pypi_name}} +Source: %{pypi_source %{pypi_name}} +Patch: python-asn1tools-0001-Fix-test-compatibility-with-Python-3.15.patch BuildRequires: python3-diskcache BuildRequires: python3-prompt-toolkit BuildRequires: python3-pytest
commit 71c6396b673f233bf85a5d36b29c14fd9dc1eb17 Author: Peter Lemenkov lemenkov@gmail.com Date: Wed Feb 25 08:54:51 2026 +0100
Unblocked on s390x
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
diff --git a/python-asn1tools.spec b/python-asn1tools.spec index 4ac4f18..a3c2a93 100644 --- a/python-asn1tools.spec +++ b/python-asn1tools.spec @@ -14,8 +14,6 @@ BuildRequires: python3-prompt-toolkit BuildRequires: python3-pytest BuildSystem: pyproject BuildOption(install): -l %{pypi_name} -# No python-bitstruct module available -ExcludeArch: s390x
%description %{summary}.
arch-excludes@lists.fedoraproject.org