public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asn1tools] rawhide: asn1tools ver. 0.169.0
@ 2026-09-01 12:31 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-09-01 12:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-asn1tools
            Branch : rawhide
            Commit : 4376275913c5a1e0a5582de31d2e9654caf9232f
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-09-01T14:31:12+02:00
            Stats  : +2/-32 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-asn1tools/c/4376275913c5a1e0a5582de31d2e9654caf9232f?branch=rawhide

            Log:
            asn1tools ver. 0.169.0

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
deleted file mode 100644
index 7fa79af..0000000
--- a/python-asn1tools-0001-Fix-test-compatibility-with-Python-3.15.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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 344ee4e..1f6d9f4 100644
--- a/python-asn1tools.spec
+++ b/python-asn1tools.spec
@@ -1,7 +1,7 @@
 %global pypi_name asn1tools
 
 Name:          python-%{pypi_name}
-Version:       0.168.0
+Version:       0.169.0
 Release:       %autorelease
 BuildArch:     noarch
 Summary:       ASN.1 parsing, encoding and decoding
@@ -9,7 +9,6 @@ License:       MIT
 URL:           https://github.com/eerimoq/%{pypi_name}
 VCS:           git:%{url}.git
 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

diff --git a/sources b/sources
index 75fa095..472a8a3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asn1tools-0.168.0.tar.gz) = 37ceb896d377aca2bea3f9ec587d9383af6e745f05b6596327ef00db2a03b867a200867d55c576c5d89d0ca15c175030ea7ae8288ac7361a458ef1b708524e90
+SHA512 (asn1tools-0.169.0.tar.gz) = ac65598d95fdbdbe5124fdd9f4441eac41e6564390ae7ad98a441e417b8b97fd0fcf0330b9449d8e9b117def7b037f50005d5d5be65b8307771d253e7eeb19f6

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

only message in thread, other threads:[~2026-09-01 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 12:31 [rpms/python-asn1tools] rawhide: asn1tools ver. 0.169.0 Peter Lemenkov

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