Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
python-fastapi


Commits:
1335af1b by Robin Candau at 2024-04-30T21:06:14+02:00
upgpkg: 0.110.3-2: Rebuild with the proper pdm backend

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-fastapi
        pkgdesc = FastAPI framework, high performance, easy to learn, fast to 
code, ready for production
        pkgver = 0.110.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/tiangolo/fastapi
        arch = any
        license = MIT
@@ -28,7 +28,7 @@ pkgbase = python-fastapi
        checkdepends = python-passlib
        makedepends = python-build
        makedepends = python-installer
-       makedepends = python-pdm
+       makedepends = python-pdm-backend
        makedepends = python-wheel
        depends = python
        depends = python-anyio


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 _name=fastapi
 pkgname=python-$_name
 pkgver=0.110.3
-pkgrel=1
+pkgrel=2
 pkgdesc='FastAPI framework, high performance, easy to learn, fast to code, 
ready for production'
 arch=(any)
 url="https://github.com/tiangolo/fastapi";
@@ -24,7 +24,7 @@ depends=(
 makedepends=(
   python-build
   python-installer
-  python-pdm
+  python-pdm-backend
   python-wheel
 )
 checkdepends=(
@@ -86,6 +86,13 @@ check() {
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
   local pytest_options=(
     -vv
+    # These tests are failing with "DeprecationWarning: The 'app' shortcut is 
now deprecated. Use the explicit style 'transport=ASGITransport(app=...)'"
+    # It should have been addressed by upstream by then, but for some reason 
it is still failing
+    # Will try to reselect them at next release
+    --deselect 
tests/test_tutorial/test_async_tests/test_main.py::test_root[asyncio]
+    --deselect 
tests/test_tutorial/test_async_tests/test_main.py::test_async_testing[asyncio]
+    --deselect 
tests/test_tutorial/test_async_tests/test_main.py::test_root[trio]
+    --deselect 
tests/test_tutorial/test_async_tests/test_main.py::test_async_testing[trio]
   )
 
   cd $_name-$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fastapi/-/commit/1335af1b15958147bb21bb52dfde8cf1a71fe01f

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fastapi/-/commit/1335af1b15958147bb21bb52dfde8cf1a71fe01f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to