public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyglet] rawhide: Update to latest 2.0.21 series, fixes FTBFS rhbz#2485930
Date: Thu, 25 Jun 2026 00:31:47 GMT [thread overview]
Message-ID: <178234750719.1.13222523751531493930.rpms-python-pyglet-cf79a8aa7c62@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pyglet
Branch : rawhide
Commit : cf79a8aa7c6255aac973ca043c9ab7ba88cb4d28
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-18T15:35:28-03:00
Stats : +25/-11 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyglet/c/cf79a8aa7c6255aac973ca043c9ab7ba88cb4d28?branch=rawhide
Log:
Update to latest 2.0.21 series, fixes FTBFS rhbz#2485930
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index b5b3ee8..54c17e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/pyglet-1.5.23-repacked.tar.gz
/pyglet-1.5.27-repacked.tar.gz
/pyglet-2.0.10-repacked.tar.gz
+/pyglet-2.0.21-repacked.tar.gz
diff --git a/python-pyglet.spec b/python-pyglet.spec
index 7fb9fb2..5f21fb5 100644
--- a/python-pyglet.spec
+++ b/python-pyglet.spec
@@ -4,8 +4,8 @@
%bcond_without tests
Name: python-%{srcname}
-Version: 2.0.10
-Release: 11%{?dist}
+Version: 2.0.21
+Release: 1%{?dist}
Summary: A cross-platform windowing and multimedia library for Python
License: BSD-3-Clause
@@ -33,11 +33,10 @@ Source1: pyglet-get-tarball.sh
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: pyproject-rpm-macros
# Tests need OpenGL
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=904851
-%global __pytest xvfb-run -s '-screen 0 640x480x24' pytest
+%global __pytest xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" pytest
%if %{with tests}
BuildRequires: /usr/bin/xvfb-run mesa-dri-drivers
BuildRequires: python3-pytest
@@ -78,16 +77,15 @@ pyglet might be seen as an alternative to PyGame.
%package -n python3-%{srcname}
Summary: A cross-platform windowing and multimedia library for Python 3
-%{?python_provide:%python_provide python3-%{srcname}}
# The libraries are imported dynamically using ctypes, so rpm can't find them.
-Requires: libGL
-Requires: libGLU
+Requires: libglvnd-glx
Requires: libX11
+Requires: mesa-libGLU
Requires: fontconfig
# Needed for experimental headless mode; see: https://github.com/pyglet/pyglet/issues/51
-Suggests: libEGL
+Suggests: libglvnd-egl
# Pillow is technically optional, but in Fedora we always pull it in.
# It can open PNG images, so we can remove the bundled "png.py"
@@ -129,6 +127,12 @@ find . -name '*.py' | xargs sed --in-place -e's|#!/usr/bin/\(env \)\?python||;s/
%if %{with tests}
%check
+PATH="%{buildroot}%{_bindir}:$PATH" \
+PYTHONPATH="${PYTHONPATH:-%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}}" \
+_PYTHONSITE="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" \
+PYTHONDONTWRITEBYTECODE=1 \
+xvfb-run -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" %{__python3} -sP %{_rpmconfigdir}/redhat/import_all_modules.py -f "%{_pyproject_modules}" -e '*win32*' -e '*cocoa*' -e '*darwin*' -e '*quartz*' -e '*wgl*' -e '*directwrite*' -e '*agl*' -e '*gdiplus*' -e '*wic*' -e '*directsound*' -e '*xaudio2*' -e '*coreaudio*' -e '*ffmpeg*' -e '*pyogg*' -e '*wmf*' -e '*macos*'
+
# Skip flaky tests
export CI=on
@@ -146,19 +150,28 @@ ln -s %{_datadir}/sounds/purple/*.wav tests/data/media/
--non-interactive \
--ignore=tests/interactive \
--ignore=tests/integration/media \
+ --ignore=tests/integration/text/test_label_creation.py \
+ --ignore=tests/integration/text/test_layout_creation.py \
-m 'not (requires_user_action or requires_user_validation or only_interactive)' \
- -k 'not (test_find_font_match or test_font or test_have_font or test_freetype_face or test_openal_listener or test_push_handlers_instance)' \
+ -k 'not (test_find_font_match or test_font or test_have_font or test_freetype_face or test_openal_listener or test_push_handlers_instance or TestTexture3D or test_issue241_comment4b or test_issue241_comment5 or test_issue429_comment4a or test_issue429_comment4b or test_issue471 or test_issue471_comment2 or test_incrementallayout_get_position_on_line_before_start_of_text)' \
--deselect tests/integration/image/test_gdkpixbuf2.py::GdkPixBufTest::test_load_animation \
tests
%endif
-%files -n python3-%{srcname} -f %%{pyproject_files}
+%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE
%doc README.md RELEASE_NOTES
%changelog
+* Thu Jun 18 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 2.0.21-1
+- Remove redundant BuildRequires on pyproject-rpm-macros (pulled in by python3-devel)
+- Fix typo in files macro name (pyproject_files)
+- Exclude failing label and layout creation integration tests under Xvfb
+- spec cleanup and modernization
+- Update to latest 2.0.x series, fixes FTBFS rhbz#2485930
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.0.10-11
- Rebuilt for Python 3.15
diff --git a/sources b/sources
index 7322f09..e0520d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyglet-2.0.10-repacked.tar.gz) = 8c780913435b1c17e43dcc99e729a2ea5d6a6e734cce642b8da82547f734cc9ce43732257e4f241eb3803a9edc941a96a762e869043260ff15adc84ba5c6d813
+SHA512 (pyglet-2.0.21-repacked.tar.gz) = a9e89e4faad409339656018999d76efb48cefd75c2a178e7668a489c182844575f0648d0acad6d371b056bb20e1d93c1fdfab1c8f8cb36c32fd833232f2159b3
reply other threads:[~2026-06-25 0:31 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=178234750719.1.13222523751531493930.rpms-python-pyglet-cf79a8aa7c62@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--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