Package Details: python-amulet-nbt 2.1.3-3

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
Licenses: LicenseRef-Amulet-Team-1.0.0
Submitter: 0x9fff00
Maintainer: PerilousBooklet
Last Packager: 0x9fff00
Votes: 1
Popularity: 0.003946
First Submitted: 2020-05-16 17:01 (UTC)
Last Updated: 2024-12-29 01:55 (UTC)

Latest Comments

1 2 Next › Last »

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

SysGhost commented on 2024-01-13 16:03 (UTC) (edited on 2024-01-13 16:07 (UTC) by SysGhost)

Got an invalid checksum again.

It also fails on a bunch of errors: (All the same) python-amulet-nbt/src/Amulet-NBT-2.1.2/build/lib.linux-x86_64-cpython-311/amulet_nbt/_value.cpython-311-x86_64-linux-gnu.so: failed to map segment from shared object

0x9fff00 commented on 2022-02-26 23:17 (UTC)

@jopejoe1 fixed