Disable some tests for riscv64

Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
Jason Montleon 2024-07-31 01:09:09 -04:00
parent a9e42edd0c
commit be0697f0aa
No known key found for this signature in database
GPG Key ID: B9439994459B6518

View File

@ -20,7 +20,7 @@
Name: python-%{src_name}
Version: 3.2.1
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
Summary: Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python
License: LGPL-3.0-only
@ -138,7 +138,12 @@ export PGTESTS_LOCALE=C.UTF-8
export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*:} sslmode=disable"
# Remove tests that need to use internet or specific settings
# Disable test_concurrency.py test_concurrency_async.py test_psycopg_dbapi20.py for riscv64
# https://github.com/psycopg/psycopg/issues/883
%pytest tests/ -k "not (\
test_concurrency.py or \
test_concurrency_async.py or \
test_psycopg_dbapi20.py or \
test_typing or \
test_module or \
test_conninfo_attempts_async or \
@ -186,6 +191,9 @@ export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*
%endif
%changelog
* Tue Jul 30 2024 Jason Montleon <osloup@redhat.com> - 3.2.1-3.0.riscv64
- Added specific tests to skip for riscv64
* Tue Jul 30 2024 Ondrej Sloup <osloup@redhat.com> - 3.2.1-3
- Added specific tests to skip (test_pipeline) as it fails on s390x (rhbz#2301198)