forked from pool/python-asyncpg
Accepting request 1010616 from devel:languages:python
- Disable failing test test_executemany_uvloop_ssl_issue_700, because the ssl_user role doesn't have permission to create tables by default with the current postgresql configuration. OBS-URL: https://build.opensuse.org/request/show/1010616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 07:33:54 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Disable failing test test_executemany_uvloop_ssl_issue_700, because
|
||||
the ssl_user role doesn't have permission to create tables by default with
|
||||
the current postgresql configuration.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 08:57:47 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ A fast PostgreSQL Database Client Library for Python/asyncio.
|
||||
PostgreSQL and Python/asyncio with clean implementation
|
||||
|
||||
%prep
|
||||
%setup -q -n asyncpg-%{version}
|
||||
%autosetup -p1 -n asyncpg-%{version}
|
||||
# no uvloop in python36 but in newer flavors
|
||||
sed -i asyncpg/_testbase/__init__.py \
|
||||
-e "/import re/ a import sys" \
|
||||
@@ -78,6 +78,9 @@ export USE_UVLOOP=1
|
||||
%endif
|
||||
# fails inside obs chroot
|
||||
donttest="test_timetz_encoding"
|
||||
# fails because ssl_user doesn't have permission to create tables
|
||||
# permission denied for schema public
|
||||
donttest+=" or test_executemany_uvloop_ssl_issue_700"
|
||||
|
||||
mv asyncpg .asyncpg
|
||||
%pytest_arch -rs -k "not ($donttest)"
|
||||
|
||||
Reference in New Issue
Block a user