Bug 2377200
| Summary: | apx: Stop using deprecated %py3_build/%py3_install macros | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | apx | Assignee: | Raphael Groner <projects.rg> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | playdohcrow, projects.rg |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2378139 | ||
| Bug Blocks: | 2376118 | ||
|
Description
Miro Hrončok
2025-07-08 14:00:52 UTC
The game won't start for me:
$ apx
/usr/bin/apx:297: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead
gobject.timeout_add(int(1000 / (45 * self.game.speed)), self._tick)
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/apx/splash.py", line 282, in on_first_frame
func(self.container, lambda: self.on_intro_done())
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/apx/splash.py", line 228, in appear2
graphics.chain(
~~~~~~~~~~~~~~^
# fly in
^^^^^^^^
...<4 lines>...
callback, {},
^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/apx/lib/graphics.py", line 159, in chain
if isinstance(obj, collections.Callable):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Callable'
Thanks for your report and sorry for my late response. Unfortunately upstream is stalled since several years. Although, Patches welcome. This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45. |