[Bug 285957] lang/python312 as default python on stable/14
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 285957] lang/python312 as default python on stable/14"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Apr 2025 04:47:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285957
jan <jan@glaubitz.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan@glaubitz.org
--- Comment #5 from jan <jan@glaubitz.org> ---
It's not possible to build databases/py-sqlite3. I think because there is no
py312 flavor for setuptools?
===> Configuring for py312-setuptools-63.1.0_3
===> Building for py312-setuptools-63.1.0_3
* Getting build dependencies for wheel...
Traceback (most recent call last):
File
"/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
File
"/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 137, in get_requires_for_build_wheel
backend = _build_backend()
^^^^^^^^^^^^^^^^
File
"/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 70, in _build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File
"/var/ports/basejail/usr/ports/devel/py-setuptools/work-py312/setuptools-63.1.0/setuptools/__init__.py",
line 16, in <module>
import setuptools.version
File
"/var/ports/basejail/usr/ports/devel/py-setuptools/work-py312/setuptools-63.1.0/setuptools/version.py",
line 1, in <module>
import pkg_resources
File
"/var/ports/basejail/usr/ports/devel/py-setuptools/work-py312/setuptools-63.1.0/pkg_resources/__init__.py",
line 2191, in <module>
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean:
'zipimporter'?
ERROR Backend subprocess exited when trying to invoke
get_requires_for_build_wheel
*** Error code 1
Stop.
make[1]: stopped in /basejail/usr/ports/devel/py-setuptools
*** Error code 1
Stop.
make: stopped in /basejail/usr/ports/databases/py-sqlite3
--
You are receiving this mail because:
You are the assignee for the bug.