14
0
Files
python-psycopg/fix-pool-import.patch
Steve Kowalik 62da2d1111 - Update to 3.1.17:
* Fix multiple connection attempts when a host name resolve to multiple
    IP addresses (🎫`699`).
  * Use `typing.Self` as a more correct return value annotation of context
    managers and other self-returning methods (see 🎫`708`).
- Add patch fix-pool-import.patch:
  * Correct where we are importing from due to new pool release.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=7
2024-01-15 05:04:45 +00:00

14 lines
514 B
Diff

Index: psycopg-3.1.17/tests/pool/test_sched_async.py
===================================================================
--- psycopg-3.1.17.orig/tests/pool/test_sched_async.py
+++ psycopg-3.1.17/tests/pool/test_sched_async.py
@@ -8,7 +8,7 @@ import pytest
from psycopg._compat import create_task
try:
- from psycopg_pool.sched import AsyncScheduler
+ from psycopg_pool.sched_async import AsyncScheduler
except ImportError:
# Tests should have been skipped if the package is not available
pass