You are not logged in.
Hi, in the repos the package python-optree has version 0.12.1, but this version is broken. The new one is 0.13.1, and in here the problem is apparently solved. Why is the package not at its latest version in the archlinux repository? How can I install this library without having to use pip? Thanks in advance
Offline
In what way is the current version broken?
Online
Offline
Unlike in the link I was still able to reproduce the issue with python-optree 0.13.0. I was not able to with python-optree 0.13.1.
Offline
Thank you for the answer, but the point is how can I have the latest version of this package? Do I have to wait for the update in the archlinux repos? I don't want to create a venv since all my python libraries are installed globally
Offline
Now we just need a PKGBUILD for python-optree 0.13.1
I had a quick look earlier on but noticed that it needs more work than just a simple bump ![]()
Online
Thank you for your help. Hope it won't take too long!
Offline
Now we just need a PKGBUILD for python-optree 0.13.1
I had a quick look earlier on but noticed that it needs more work than just a simple bump
Do you mean the cmake requirement in pyproject.toml?
sed -i 's/"cmake.*",//' pyproject.tomlLast edited by loqs (2024-12-18 17:44:36)
Offline
Latest optree package now coming to your nearest mirror!
https://gitlab.archlinux.org/archlinux/ … eafa7204b8
Thanks for the sed loqs, any idea why this is acting up?
Online
cmake was added to pyproject.toml in https://github.com/metaopt/optree/commi … f3e36713b0 as Arch's cmake does not contain python metadata the requirement is not fulfilled.
Offline
I was able to install the latest version. Now everything is working well. Thank you a lot!
Offline
@loqs where would this version information be located?
(I'm trying to understand if we need a fix for our cmake pkg)
Online
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip list
Package Version
------- -------
pip 24.2
(venv) $ pip install cmake
Collecting cmake
Downloading cmake-3.31.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB)
Downloading cmake-3.31.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.8/27.8 MB 17.9 MB/s eta 0:00:00
Installing collected packages: cmake
Successfully installed cmake-3.31.2
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
(venv) $ pip list
Package Version
------- -------
cmake 3.31.2
pip 24.2
$ ls venv/lib/python3.12/site-packages/cmake-3.31.2.dist-info
entry_points.txt INSTALLER licenses METADATA RECORD REQUESTED WHEELLast edited by loqs (2024-12-18 18:43:51)
Offline