Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78517 - [python-wxpython] FTBFS due to deprecated setuptools options

Attached to Project: Community Packages
Opened by Letu Ren (FantasqueX) - Sunday, 14 May 2023, 10:38 GMT
Last edited by Toolybird (Toolybird) - Monday, 09 October 2023, 18:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When building the package using `extra-x86_64-build`, the result is as follows.

/usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

********************************************************************************
Usage of dash-separated 'license-file' will not be supported in future
versions. Please use the underscore name 'license_file' instead.

By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.

See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************

!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

********************************************************************************
The license_file parameter is deprecated, use license_files instead.

By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.

See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************

!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
/usr/lib/python3.11/site-packages/setuptools/dist.py:954: DistDeprecationWarning: use_2to3 is ignored.
ep.load()(self, ep.name, value)
error in wxPython setup command: use_2to3 is invalid.
Will build using: "/usr/bin/python"
3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201]
Python's architecture is 64bit
cfg.VERSION: 4.2.0

Running command: install
Running command: install_wx
Magic is in use, wxWidgets will be installed with wxPython
Finished command: install_wx (0.0s)
Running command: install_py
"/usr/bin/python" setup.py install --skip-build --root=/build/python-wxpython/pkg/python-wxpython
Command '"/usr/bin/python" setup.py install --skip-build --root=/build/python-wxpython/pkg/python-wxpython ' failed with exit code 1.

There is a patch from upstream to fix this issue. I backport the patch and the build works properly. Patch is attached.


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 09 October 2023, 18:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-wxpython 1:4.2.1-1

Loading...