Package Details: python-backoff 2.2.1-2

Git Clone URL: https://aur.archlinux.org/python-backoff.git (read-only, click to copy)
Package Base: python-backoff
Description: Python library providing function decorators for configurable backoff and retry
Upstream URL: https://github.com/litl/backoff
Licenses: MIT
Submitter: fryfrog
Maintainer: fryfrog (yochananmarqos)
Last Packager: yochananmarqos
Votes: 5
Popularity: 0.103391
First Submitted: 2019-06-22 04:40 (UTC)
Last Updated: 2024-01-29 15:15 (UTC)

Latest Comments

atomicfs commented on 2024-01-29 17:07 (UTC)

@yochananmarqos thanks

yochananmarqos commented on 2024-01-29 15:15 (UTC)

@atomicfs: The build won't stop if the tests fail now.

atomicfs commented on 2024-01-29 10:50 (UTC) (edited on 2024-01-29 11:09 (UTC) by atomicfs)

@fryfrog: seems that pytest-8.0.0 breaks the tests. pytest-7.4.4 works fine with only single non-critical warning.

...
INTERNALERROR>   File "/usr/lib/python3.11/site-packages/pytest_asyncio/plugin.py", line 626, in pytest_collectstart
INTERNALERROR>     pyobject = collector.obj
INTERNALERROR>                ^^^^^^^^^^^^^
INTERNALERROR> AttributeError: 'Package' object has no attribute 'obj'

UPDATE: Seems to be problem with pytest.

fryfrog commented on 2024-01-22 18:19 (UTC)

Ah! Thanks for improving the package and being co-maintainer! :)

yochananmarqos commented on 2024-01-22 17:45 (UTC)

@fryfrog: The PyPi tarball doesn't contain the tests.

fryfrog commented on 2024-01-22 17:31 (UTC)

==> Starting check()...
============================================================================================================================ test session starts =============================================================================================================================platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/fryfrog/aur/python-backoff/src/backoff-2.2.1
plugins: asyncio-0.23.3, cov-4.1.0
asyncio: mode=Mode.STRICT
collected 0 items

=========================================================================================================================== no tests ran in 0.01s ============================================================================================================================ERROR: file or directory not found: tests

^ I tried dropping your PKGBUILD in, but it doesn't check.

I've made you a co-maintainer, feel free to improve it! :)

yochananmarqos commented on 2024-01-22 17:22 (UTC) (edited on 2024-01-22 17:22 (UTC) by yochananmarqos)

@fryfrog: This uses Poetry as a build backend. Please use a standards based build. See my improved PKGBUILD

Muflone commented on 2019-06-22 21:28 (UTC)

the package python2-backoff was merged into python-backoff

fryfrog commented on 2019-06-22 04:41 (UTC)

Hi @derintendant, I created a python-backoff AUR package and I'd like to make it a dual package to simplify things. I'm going to submit a request to merge it. :)