SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I cannot rebuild python3-scipy against Python 3.11:
Code:
* Getting build dependencies for wheel...
ERROR Missing dependencies:
numpy==1.23.2; python_version == "3.11" and platform_python_implementation != "PyPy"
This is strange because the python3-numpy version installed is 1.26.3. I have rebuilt python3-mesonpy, python3-numpy, python3-pythran. Before the upgrade of python 3.9 to 3.11 the build of python3-scipy worked fine with the same configuration. The only thing is changed is Python 3 and all python packages installed have been rebuilt and updated against Python 3.11
python-colour is failing on -current after the python-3.11 upgrade. I maintain this package since it is a dependency of Polychromatic. I am working on it, but if anyone wants to tag in or has any ideas on how to fix please let me know.
Code:
Building package for python-colour...
colour-0.1.5/.package
Missing version information: running './autogen.sh'...
/usr/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2024-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/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'requires-dist' will not be supported in future
versions. Please use the underscore name 'requires_dist' instead.
By 2024-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/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
File "/tmp/SBo/colour-0.1.5/setup.py", line 61, in <module>
setup(
File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 307, in __init__
_Distribution.__init__(self, dist_attrs)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
self.finalize_options()
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 658, in finalize_options
ep(self)
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 678, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "/usr/lib/python3.11/site-packages/d2to1/core.py", line 30, in d2to1
from setuptools.dist import _get_unpatched
ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/usr/lib/python3.11/site-packages/setuptools/dist.py)
python-d2to1 is deprecated upstream and i'm planning to remove this in the future, so best to not use d2to1.
can you try this PR? https://github.com/vaab/colour/pull/66
python-d2to1 is deprecated upstream and i'm planning to remove this in the future, so best to not use d2to1.
can you try this PR? https://github.com/vaab/colour/pull/66
I had literally just submitted the a new SlackBuild with this fix, but you beat me to it. I can confirm this fixes the issue and polychromatic works again.
Slightly off topic, but I am noticing a lot of python 3.11 builds are now defaulting to /usr/lib now instead of /usr/lib64 on x86_64. Is this something that we should be concerned with? I am guessing this might be happening since Pat's setuptools package is in /usr/lib?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.