public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/pgcli] f43: Update to 4.7.0 (close RHBZ#2537149)
Date: Sun, 20 Sep 2026 07:41:35 GMT	[thread overview]
Message-ID: <178989009593.1.11869733979562916279.rpms-pgcli-0d94d6f96ba8@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-20  7:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178989009593.1.11869733979562916279.rpms-pgcli-0d94d6f96ba8@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox