Package Details: python-loro 1.16.2-1

Git Clone URL: https://aur.archlinux.org/python-loro.git (read-only, click to copy)
Package Base: python-loro
Description: Python bindings for Loro CRDT
Upstream URL: https://github.com/loro-dev/loro-py
Licenses: MIT
Submitter: ResRipper
Maintainer: ResRipper
Last Packager: ResRipper
Votes: 1
Popularity: 0.001089
First Submitted: 2025-05-14 14:42 (UTC)
Last Updated: 2026-10-03 13:18 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

ResRipper commented on 2026-08-06 04:09 (UTC) (edited on 2026-08-14 01:47 (UTC) by ResRipper)

@TheGreatAndyChow Try editing the PKGBUILD and replacing the build function with this, and manually build with makepkg to see if it works. This will remove previously built wheels and only build for THE system's Python, so there should be only one wheel:

build() {
    cd "$_name-py-$pkgver" || exit

    rm -rf dist # Delete old dist folder if exist
    maturin build -i /usr/bin/python --release -o dist
}

AUR push function is still disabled, so I can't update the build script yet. Updated.

<deleted-account> commented on 2026-08-06 02:30 (UTC)

📦 Built wheel for CPython 3.14 to dist/loro-1.13.2-cp314-cp314-manylinux_2_34_x86_64.whl ==> Starting check()... Traceback (most recent call last): File "<frozen runpy>", line 203, in run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3.14/site-packages/installer/__main__.py", line 115, in <module> _main(sys.argv[1:], "python -m installer") ~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/installer/main.py", line 111, in _main installer.install(source, destination, {}) ~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/installer/_core.py", line 124, in install record = destination.write_file( scheme=scheme, ...<2 lines>... is_executable=is_executable, ) File "/usr/lib/python3.14/site-packages/installer/destinations.py", line 212, in write_file return self.write_to_fs(scheme, path, stream, is_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/installer/destinations.py", line 172, in write_to_fs raise FileExistsError(message) FileExistsError: File already exists: /home/user/.cache/trizen/sources/python-loro/src/test_venv/lib/python3.14/site-packages/loro/init.py ==> ERROR: A failure occurred in check(). Aborting... :: Unable to build python-loro - makepkg exited with code: 4

This happens even if I run "sudo rm -r /home/user/.cache/trizen/sources/python-loro" prior. $ pacman -Qs '^python$' local/python 3.14.6-1 The Python programming language

Pulec commented on 2026-07-27 16:11 (UTC) (edited on 2026-07-27 16:19 (UTC) by Pulec)

This happens on clear aur fetch python-loro as well.

The issue is indeed with my environment. Apart from regular python I totally forgot I have python310 installed as well.

The --find-interpreter flag in the maturnin build part builds a wheel per found CPython, so src/loro-py-1.13.1/dist contains:

loro-1.13.1-cp310-cp310-manylinux_2_34_x86_64.whl
loro-1.13.1-cp314-cp314-manylinux_2_34_x86_64.whl

so during check() and package() both wheels get installed. The 310 first, and then cp314 collides with it.

So messy system on my side.

So, without the --find-interpreter flag

maturin build --release -o dist

Only one wheel is made, and the rest goes well. But I'll of course remove python310 cause I no longer need it, so no change needed. Just a note for some other rare case where people have multiple Python installations.

The only other nitpick is missing rust in makedepends.

ResRipper commented on 2026-07-27 08:06 (UTC)

@Pulec The issue seems to be that the previous test environment src/test_env was not removed at the beginning of the check function. Try removing this folder and then reinstalling the package.

However, I cannot reproduce this issue with makechrootpkg and yay, so if this issue still occurs, you might need to check your environment.

Pulec commented on 2026-07-27 07:27 (UTC) (edited on 2026-07-27 07:28 (UTC) by Pulec)

During check I get

 File "/usr/lib/python3.14/site-packages/installer/destinations.py", line 212, in write_file
   return self.write_to_fs(scheme, path_, stream, is_executable)
          ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3.14/site-packages/installer/destinations.py", line 172, in write_to_fs
   raise FileExistsError(message)
FileExistsError: File already exists: /home/pulec/.cache/aurutils/sync/python-loro/src/test_venv/lib/python3.14/site-packages/loro/__init__.py
==> ERROR: A failure occurred in check().