It appears that numpy 2 is usable. Idk if everything works but we now depend on python-numpy
which python-numpy1
provides
Search Criteria
Package Details: python-amulet-nbt 1:2.1.4-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-amulet-nbt.git (read-only, click to copy) |
---|---|
Package Base: | python-amulet-nbt |
Description: | A Python and Cython library for reading and writing binary NBT and stringified NBT |
Upstream URL: | https://github.com/Amulet-Team/Amulet-NBT |
Keywords: | amulet cython editor library map nbt python |
Licenses: | LicenseRef-Amulet-Team-1.0.0 |
Submitter: | 0x9fff00 |
Maintainer: | Kimiblock (lilac) |
Last Packager: | lilac |
Votes: | 2 |
Popularity: | 0.80 |
First Submitted: | 2020-05-16 17:01 (UTC) |
Last Updated: | 2025-06-22 03:19 (UTC) |
Dependencies (16)
- python (python37AUR)
- python-amulet-ioAUR
- python-amulet-zlibAUR
- python-amulet_pybind11_extensionsAUR
- python-mutf8AUR
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cython (cython-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python-amulet-compiler-targetAUR (make)
- python-amulet-compiler-versionAUR (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-versioneer (python-versioneer-518AUR) (make)
- python-wheel (make)
Required by (6)
Sources (1)
Kimiblock commented on 2025-06-24 11:58 (UTC)
Kimiblock commented on 2025-04-20 05:12 (UTC)
The transition to numpy2 may be tracked here: https://github.com/Amulet-Team/Amulet-NBT/issues/73
In the meanwhile, this package will depend on numpy1
gwuensch commented on 2024-12-23 13:34 (UTC)
This library is still incompatible with numpy 2.x:
$ amulet_map_editor
Traceback (most recent call last):
File "/usr/bin/amulet_map_editor", line 5, in <module>
from amulet_map_editor.__main__ import main
File "/usr/lib/python3.13/site-packages/amulet_map_editor/__init__.py", line 27, in <module>
from amulet_map_editor.api.framework.app import open_level, close_level
File "/usr/lib/python3.13/site-packages/amulet_map_editor/api/framework/__init__.py", line 1, in <module>
from .app import AmuletApp
File "/usr/lib/python3.13/site-packages/amulet_map_editor/api/framework/app.py", line 2, in <module>
from . import amulet_ui
File "/usr/lib/python3.13/site-packages/amulet_map_editor/api/framework/amulet_ui.py", line 8, in <module>
from amulet.api.errors import LoaderNoneMatched
File "/usr/lib/python3.13/site-packages/amulet/__init__.py", line 23, in <module>
from .api import *
File "/usr/lib/python3.13/site-packages/amulet/api/__init__.py", line 1, in <module>
from .block import *
File "/usr/lib/python3.13/site-packages/amulet/api/block.py", line 6, in <module>
from amulet_nbt import ByteTag, ShortTag, IntTag, LongTag, StringTag, from_snbt
File "/usr/lib/python3.13/site-packages/amulet_nbt/__init__.py", line 100, in <module>
from ._array import (
...<7 lines>...
)
File "amulet_nbt/_array.pyx", line 1, in init amulet_nbt._array
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Until there is an upstream fix, maybe you could update the dependency to point to python-numpy1 or at least python-numpy<2.0
? The numpy1
package here in the AUR just got a patch to work with the latest Python 3.13 today.
Kimiblock commented on 2024-12-23 12:19 (UTC)
Whoops...
FAILED (errors=108, skipped=4)
==> ERROR: A failure occurred in check()
0x9fff00 commented on 2024-09-11 18:57 (UTC)
@Pietro_Pizzi Doesn't happen in a clean chroot, please post full logs
Pietro_Pizzi commented on 2024-09-08 09:53 (UTC)
Does anybody know if this is only a problem for me?
FAILED (errors=13, skipped=1) ==> ERROR: A failure occurred in check(). Aborting... -> Failed to install layer, rolling up to next layer.error:error making: python-amulet-nbt - exit status 4
RoblKyogre commented on 2024-07-31 10:18 (UTC)
fyi this fails to build currently due to too new numpy
and cpython
versions
there is currently a pre-release version that rewrites the entire library in C++ found here, unsure if you'll update to it yet or not but do note for an eventual stable release that dependencies will most likely need to be changed as a result
0x9fff00 commented on 2024-02-25 01:40 (UTC)
@ross232 Fixed, I've switched to a git source to avoid the unstable hash
ross232 commented on 2024-02-24 23:51 (UTC)
I'm getting this error at the moment:
Building python-amulet-nbt... ==> Making package: python-amulet-nbt 2.1.2-1 (Sun 25 Feb 2024 10:20:50) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found python-amulet-nbt-2.1.2.tar.gz ==> Validating source files with sha256sums... python-amulet-nbt-2.1.2.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check! Failed to build python-amulet-nbt
0x9fff00 commented on 2024-01-14 00:52 (UTC)
@SysGhost I can't reproduce those errors in a clean chroot
Pinned Comments
Kimiblock commented on 2025-04-20 05:12 (UTC)
The transition to numpy2 may be tracked here: https://github.com/Amulet-Team/Amulet-NBT/issues/73
In the meanwhile, this package will depend on numpy1