Bug 8535 - Can't build nose-test with newer Python 3 setup tools
Summary: Can't build nose-test with newer Python 3 setup tools
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks: 8189
  Show dependency treegraph
 
Reported: 2025-02-25 16:18 CET by Alexander Zeijlon
Modified: 2025-03-04 13:14 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Alexander Zeijlon cendio 2025-02-25 16:18:23 CET
When upgrading some dependencies for TigerVNC in bug 8531, I noticed that we are unable to upgrade python3-setuptools past 58.0.0 since we then can't build the latest version of Nose.

The Nose source code is actually in Python 2 syntax, and gets translated to Python 3 by Setuptools during build.

It is done by the file setuptools/lib2to3_ex.py, which has been removed from Setuptools in version 58.0.0.

Furthermore, lib2to3_ex.py depends on Python 3's built in module lib2to3 which is deprecated. It has been removed in Python 3.13.

We should therefore migrate to something other than nose-1.3.7 in cenbuild.
Comment 1 Alexander Zeijlon cendio 2025-02-25 16:18:33 CET
This warning is shown in Python 3.12:
> <stdin>:1: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+

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