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.44 |
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-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- 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 3 Next › Last »
daskol commented on 2025-01-18 13:57 (UTC) (edited on 2025-01-18 13:57 (UTC) by daskol)
Relevant issues in upstream: google-deepmind/tree#119 and google-deepmind/chex#371. I hope that all fixes will be merged next week. In the meantime, try
--nocheck
option as a workaround.pumkinmap commented on 2025-01-18 10:25 (UTC) (edited on 2025-01-18 10:29 (UTC) by pumkinmap)
Can confirm that sending --mflags "--nocheck" in yay avoids the issue.
I specifically ran into this:
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
.1 2 3 Next › Last »