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-pmw] rawhide: BuildRequire python3-tkinter for import check during the build
Date: Wed, 03 Jun 2026 09:40:38 GMT [thread overview]
Message-ID: <178047963862.1.18379485588649788186.rpms-python-pmw-269069a167cb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pmw
Branch : rawhide
Commit : 269069a167cb3d6bca09c21f709bb51a32e7ebf4
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-06-03T11:37:03+02:00
Stats : +1/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pmw/c/269069a167cb3d6bca09c21f709bb51a32e7ebf4?branch=rawhide
Log:
BuildRequire python3-tkinter for import check during the build
Without, with Python 3.15, the import started to fail:
Check import: Pmw.Pmw_2_1_1.bin
Traceback (most recent call last):
File "/builddir/build/BUILD/python-pmw-2.1.1-build/BUILDROOT/usr/lib/python3.15/site-packages/Pmw/Pmw_2_1_1/lib/PmwLoader.py", line 84, in _initialise
basemodule = self._getmodule(path + '.Pmw' + _BASEMODULE)
File "/builddir/build/BUILD/python-pmw-2.1.1-build/BUILDROOT/usr/lib/python3.15/site-packages/Pmw/Pmw_2_1_1/lib/PmwLoader.py", line 68, in _getmodule
__import__(modpath)
~~~~~~~~~~^^^^^^^^^
File "/builddir/build/BUILD/python-pmw-2.1.1-build/BUILDROOT/usr/lib/python3.15/site-packages/Pmw/Pmw_2_1_1/lib/PmwBase.py", line 22, in <module>
import tkinter
ModuleNotFoundError: Install the python3-tkinter RPM package to use the 'tkinter' module
---
diff --git a/python-pmw.spec b/python-pmw.spec
index b29cfd3..bc30c13 100644
--- a/python-pmw.spec
+++ b/python-pmw.spec
@@ -10,6 +10,7 @@ URL: https://pmw.sourceforge.net/
Source: https://downloads.sourceforge.net/pmw/Pmw-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+BuildRequires: python3-tkinter
BuildRequires: dos2unix
BuildArch: noarch
reply other threads:[~2026-06-03 9:40 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=178047963862.1.18379485588649788186.rpms-python-pmw-269069a167cb@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