Opened 3 weeks ago
Last modified 2 weeks ago
#71118 assigned defect
py-setuptools: dependency on jaraco.functools?
Reported by: | dgilman (David Gilman) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-setuptools |
Description
Two maybe related issues here. First, if i just import setuptools
it seems to have a dependency on jaraco.functools:
Python 3.12.7 (main, Oct 5 2024, 00:14:26) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import setuptools Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/setuptools/__init__.py", line 22, in <module> import _distutils_hack.override # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/override.py", line 1, in <module> __import__('_distutils_hack').do_override() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 90, in do_override ensure_local_distutils() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 76, in ensure_local_distutils core = importlib.import_module('distutils.core') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 13, in <module> from .cmd import Command File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 12, in <module> from . import _modified, archive_util, dir_util, file_util, util File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/setuptools/_distutils/_modified.py", line 6, in <module> from jaraco.functools import splat ImportError: cannot import name 'splat' from 'jaraco.functools' (/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jaraco/functools.py)
I'm trying to build another package and I assume its failure is stemming from the same issue:
Executing: cd "/opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work/awscrt-0.22.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work DEBUG: system: cd "/opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work/awscrt-0.22.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work * Getting build dependencies for wheel... Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook raise BackendUnavailable( pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta' ERROR Backend 'setuptools.build_meta:__legacy__' is not available. Command failed: cd "/opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work/awscrt-0.22.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_Users_david_macports-ports-local_python_py-awscrt/py312-awscrt/work
Change History (1)
comment:1 Changed 2 weeks ago by reneeotten (Renee Otten)
Owner: | set to jmroot |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.