Compare commits

...

1 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
d2535cda82 import CS python3.14-psycopg2-2.9.10-3.el9 2026-04-16 04:58:23 -04:00
8 changed files with 2 additions and 48 deletions

View File

@ -1 +0,0 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
/psycopg2-*.tar.gz
SOURCES/psycopg2-2.9.10.tar.gz

View File

@ -0,0 +1 @@
a67384d67f77e3aa174fde463c2a91ab0337fd9d SOURCES/psycopg2-2.9.10.tar.gz

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,39 +0,0 @@
execute:
how: tmt
environment:
pybasever: '3.14'
prepare+:
- how: shell
script: useradd testuser
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
test: |
# package is built but not shipped on c10s, postgresql16 is the srpm
dnf install -y "https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/postgresql16/$(rpm -q postgresql-server --qf '%{version}/%{release}/noarch/postgresql-test-rpm-macros-%{version}-%{release}.noarch.rpm')"
chmod a+Xw -R $TMT_SOURCE_DIR &&
runuser testuser --preserve-environment -c '
cd $(dirname $TMT_SOURCE_DIR/psycopg2-*/tests) &&
export PGTESTS_LOCALE=C.UTF-8 &&
. "/usr/share/postgresql-setup/postgresql_pkg_tests.sh" &&
pgtests_start &&
export PSYCOPG2_TESTDB=${PGTESTS_DATABASES##*:} &&
export PSYCOPG2_TESTDB_HOST=$PGHOST &&
export PSYCOPG2_TESTDB_PORT=$PGPORT &&
python${pybasever} -c "import tests; tests.unittest.main(defaultTest=\"tests.test_suite\")" --verbose
' &&
chmod a+Xw -R $TMT_SOURCE_DIR
require:
- python${pybasever}-psycopg2
- python${pybasever}
- postgresql16-server

View File

@ -1 +0,0 @@
SHA512 (psycopg2-2.9.10.tar.gz) = 84fd2b80bbe0a7e344d14877f10990437c638daacb45b8d0b292d1b7e876bd7eae0686fe2fb5b592ee5f8951ac2e470a53a1339d0b44556ff6e51229592dd4c6