diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/asyncpg/files | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/asyncpg/files')
| -rw-r--r-- | dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch | 15 | ||||
| -rw-r--r-- | dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch | 67 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch b/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch new file mode 100644 index 000000000000..19c197dd7bd1 --- /dev/null +++ b/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch @@ -0,0 +1,15 @@ +Do not overwrite user's optimization. + +Bug: https://bugs.gentoo.org/887651 + +--- a/setup.py ++++ b/setup.py +@@ -27,7 +27,7 @@ from setuptools.command import build_ext as setuptools_build_ext + + CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<4.0.0)' + +-CFLAGS = ['-O2'] ++CFLAGS = [] + LDFLAGS = [] + + if platform.uname().system != 'Windows': diff --git a/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch b/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch new file mode 100644 index 000000000000..1fafbc25f3c0 --- /dev/null +++ b/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch @@ -0,0 +1,67 @@ +From 5a1ee01f8bc8fc6709ef4f636f7a67029d90e26d Mon Sep 17 00:00:00 2001 +From: Elvis Pranskevichus <elvis@edgedb.com> +Date: Fri, 14 Mar 2025 17:58:46 -0700 +Subject: [PATCH] Disable connection URI tests broken by a recent Python fix + (#1244) + +A fix for python/cpython#105704 broke parsing of URIs containing +multiple hosts if one or all of the hosts are IPv6 address literals. +This blocks CI, so disable those tests for now until this is fixed +properly. +--- + tests/test_connect.py | 39 ++++++++++++++++++++------------------- + 1 file changed, 20 insertions(+), 19 deletions(-) + +diff --git a/tests/test_connect.py b/tests/test_connect.py +index 0037ee5..024c29e 100644 +--- a/tests/test_connect.py ++++ b/tests/test_connect.py +@@ -846,25 +846,26 @@ class TestConnectParams(tb.TestCase): + ), + }, + +- { +- 'name': 'dsn_ipv6_multi_host', +- 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db', +- 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], { +- 'database': 'db', +- 'user': 'user', +- 'target_session_attrs': 'any', +- }) +- }, +- +- { +- 'name': 'dsn_ipv6_multi_host_port', +- 'dsn': 'postgresql://user@[2001:db8::1234]:1111,[::1]:2222/db', +- 'result': ([('2001:db8::1234', 1111), ('::1', 2222)], { +- 'database': 'db', +- 'user': 'user', +- 'target_session_attrs': 'any', +- }) +- }, ++ # broken by https://github.com/python/cpython/pull/129418 ++ # { ++ # 'name': 'dsn_ipv6_multi_host', ++ # 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db', ++ # 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], { ++ # 'database': 'db', ++ # 'user': 'user', ++ # 'target_session_attrs': 'any', ++ # }) ++ # }, ++ ++ # { ++ # 'name': 'dsn_ipv6_multi_host_port', ++ # 'dsn': 'postgresql://user@[2001:db8::1234]:1111,[::1]:2222/db', ++ # 'result': ([('2001:db8::1234', 1111), ('::1', 2222)], { ++ # 'database': 'db', ++ # 'user': 'user', ++ # 'target_session_attrs': 'any', ++ # }) ++ # }, + + { + 'name': 'dsn_ipv6_multi_host_query_part', +-- +2.50.0 + |
