Package Details: python-pymctranslate 1.2.22-2

Git Clone URL: https://aur.archlinux.org/python-pymctranslate.git (read-only, click to copy)
Package Base: python-pymctranslate
Description: A library of block mappings that can be used to convert from any Minecraft format into any other Minecraft format
Upstream URL: https://github.com/gentlegiantJGC/PyMCTranslate
Licenses: LicenseRef-Amulet-Team-1.0.0
Submitter: 0x9fff00
Maintainer: 0x9fff00
Last Packager: 0x9fff00
Votes: 1
Popularity: 0.98
First Submitted: 2021-05-09 14:08 (UTC)
Last Updated: 2024-02-25 01:58 (UTC)

Latest Comments

0x9fff00 commented on 2024-03-17 23:27 (UTC)

Successfully built PyMCTranslate-1.2.22+5.g040384c5.dirty-py3-none-any.whl

You seem to be trying to build python-pymctranslate-git, this page is for python-pymctranslate. Anyway, I can't reproduce your error with python-pymctranslate-git either, make sure you've installed python-amulet-nbt first. Note that python-pymctranslate-git is currently broken upstream so you won't be able to build it even without the ImportError, see https://github.com/gentlegiantJGC/PyMCTranslate/issues/44

Nixuge commented on 2024-03-16 18:05 (UTC) (edited on 2024-03-16 18:07 (UTC) by Nixuge)

Getting an error in the first test:

Successfully built PyMCTranslate-1.2.22+5.g040384c5.dirty-py3-none-any.whl
==> Starting check()...
E
======================================================================
ERROR: test_biomes (unittest.loader._FailedTest.test_biomes)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_biomes
Traceback (most recent call last):
  File "/usr/lib/python3.11/unittest/loader.py", line 419, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/unittest/loader.py", line 362, in _get_module_from_name
    __import__(name)
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/tests/test_biomes.py", line 3, in <module>
    import PyMCTranslate
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/__init__.py", line 1, in <module>
    from .py3 import (
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/__init__.py", line 2, in <module>
    from PyMCTranslate.py3.api import (
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/__init__.py", line 21, in <module>
    from .translation_manager import TranslationManager
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/translation_manager/__init__.py", line 1, in <module>
    from .translation_manager import TranslationManager
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/translation_manager/translation_manager.py", line 10, in <module>
    from PyMCTranslate.py3.api.rotate import RotateMode, RotationManager
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/rotate/__init__.py", line 1, in <module>
    from .rotate import RotateMode, RotationManager
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/rotate/rotate.py", line 7, in <module>
    from PyMCTranslate.py3.api.version import Version
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/__init__.py", line 1, in <module>
    from .version import Version
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/version.py", line 11, in <module>
    from .translators import (
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/translators/__init__.py", line 1, in <module>
    from .block import BlockTranslator
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/translators/block.py", line 8, in <module>
    from .base import BaseTranslator, BaseSpecification
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/translators/base.py", line 7, in <module>
    from PyMCTranslate.py3.api.version.translate import translate
  File "/home/nix/.cache/paru/clone/python-pymctranslate-git/src/PyMCTranslate/PyMCTranslate/py3/api/version/translate.py", line 5, in <module>
    from amulet_nbt import (
ImportError: cannot import name 'AbstractBaseTag' from 'amulet_nbt' (/home/nix/.local/lib/python3.11/site-packages/amulet_nbt/__init__.py)


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)