Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1967647 Details for
Bug 2210723
Please branch and build python-psycopg in epel9
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to spec file python-psycopg3-3.1.9-1.fc39 to epel9 build
epel9-psycopg3.patch (text/plain), 1.37 KB, created by
Steve Traylen
on 2023-05-29 09:47:47 UTC
(
hide
)
Description:
patch to spec file python-psycopg3-3.1.9-1.fc39 to epel9 build
Filename:
MIME Type:
Creator:
Steve Traylen
Created:
2023-05-29 09:47:47 UTC
Size:
1.37 KB
patch
obsolete
>diff --git a/python-psycopg3.spec b/python-psycopg3.spec >index ff1c968..595bb69 100644 >--- a/python-psycopg3.spec >+++ b/python-psycopg3.spec >@@ -14,12 +14,14 @@ Summary: Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python > License: LGPLv3 > URL: https://www.psycopg.org/%{src_name}/ > Source0: https://github.com/%{package_name}/%{package_name}/archive/refs/tags/%{version}.tar.gz >+# File from postgresql-test-rpm-macros package part of fedora >+Source1: postgresql_pkg_tests.sh > > BuildRequires: python3-devel > > # Required for running tests > BuildRequires: libpq >-BuildRequires: postgresql-test-rpm-macros >+BuildRequires: postgresql-server > > BuildArch: noarch > >@@ -33,6 +35,12 @@ Summary: %{SUMMARY} > > %prep > %autosetup -p3 -n %{package_name}-%{version}/%{package_name} >+cp %{SOURCE1} postgresql_pkg_tests.sh >+ >+sed -i 's/wheel >= 0.37/wheel/' setup.py >+sed -i 's/wheel>=0.37/wheel/' pyproject.toml >+sed -i 's/pytest >= 6.2.5/pytest/' setup.py >+sed -i 's/"mypy >= 1.2",//' setup.py > > # disable remove deps for typechecking and linting > sed -r -i 's/("(black|flake8|pytest-cov)\b.*",)/# \1/' setup.py >@@ -63,7 +71,7 @@ popd > > %check > export PGTESTS_LOCALE=C.UTF-8 >-%postgresql_tests_run >+. "./postgresql_pkg_tests.sh" ; pgtests_start > export PSYCOPG_TEST_DSN="host=$PGHOST port=$PGPORT dbname=${PGTESTS_DATABASES##*:}" > > %pytest ../tests/ -k "not test_typing and not test_module"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2210723
: 1967647