Bug 2238120 - PlayOnLinux with Python 3.12 requires pyasyncore
Summary: PlayOnLinux with Python 3.12 requires pyasyncore
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: playonlinux
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2243646 2255843 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-09 05:56 UTC by krinkodot22
Modified: 2024-06-04 17:32 UTC (History)
6 users (show)

Fixed In Version: playonlinux-4.4-11.el8 playonlinux-4.4-11.fc39 playonlinux-4.4-11.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-04 01:48:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources playonlinux pull-request 3 0 None None None 2023-12-17 20:06:57 UTC

Description krinkodot22 2023-09-09 05:56:34 UTC
On Fedora 39, for which Python 3.12 is the default Python version, launching PlayOnLinux fails with an error of `ModuleNotFoundError: No module named 'asyncore'`.  No Fedora package yet provides `asyncore`, but a workaround is to install it with `pip install pyasyncore`.

pyasyncore should be made available as a package, and once it is, it should be a dependency of playonlinux.

Reproducible: Always

Steps to Reproduce:
1. Have Python 3.12 as your system-wide default Python version
2. Launch PlayOnLinux
Actual Results:  
PlayOnLinux fails to start with an error on importing `asyncore.`

Expected Results:  
PlayOnLinux should start properly.

See https://bugzilla.redhat.com/show_bug.cgi?id=2223081 for the issue tracking adding a pyasyncore package.

Comment 1 krinkodot22 2023-10-05 02:57:00 UTC
python3-pyasyncore-1.0.2-1.fc39.noarch is now available in updates-testing, and it indeed works as an alternative to installing it from pip.

Comment 2 Christian Kujau 2023-11-29 21:08:14 UTC
Works with python3-pyasyncore installed, but playonlinux is still missing this dependency.

Comment 3 Christian Stadelmann 2023-12-17 19:49:06 UTC
*** Bug 2243646 has been marked as a duplicate of this bug. ***

Comment 4 Robert Scheck 2024-05-26 19:01:41 UTC
*** Bug 2255843 has been marked as a duplicate of this bug. ***

Comment 5 Robert Scheck 2024-05-26 20:40:25 UTC
Actually, pyasyncore isn't required. The code seems to contain an unused import for Python asyncore.dispatcher.

Comment 6 Fedora Update System 2024-05-26 20:47:44 UTC
FEDORA-EPEL-2024-1d6a0e215a (playonlinux-4.4-11.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1d6a0e215a

Comment 7 Fedora Update System 2024-05-26 20:47:45 UTC
FEDORA-2024-c37f5f3c68 (playonlinux-4.4-11.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c37f5f3c68

Comment 8 Fedora Update System 2024-05-26 20:47:45 UTC
FEDORA-2024-122b5aea62 (playonlinux-4.4-11.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-122b5aea62

Comment 9 Fedora Update System 2024-05-27 01:09:06 UTC
FEDORA-EPEL-2024-1d6a0e215a has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1d6a0e215a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-05-27 01:56:51 UTC
FEDORA-2024-122b5aea62 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-122b5aea62`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-122b5aea62

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-05-27 02:10:05 UTC
FEDORA-2024-c37f5f3c68 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c37f5f3c68`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c37f5f3c68

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-06-04 01:48:57 UTC
FEDORA-EPEL-2024-1d6a0e215a (playonlinux-4.4-11.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-06-04 02:21:06 UTC
FEDORA-2024-122b5aea62 (playonlinux-4.4-11.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-06-04 03:21:38 UTC
FEDORA-2024-c37f5f3c68 (playonlinux-4.4-11.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Yogesh Sharma 2024-06-04 17:32:46 UTC
Issue resolved.


Note You need to log in before you can comment on or make changes to this bug.