Python 3.13 builds
- for some unknown reason Cython project removed one of the versions (yanked! not removed) from PyPI, so we were encountering lots of issues there. Upgrading to 3.0.12. The latest version was incompatible. Maybe needs some time to invest to make it work with the most recent one.
- both GitHub Actions
checkoutandartifactswere deprecated. The new format was incompatible, and needed some adjustments - added more strict versioning, as even building the older stable version from main failed. apparently these versioning differences were not causing the main issue, but it's better to have more reproducible / deterministic behaviour
- adding python 3.13
- reconfiguring python 3.13 on the self-hosted runners
- fail-fast: false will sometimes waste resources, but for now let's keep it for easier debugging
- bumping up the version to 0.6.0 for the release
- the dev version is already available at
pip install aimrocks==0.5.3.dev8
Addresses #37 and https://github.com/aimhubio/aim/issues/3334
Some work might be needed on aim side (adding tags, pinning Cython==3.0.12)
@RunnersNum40, @judahrand, @xandie985, @mfouesneau, @shankstm Can you please confirm dev version worked on your end before we move this to non-dev release?
aimrocks==0.5.3.dev8 installs and seems to work as expected. Aim does not install.
I'm very late to this party, sorry. I might be missing something obvious here, and I'm willing to take further steps with direction.
PyPI
With:
pip install aimrocks==0.5.3.dev8
I get this error:
ERROR: Could not find a version that satisfies the requirement aimrocks==0.5.3.dev8 (from versions: 0.2.0)
ERROR: No matching distribution found for aimrocks==0.5.3.dev8
From Source
With:
git clone [email protected]:aimhubio/aimrocks.git
cd aimrocks
python -m venv .venv
source .venv/bin/activate
pip install .
I get this error:
Processing aimrocks
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
third party libs detected: []
Traceback (most recent call last):
File ".venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File ".venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File ".venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-jzxhr2ez/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-jzxhr2ez/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-jzxhr2ez/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-jzxhr2ez/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 73, in <module>
File "/tmp/pip-build-env-jzxhr2ez/overlay/lib/python3.13/site-packages/setuptools/_distutils/dir_util.py", line 127, in copy_tree
raise DistutilsFileError(f"cannot copy tree '{src}': not a directory")
distutils.errors.DistutilsFileError: cannot copy tree '/usr/local/include/rocksdb': not a directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
@mahnerak any updates here?
@mahnerak November follow-up
Is aim dead?