Package Details: python-asgi-lifespan 2.1.0-4

Git Clone URL: https://aur.archlinux.org/python-asgi-lifespan.git (read-only, click to copy)
Package Base: python-asgi-lifespan
Description: Programmatic startup/shutdown of ASGI apps.
Upstream URL: https://github.com/florimondmanca/asgi-lifespan
Licenses: MIT
Provides: python-asgi-lifespan
Submitter: BGameiro
Maintainer: medaminezghal
Last Packager: medaminezghal
Votes: 1
Popularity: 0.046264
First Submitted: 2023-05-10 09:36 (UTC)
Last Updated: 2024-11-07 06:09 (UTC)

Latest Comments

dreieck commented on 2025-03-20 21:41 (UTC)

You should switch away from calling setup.py directly.

See the Arch Linux python package guidelines on how to use python -m build and python -m installer (or so):

==> Starting package_python-asgi-lifespan()...
No `packages` or `py_modules` configuration, performing automatic discovery.
`src-layout` detected -- analysing ./src
discovered packages -- ['asgi_lifespan', 'asgi_lifespan._concurrency']
discovered py_modules -- []
running install
/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

Regards and thanks for the package!

medaminezghal commented on 2024-11-07 05:41 (UTC) (edited on 2024-11-07 05:50 (UTC) by medaminezghal)


@BGameiro You should add this to the PKGBUILD file:

depends=('python-sniffio')

makedepends=('python-setuptools' 'python-setuptools-scm' 'python-wheel')

checkdepends=('python-attrs>=19.2' 'python-autoflake' 'python-black==23.3.' 'python-exceptiongroup' 'mypy==1.3.0' 'python-pytest==7.' 'python-pytest-asyncio==0.18.' 'python-pytest-cov' 'python-pytest-trio==0.8.' 'python-ruff==0.0.270' 'python-starlette==0.27.' 'python-trio==0.22.' 'python-httpx==0.24.*')

optdepends=('twine')

If you can build it without the versions restrictions in the source code this will be better