public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-google-cloud-dns] rawhide: Fix build with Python 3.15.0b1
Date: Sat, 06 Jun 2026 09:18:51 GMT	[thread overview]
Message-ID: <178073753143.1.10835872972131599647.rpms-python-google-cloud-dns-11a474abbb39@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-google-cloud-dns
Branch : rawhide
Commit : 11a474abbb39879a08badec67ebe7097111aeb42
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-06-06T09:18:15+00:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-google-cloud-dns/c/11a474abbb39879a08badec67ebe7097111aeb42?branch=rawhide

Log:
Fix build with Python 3.15.0b1

---
diff --git a/python-google-cloud-dns.spec b/python-google-cloud-dns.spec
index bb0c191..5001663 100644
--- a/python-google-cloud-dns.spec
+++ b/python-google-cloud-dns.spec
@@ -56,10 +56,10 @@ Summary: %{summary}
 %pyproject_check_import
 
 %if %{with tests}
-# NOTE(mhayden): Setting PYTHONUSERBASE as a hack for PEP 420 namespaces.
-# Thanks to churchyard for the fix.
-PYTHONUSERBASE=%{buildroot}%{_prefix} \
-    %pytest tests/unit
+# Remove legacy pkg_resources namespace declarations so Python uses PEP 420
+# implicit namespaces and can find google-cloud-core and google-api-core.
+rm google/__init__.py google/cloud/__init__.py
+%pytest tests/unit
 %endif
 
 %files -n python3-%{srcname} -f %{pyproject_files}

                 reply	other threads:[~2026-06-06  9:18 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=178073753143.1.10835872972131599647.rpms-python-google-cloud-dns-11a474abbb39@fedoraproject.org \
    --to=ksurma@redhat.com \
    --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