Bug 2291587 - F41FailsToInstall and build: pychess: ModuleNotFoundError: No module named 'telnetlib'
Summary: F41FailsToInstall and build: pychess: ModuleNotFoundError: No module named 't...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pychess
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bruno Wolff III
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-06-12 11:19 UTC by Fedora Fails To Install
Modified: 2024-10-24 04:25 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-25 18:23:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pychess pychess issues 2233 0 None open telnetlib is removed in Python 3.13 2024-06-25 06:14:42 UTC

Description Fedora Fails To Install 2024-06-12 11:19:50 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (pychess) Fails To Install in Fedora 41:

can't install pychess:
  - nothing provides python(abi) = 3.12 needed by pychess-1.0.3-11.fc41.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-41-x86_64 --config-opts mirrored=False install pychess


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2024-06-19 20:02:15 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 2 Adam Williamson 2024-06-24 23:05:16 UTC
Python 3.13 rebuild failed , https://bugzilla.redhat.com/show_bug.cgi?id=2291868 . Will have a look tomorrow.

Comment 3 Miro Hrončok 2024-06-24 23:32:18 UTC
How is this relevant to bz2291868 ?

The build failed with:

======================================================================
ERROR: dialogs (unittest.loader._FailedTest.dialogs)
----------------------------------------------------------------------
ImportError: Failed to import test module: dialogs
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/dialogs.py", line 18, in <module>
    from pychess.perspectives.welcome import Welcome
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/perspectives/welcome/__init__.py", line 1, in <module>
    from pychess.widgets.TaskerManager import tasker
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/widgets/TaskerManager.py", line 18, in <module>
    from pychess.ic import ICLogon
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/ICLogon.py", line 16, in <module>
    from pychess.ic.FICSConnection import FICSMainConnection, FICSHelperConnection, LogOnException
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: ficslecturebot (unittest.loader._FailedTest.ficslecturebot)
----------------------------------------------------------------------
ImportError: Failed to import test module: ficslecturebot
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficslecturebot.py", line 11, in <module>
    from ficsmanagers import EmittingTestCase
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsmanagers.py", line 13, in <module>
    from pychess.ic.FICSConnection import Connection
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: ficsmanagers (unittest.loader._FailedTest.ficsmanagers)
----------------------------------------------------------------------
ImportError: Failed to import test module: ficsmanagers
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsmanagers.py", line 13, in <module>
    from pychess.ic.FICSConnection import Connection
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: ficsobserve (unittest.loader._FailedTest.ficsobserve)
----------------------------------------------------------------------
ImportError: Failed to import test module: ficsobserve
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsobserve.py", line 10, in <module>
    from ficsmanagers import EmittingTestCase
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsmanagers.py", line 13, in <module>
    from pychess.ic.FICSConnection import Connection
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: ficsplay (unittest.loader._FailedTest.ficsplay)
----------------------------------------------------------------------
ImportError: Failed to import test module: ficsplay
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsplay.py", line 13, in <module>
    from pychess.perspectives.welcome import Welcome
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/perspectives/welcome/__init__.py", line 1, in <module>
    from pychess.widgets.TaskerManager import tasker
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/widgets/TaskerManager.py", line 18, in <module>
    from pychess.ic import ICLogon
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/ICLogon.py", line 16, in <module>
    from pychess.ic.FICSConnection import FICSMainConnection, FICSHelperConnection, LogOnException
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: ficspuzzlebot (unittest.loader._FailedTest.ficspuzzlebot)
----------------------------------------------------------------------
ImportError: Failed to import test module: ficspuzzlebot
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficspuzzlebot.py", line 13, in <module>
    from ficsmanagers import EmittingTestCase
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/ficsmanagers.py", line 13, in <module>
    from pychess.ic.FICSConnection import Connection
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
======================================================================
ERROR: savegame (unittest.loader._FailedTest.savegame)
----------------------------------------------------------------------
ImportError: Failed to import test module: savegame
Traceback (most recent call last):
  File "/usr/lib64/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/testing/savegame.py", line 18, in <module>
    from pychess.perspectives.welcome import Welcome
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/perspectives/welcome/__init__.py", line 1, in <module>
    from pychess.widgets.TaskerManager import tasker
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/widgets/TaskerManager.py", line 18, in <module>
    from pychess.ic import ICLogon
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/ICLogon.py", line 16, in <module>
    from pychess.ic.FICSConnection import FICSMainConnection, FICSHelperConnection, LogOnException
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/FICSConnection.py", line 42, in <module>
    from .TimeSeal import CanceledException, ICSTelnet
  File "/builddir/build/BUILD/pychess-1.0.3-build/pychess-1.0.3/lib/pychess/ic/TimeSeal.py", line 3, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'
----------------------------------------------------------------------
Ran 88 tests in 589.802s
FAILED (errors=7)

Comment 4 Adam Williamson 2024-06-25 06:09:43 UTC
wrong link, I meant to post the link to the Koji task, must have messed up the paste buffer.

Comment 5 Adam Williamson 2024-06-25 06:14:42 UTC
Bug's been reported upstream at https://github.com/pychess/pychess/issues/2233 . From a quick look, it only uses three constants from telnetlib, which it could probably just vendor or something.

Comment 6 Adam Williamson 2024-06-25 18:23:46 UTC
Fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2024-d552f5807c (turned the bytestring that was constructed from telnetlib constants into a literal).

Comment 7 Red Hat Bugzilla 2024-10-24 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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