From 04988fcd53c56538966d10e2839ce8a6b58ac060 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Fri, 6 Oct 2023 14:18:16 -0700 Subject: [PATCH 1/3] build/pkgs/cython: Update to 3.0.3 --- build/pkgs/cython/checksums.ini | 6 +++--- build/pkgs/cython/package-version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/pkgs/cython/checksums.ini b/build/pkgs/cython/checksums.ini index 5d0bc66c242..1c8178ae701 100644 --- a/build/pkgs/cython/checksums.ini +++ b/build/pkgs/cython/checksums.ini @@ -1,5 +1,5 @@ tarball=Cython-VERSION.tar.gz -sha1=08eb99f7c95b7ca667b1547575e7369d8064b4b3 -md5=00def3f2b96c393098e01eb2f1f169ad -cksum=2321746451 +sha1=c29c8b39c36f04a74eb8891bb0653f89144293df +md5=ea2d206653f67e4783f82c07b531fb21 +cksum=2237745899 upstream_url=https://pypi.io/packages/source/C/Cython/Cython-VERSION.tar.gz diff --git a/build/pkgs/cython/package-version.txt b/build/pkgs/cython/package-version.txt index b5021469305..75a22a26ac4 100644 --- a/build/pkgs/cython/package-version.txt +++ b/build/pkgs/cython/package-version.txt @@ -1 +1 @@ -3.0.2 +3.0.3 From d55592936f50abac7e48ace2e9d23d0a7d7ef5fc Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 17 Oct 2023 17:17:37 -0700 Subject: [PATCH 2/3] build/pkgs/cython: Update to 3.0.4 --- build/pkgs/cython/checksums.ini | 6 +++--- build/pkgs/cython/package-version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/pkgs/cython/checksums.ini b/build/pkgs/cython/checksums.ini index 1c8178ae701..a728e447c9b 100644 --- a/build/pkgs/cython/checksums.ini +++ b/build/pkgs/cython/checksums.ini @@ -1,5 +1,5 @@ tarball=Cython-VERSION.tar.gz -sha1=c29c8b39c36f04a74eb8891bb0653f89144293df -md5=ea2d206653f67e4783f82c07b531fb21 -cksum=2237745899 +sha1=9924cb41152a854124c264e2046b3d48ec8207a5 +md5=9bafc611be35748b17a62f47bc479b35 +cksum=1074764487 upstream_url=https://pypi.io/packages/source/C/Cython/Cython-VERSION.tar.gz diff --git a/build/pkgs/cython/package-version.txt b/build/pkgs/cython/package-version.txt index 75a22a26ac4..b0f2dcb32fc 100644 --- a/build/pkgs/cython/package-version.txt +++ b/build/pkgs/cython/package-version.txt @@ -1 +1 @@ -3.0.3 +3.0.4 From 8fcddbf80191b1eb653842dbbdbd5fb941690c8b Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 17 Oct 2023 17:39:00 -0700 Subject: [PATCH 3/3] build/pkgs/cython/patches/5690.patch: Remove --- build/pkgs/cython/patches/5690.patch | 48 ---------------------------- 1 file changed, 48 deletions(-) delete mode 100644 build/pkgs/cython/patches/5690.patch diff --git a/build/pkgs/cython/patches/5690.patch b/build/pkgs/cython/patches/5690.patch deleted file mode 100644 index cc927879e1f..00000000000 --- a/build/pkgs/cython/patches/5690.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/Cython/Debugger/DebugWriter.py b/Cython/Debugger/DebugWriter.py -index 8b1fb75b027..2c3c310fc64 100644 ---- a/Cython/Debugger/DebugWriter.py -+++ b/Cython/Debugger/DebugWriter.py -@@ -18,6 +18,21 @@ - etree = None - - from ..Compiler import Errors -+from ..Compiler.StringEncoding import EncodedString -+ -+ -+def is_valid_tag(name): -+ """ -+ Names like '.0' are used internally for arguments -+ to functions creating generator expressions, -+ however they are not identifiers. -+ -+ See https://github.com/cython/cython/issues/5552 -+ """ -+ if isinstance(name, EncodedString): -+ if name.startswith(".") and name[1:].isdecimal(): -+ return False -+ return True - - - class CythonDebugWriter(object): -@@ -39,14 +54,17 @@ def __init__(self, output_dir): - self.start('cython_debug', attrs=dict(version='1.0')) - - def start(self, name, attrs=None): -- self.tb.start(name, attrs or {}) -+ if is_valid_tag(name): -+ self.tb.start(name, attrs or {}) - - def end(self, name): -- self.tb.end(name) -+ if is_valid_tag(name): -+ self.tb.end(name) - - def add_entry(self, name, **attrs): -- self.tb.start(name, attrs) -- self.tb.end(name) -+ if is_valid_tag(name): -+ self.tb.start(name, attrs) -+ self.tb.end(name) - - def serialize(self): - self.tb.end('Module')