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/python-git-changelog] rawhide: Patch test for Python 3.16 regression instead of skipping it
Date: Mon, 23 Nov 2026 11:54:14 GMT [thread overview]
Message-ID: <179543485469.1.9279829232110734314.rpms-python-git-changelog-0ac962d7840a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-git-changelog
Branch : rawhide
Commit : 0ac962d7840a903b7b3bf653f416ee1b24f83142
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-23T11:44:56+00:00
Stats : +32/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-git-changelog/c/0ac962d7840a903b7b3bf653f416ee1b24f83142?branch=rawhide
Log:
Patch test for Python 3.16 regression instead of skipping it
---
diff --git a/ba7609d33e01066e40b1e8f9c55e950e0bdb7c76.patch b/ba7609d33e01066e40b1e8f9c55e950e0bdb7c76.patch
new file mode 100644
index 0000000..4d28d21
--- /dev/null
+++ b/ba7609d33e01066e40b1e8f9c55e950e0bdb7c76.patch
@@ -0,0 +1,23 @@
+From ba7609d33e01066e40b1e8f9c55e950e0bdb7c76 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= <dev@pawamoy.fr>
+Date: Mon, 23 Nov 2026 12:20:57 +0100
+Subject: [PATCH] tests: Fix remote URL (/ instead of :)
+
+Issue-148: https://github.com/pawamoy/git-changelog/issues/148
+---
+ tests/test_end_to_end.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py
+index 9023f77..2cca1e3 100644
+--- a/tests/test_end_to_end.py
++++ b/tests/test_end_to_end.py
+@@ -497,7 +497,7 @@ def test_removing_credentials_from_remotes(repo: GitRepo) -> None:
+ "user:password",
+ ]
+ for creds in credentials:
+- repo.git("remote", "set-url", "origin", f"https://{creds}@github.com:example/example")
++ repo.git("remote", "set-url", "origin", f"https://{creds}@github.com/example/example")
+ changelog = Changelog(repo.path)
+ assert creds not in changelog.remote_url
+ assert urlunsplit(urlsplit(changelog.remote_url)) == changelog.remote_url
diff --git a/python-git-changelog.spec b/python-git-changelog.spec
index 7cf2174..ed36b08 100644
--- a/python-git-changelog.spec
+++ b/python-git-changelog.spec
@@ -8,6 +8,15 @@ License: ISC
URL: https://github.com/pawamoy/git-changelog
Source: %{url}/archive/%{version}/git-changelog-%{version}.tar.gz
+# tests: Fix remote URL (/ instead of :)
+# https://github.com/pawamoy/git-changelog/commit/ba7609d33e01066e40b1e8f9c55e950e0bdb7c76
+#
+# Fixes:
+#
+# bug: Python 3.16.0a2: `test_removing_credentials_from_remotes` fails
+# https://github.com/pawamoy/git-changelog/issues/148
+Patch: %{url}/commit/ba7609d33e01066e40b1e8f9c55e950e0bdb7c76.patch
+
BuildArch: noarch
BuildSystem: pyproject
@@ -64,11 +73,6 @@ git tag %{version}
%if %{with check}
# Requires griffe and mkdocstrings, both not packaged
ignore="${ignore-} --ignore=tests/test_api.py"
-%if v"0%{?python3_version}" >= v"3.16"
-# bug: Python 3.16.0a2: `test_removing_credentials_from_remotes` fails
-# https://github.com/pawamoy/git-changelog/issues/148
-k="${k-}${k+ and }not test_removing_credentials_from_remotes"
-%endif
%pytest -v -rs ${ignore-} -k "${k-}"
%endif
reply other threads:[~2026-11-23 11:54 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=179543485469.1.9279829232110734314.rpms-python-git-changelog-0ac962d7840a@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