Bug #6241
closedsaxonche Python package Python 3.12 whl
100%
Description
Hi,
the latest version of saxonche on pypi.org does not include a wheel for Python 3.12.
Are there plans to publish one?
Kind Regards, sigma67
Updated by Norm Tovey-Walsh about 1 year ago
We aren't explicitly excluding 3.12, so I wonder if we need to upgrade to a more recent version of buildwheel. I'll see if that's easy to fix.
Updated by sig matics about 1 year ago
Thanks! If there are no incompatibilities it should be as simple as
publishing a new version with the py312 whl included.
On Tue, 7 Nov 2023 at 14:56, Saxonica Developer Community <
notifications@plan.io> wrote:
Updated by Norm Tovey-Walsh about 1 year ago
Yes. I'm investigating that now. We reoganized some infrastructure that I need to get completely sorted out before I can run the builds again. My plan is to simply update to a more recent version of cibuildwheel
(and maybe delvewheel
) that will produce 3.12 wheels. We'll publish those with 12.4.
(I'm reasonably optimistic that this will be "easy" once I get over the infrastructure hurdle. Hopefully tomorrow.)
Updated by Norm Tovey-Walsh about 1 year ago
My first attempt was unsuccessful. The job built the 3.8-3.11 wheels just fine, but fell over on 3.12:
$ python -m pip wheel /Users/runner/work/BuildWheels/BuildWheels/mac/eec_pypi --wheel-dir=/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-qx2gpkbn/cp312-macosx_arm64/built_wheel --no-deps
Processing /Users/runner/work/BuildWheels/BuildWheels/mac/eec_pypi
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-qx2gpkbn/cp312-macosx_arm64/build/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-qx2gpkbn/cp312-macosx_arm64/build/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-qx2gpkbn/cp312-macosx_arm64/build/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel
backend = _build_backend()
^^^^^^^^^^^^^^^^
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/cibw-run-qx2gpkbn/cp312-macosx_arm64/build/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/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 "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1304, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 994, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-zibmg4ie/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 16, in <module>
import setuptools.version
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-zibmg4ie/overlay/lib/python3.12/site-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-zibmg4ie/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2172, in <module>
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]
This looks like it could be related to API changes in Python 3.12?
Updated by Norm Tovey-Walsh about 1 year ago
Updated by sig matics about 1 year ago
Seems the issue was an outdated setuptools version, so should be good to go
now? :)
On Mon, 13 Nov 2023 at 00:09, Saxonica Developer Community <
notifications@plan.io> wrote:
Updated by Norm Tovey-Walsh about 1 year ago
- Status changed from New to Resolved
Yes. We're just putting what will be 12.4 through its paces and the Python 3.12 wheels seem to be building without any problems.
Updated by O'Neil Delpratt about 1 year ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 12.4
Bug fix applied in the SaxonC 12.4 Maintenance release
Please register to edit this issue