Search Criteria
Package Details: python-chex 0.1.88-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-chex.git (read-only, click to copy) |
---|---|
Package Base: | python-chex |
Description: | A library of utilities for helping to write reliable JAX code |
Upstream URL: | https://github.com/google-deepmind/chex |
Keywords: | deepmind dm jax |
Licenses: | Apache |
Groups: | deepmind, jax |
Submitter: | daskol |
Maintainer: | daskol |
Last Packager: | daskol |
Votes: | 2 |
Popularity: | 0.61 |
First Submitted: | 2023-02-13 21:46 (UTC) |
Last Updated: | 2024-12-11 15:43 (UTC) |
Dependencies (12)
- python-absl
- python-jaxAUR (python-jax-binAUR)
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy1AUR, python-numpy-mkl-binAUR)
- python-toolz
- python-typing_extensions
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-cloudpickle (check)
- python-dm-treeAUR (python-dm-tree-gitAUR) (check)
- python-pytest (check)
Latest Comments
1 2 Next › Last »
daskol commented on 2024-12-27 13:40 (UTC)
Indeed,
unittest
API has been changed in Python 3.13. Specifically,unittest.makeSuite
has been deprecated in Python 3.11 and scheduled to be removed in Python 3.13.I suggest a workaround: add
--nocheck
to yourmakepkg
command in order to skip tests.sokl commented on 2024-12-27 12:43 (UTC)
I get an error:
AttributeError: module 'unittest' has no attribute 'makeSuite'
rekman commented on 2024-12-26 21:20 (UTC)
@medaminezghal I've been able to build jaxlib without that fix, although not with CUDA enabled (I think) and with CUDA enabled it doesn't build even with that fix. Although that's not for here. It appears building with Python 3.13 is indeed due to issues in this package.
medaminezghal commented on 2024-12-26 12:49 (UTC) (edited on 2024-12-26 17:25 (UTC) by medaminezghal)
As I see this version can't be installed in Python 3.13 so I made an issue in the GitHub to resolve the problem. you can follow the issue here
medaminezghal commented on 2024-12-26 12:14 (UTC)
@rekman for the jax problem just use
export XLA_FLAGS=--xla_gpu_cuda_data_dir=/opt/cuda
to fix it (you can add it to .bashrc file for example). But, I got other problems in the test processrekman commented on 2024-12-23 19:55 (UTC)
I think this will have issues rebuilding for Python 3.13 due to issues with building the latest python-jax. As I understand it those are due to upstream packaging and will have to wait for a new upstream release.
daskol commented on 2024-12-01 10:50 (UTC)
@hashworks @toynbeeidea The issue is related to other package
python-dm-tree
which is testing dependency forpython-chex
. Solution is to rebuildpython-dm-treee
(which depends on shared objects).This package is not broken. Rebuilt
python-dm-tree
dependency.hashworks commented on 2024-10-09 10:06 (UTC)
Check now fails due to
abseil-cpp
update:ImportError: libabsl_strings.so.2401.0.0: cannot open shared object file: No such file or directory
.It should use
/usr/lib/libabsl_strings.so.2407.0.0
.sbrl commented on 2024-08-08 13:57 (UTC)
@daskol There was the release https://github.com/jax-ml/ml_dtypes/releases/tag/v0.4.0 built against numpy==2.0.0rc1, so I'm not entirely sure what's going on here. More investigation required.
daskol commented on 2024-07-19 11:40 (UTC)
@sbrl The issues occurs in
check
stage. You can just skip it with--nocheck
option.It seems that
python-jax
orpython-jaxlib
cause that exception. They depend onpython-ml-dtypes
. And all their binary extensions depend on versionpython-numpy
which breaks ABI in version 2. Are these packages built withpython-numpy>=2
?1 2 Next › Last »