Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run checks on python 3.12 #13

Merged
merged 6 commits into from
Oct 4, 2023
Merged

Run checks on python 3.12 #13

merged 6 commits into from
Oct 4, 2023

Conversation

wkobiela
Copy link
Owner

@wkobiela wkobiela commented May 6, 2023

No description provided.

@wkobiela wkobiela added the enhancement New feature or request label May 6, 2023
@wkobiela
Copy link
Owner Author

wkobiela commented May 6, 2023

Looks like issue with pip pypa/pip#11501

pip is upgraded to 23.1.2

[2023-05-06T13:21:40.981Z] + python3.12 -m pip install --upgrade pip
[2023-05-06T13:21:41.237Z] Requirement already satisfied: pip in /usr/local/lib/python3.12/dist-packages (23.1.2)
[2023-05-06T13:21:43.667Z]   Downloading pandas-2.0.1.tar.gz (5.3 MB)
[2023-05-06T13:21:43.667Z]      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 30.0 MB/s eta 0:00:00
[2023-05-06T13:21:44.228Z]   Installing build dependencies: started
[2023-05-06T13:21:50.764Z]   Installing build dependencies: finished with status 'error'
[2023-05-06T13:21:50.764Z]   error: subprocess-exited-with-error
[2023-05-06T13:21:50.764Z]   
[2023-05-06T13:21:50.764Z]   × pip subprocess to install build dependencies did not run successfully.
[2023-05-06T13:21:50.764Z]   │ exit code: 1
[2023-05-06T13:21:50.764Z]   ╰─> [67 lines of output]
[2023-05-06T13:21:50.764Z]       Collecting setuptools>=61.0.0
[2023-05-06T13:21:50.764Z]         Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
[2023-05-06T13:21:50.764Z]       Collecting wheel
[2023-05-06T13:21:50.764Z]         Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
[2023-05-06T13:21:50.764Z]       Collecting Cython<3,>=0.29.33
[2023-05-06T13:21:50.764Z]         Downloading Cython-0.29.34-py2.py3-none-any.whl (988 kB)
[2023-05-06T13:21:50.764Z]            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 988.1/988.1 kB 5.5 MB/s eta 0:00:00
[2023-05-06T13:21:50.764Z]       Collecting oldest-supported-numpy>=2022.8.16
[2023-05-06T13:21:50.764Z]         Downloading oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB)
[2023-05-06T13:21:50.764Z]       Collecting versioneer[toml]
[2023-05-06T13:21:50.764Z]         Downloading versioneer-0.28-py3-none-any.whl (45 kB)
[2023-05-06T13:21:50.764Z]            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.3/45.3 kB 6.5 MB/s eta 0:00:00
[2023-05-06T13:21:50.764Z]       Collecting numpy (from oldest-supported-numpy>=2022.8.16)
[2023-05-06T13:21:50.764Z]         Downloading numpy-1.24.3.tar.gz (10.9 MB)
[2023-05-06T13:21:50.764Z]            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 46.7 MB/s eta 0:00:00
[2023-05-06T13:21:50.764Z]         Installing build dependencies: started
[2023-05-06T13:21:50.764Z]         Installing build dependencies: finished with status 'done'
[2023-05-06T13:21:50.764Z]         Getting requirements to build wheel: started
[2023-05-06T13:21:50.764Z]         Getting requirements to build wheel: finished with status 'error'
[2023-05-06T13:21:50.764Z]         error: subprocess-exited-with-error
[2023-05-06T13:21:50.764Z]       
[2023-05-06T13:21:50.764Z]         × Getting requirements to build wheel did not run successfully.
[2023-05-06T13:21:50.764Z]         │ exit code: 1
[2023-05-06T13:21:50.764Z]         ╰─> [33 lines of output]
[2023-05-06T13:21:50.764Z]             Traceback (most recent call last):
[2023-05-06T13:21:50.764Z]               File "/usr/local/lib/python3.12/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
[2023-05-06T13:21:50.764Z]                 main()
[2023-05-06T13:21:50.764Z]               File "/usr/local/lib/python3.12/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
[2023-05-06T13:21:50.764Z]                 json_out['return_val'] = hook(**hook_input['kwargs'])
[2023-05-06T13:21:50.764Z]                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2023-05-06T13:21:50.764Z]               File "/usr/local/lib/python3.12/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel
[2023-05-06T13:21:50.764Z]                 backend = _build_backend()
[2023-05-06T13:21:50.764Z]                           ^^^^^^^^^^^^^^^^
[2023-05-06T13:21:50.764Z]               File "/usr/local/lib/python3.12/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
[2023-05-06T13:21:50.764Z]                 obj = import_module(mod_path)
[2023-05-06T13:21:50.764Z]                       ^^^^^^^^^^^^^^^^^^^^^^^
[2023-05-06T13:21:50.764Z]               File "/usr/lib/python3.12/importlib/__init__.py", line 124, in import_module
[2023-05-06T13:21:50.764Z]                 return _bootstrap._gcd_import(name[level:], package, level)
[2023-05-06T13:21:50.764Z]                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2023-05-06T13:21:50.764Z]               File "<frozen importlib._bootstrap>", line 1332, in _gcd_import
[2023-05-06T13:21:50.764Z]               File "<frozen importlib._bootstrap>", line 1305, in _find_and_load
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 1255, in _find_and_load_unlocked
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 400, in _call_with_frames_removed
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 1332, in _gcd_import
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 1305, in _find_and_load
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 1276, in _find_and_load_unlocked
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 841, in _load_unlocked
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap_external>", line 1027, in exec_module
[2023-05-06T13:21:50.765Z]               File "<frozen importlib._bootstrap>", line 400, in _call_with_frames_removed
[2023-05-06T13:21:50.765Z]               File "/tmp/pip-build-env-qfv56a4n/overlay/local/lib/python3.12/dist-packages/setuptools/__init__.py", line 16, in <module>
[2023-05-06T13:21:50.765Z]                 import setuptools.version
[2023-05-06T13:21:50.765Z]               File "tmp/pip-build-env-qfv56a4n/overlay/local/lib/python3.12/dist-packages/setuptools/version.py", line 1, in <module>
[2023-05-06T13:21:50.765Z]                 import pkg_resources
[2023-05-06T13:21:50.765Z]               File "tmp/pip-build-env-qfv56a4n/overlay/local/lib/python3.12/dist-packages/pkg_resources/__init__.py", line 2172, in <module>
[2023-05-06T13:21:50.765Z]                 register_finder(pkgutil.ImpImporter, find_on_path)
[2023-05-06T13:21:50.765Z]                                 ^^^^^^^^^^^^^^^^^^^
[2023-05-06T13:21:50.765Z]             AttribteError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[2023-05-06T13:21:50.765Z]             [end of output]
[2023-05-06T13:21:50.765Z]       
[2023-05-06T13:21:50.765Z]         note: This error originates from a subprocess, and is likely not a problem with pip.
[2023-05-06T13:21:50.765Z]       error: subprocess-exited-with-error
[2023-05-06T13:21:50.765Z]       
[2023-05-06T13:21:50.765Z]       × Getting requirements to build wheel did not run successfully.
[2023-05-06T13:21:50.765Z]       │ exit code: 1
[2023-05-06T13:21:50.765Z]       ╰─> See above for output.
[2023-05-06T13:21:50.765Z]       
[2023-05-06T13:21:50.765Z]       note: This error originates from a subprocess, and is likely not a problem with pip.
[2023-05-06T13:21:50.765Z]       [end of output]
[2023-05-06T13:21:50.765Z]   
[2023-05-06T13:21:50.765Z]   note: This error originates from a subprocess, and is likely not a problem with pip.
[2023-05-06T13:21:50.765Z] error: subprocess-exited-with-error
[2023-05-06T13:21:50.765Z] 
[2023-05-06T13:21:50.765Z] × pip subprocess to install build dependencies did not run successfully.
[2023-05-06T13:21:50.765Z] │ exit code: 1
[2023-05-06T13:21:50.765Z] ╰─> See above for output.

@wkobiela
Copy link
Owner Author

More recent info: numpy is dependency of pandas, and numpy has problems with python3.12:
numpy/numpy#23808

@wkobiela wkobiela force-pushed the python3.12_readiness branch from 53cccbc to 5c2682d Compare September 18, 2023 17:41
@wkobiela wkobiela force-pushed the python3.12_readiness branch from 5c2682d to 0d1f79d Compare October 4, 2023 16:11
@wkobiela wkobiela merged commit 6e9ae95 into master Oct 4, 2023
1 check passed
@wkobiela wkobiela deleted the python3.12_readiness branch October 4, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant