Package Details: python-openant 1.3.4-1

Git Clone URL: https://aur.archlinux.org/python-openant.git (read-only, click to copy)
Package Base: python-openant
Description: ANT, ANT-FS and ANT+ Python Library
Upstream URL: https://github.com/Tigge/openant
Licenses: MIT
Submitter: carlosal1015
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 1
Popularity: 0.000001
First Submitted: 2023-01-30 19:38 (UTC)
Last Updated: 2025-08-20 18:45 (UTC)

Latest Comments

johno commented on 2025-08-24 13:40 (UTC)

Hello, i ran into a small build issue with the current version, 1.3.4-1.

During the prepare() function, the build process is interrupted by the patch command with the message "Reversed (or previously applied) patch detected!".

It seems the fix from pull request #115 (which this patch is based on) has been merged into the upstream source code for this release.

I was able to build the package successfully after commenting out the patch line in the PKGBUILD:

patch -p1 -i ../fix-import.patch

It would be great if you could remove this now redundant patch from the PKGBUILD.

Thank you for your work on this package! Best regards, Johno

leepesjee commented on 2025-03-15 19:28 (UTC) (edited on 2025-03-15 19:28 (UTC) by leepesjee)

Found the problem and a solution. Subdirectories of the project root folder are not installed. In pyproject.toml change the lines:

[tool.setuptools]
packages = ["openant"]

to:

[tool.setuptools.packages]
find = {}

leepesjee commented on 2025-03-12 22:46 (UTC)

I get an error when I try to import the module:

import openant Traceback (most recent call last): File "<python-input-0>", line 1, in <module> import openant File "/usr/lib/python3.13/site-packages/openant/init.py", line 28, in <module> from . import base ImportError: cannot import name 'base' from partially initialized module 'openant' (most likely due to a circular import) (/usr/lib/python3.13/site-packages/openant/init.py)