public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pgcli] f43: Update to 4.7.0 (close RHBZ#2537149)
@ 2026-09-20 7:41 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-20 7:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pgcli
Branch : f43
Commit : 0d94d6f96ba8cd1901df6180df03a8c908841b70
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-20T08:14:02+01:00
Stats : +29/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pgcli/c/0d94d6f96ba8cd1901df6180df03a8c908841b70?branch=f43
Log:
Update to 4.7.0 (close RHBZ#2537149)
---
diff --git a/1643.patch b/1643.patch
new file mode 100644
index 0000000..b02c36c
--- /dev/null
+++ b/1643.patch
@@ -0,0 +1,22 @@
+From f869acfaa3b16431a482f1bb88876d9b40fe4d63 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Sun, 20 Sep 2026 07:20:39 +0100
+Subject: [PATCH] Mark test_execute_statements_does_not_split_inside_literals
+ as dbtest
+
+---
+ tests/test_main.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/test_main.py b/tests/test_main.py
+index f18319312..be29393cc 100644
+--- a/tests/test_main.py
++++ b/tests/test_main.py
+@@ -552,6 +552,7 @@ def test_execute_statements_sql_then_metacommand(executor):
+ assert "medio" in outputs[1]
+
+
++@dbtest
+ def test_execute_statements_does_not_split_inside_literals(executor):
+ """Semicolons inside string literals are not statement boundaries."""
+ cli = PGCli(pgexecute=executor)
diff --git a/pgcli.spec b/pgcli.spec
index 2e8e9e8..6d926fa 100644
--- a/pgcli.spec
+++ b/pgcli.spec
@@ -1,5 +1,5 @@
Name: pgcli
-Version: 4.6.0
+Version: 4.7.0
Release: %autorelease
Summary: CLI for Postgres Database. With auto-completion and syntax highlighting
@@ -7,6 +7,10 @@ License: BSD-3-Clause
URL: https://www.pgcli.com/
Source: %{pypi_source pgcli}
+# Mark test_execute_statements_does_not_split_inside_literals as dbtest
+# https://github.com/dbcli/pgcli/pull/1643
+Patch: https://github.com/dbcli/pgcli/pull/1643.patch
+
BuildArch: noarch
BuildRequires: help2man
@@ -28,7 +32,7 @@ CLI for Postgres Database. With auto-completion and syntax highlighting
%pyproject_buildrequires --extras keyring --extras sshtunnel
%prep
-%autosetup
+%autosetup -p1
%build
%pyproject_wheel
diff --git a/sources b/sources
index 3453648..7f3e314 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pgcli-4.6.0.tar.gz) = 3f74b93f9a003e4d7d149b696028d55b7538c4769f828ba9012cc7955d0ddffbc405219f5c7b15e2eb73918d3e348ac1ec9e31fb93c31e564a686667fa126e8c
+SHA512 (pgcli-4.7.0.tar.gz) = 1bb2977d15613f12bb7ef2d7e57955b3db09d02b561184042c305fc14e02d76754e7b58f95e01abda198daf232167c72e43b057944109d650a63e35bc322b488
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-20 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 7:41 [rpms/pgcli] f43: Update to 4.7.0 (close RHBZ#2537149) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox