Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zewei Yang
aports
Commits
a66fbd13
Commit
a66fbd13
authored
9 months ago
by
Thermi
Committed by
Natanael Copa
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/py3-fastapi: upgrade to 0.111.0
parent
a4cd5d70
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/py3-fastapi/APKBUILD
+17
-16
17 additions, 16 deletions
testing/py3-fastapi/APKBUILD
with
17 additions
and
16 deletions
testing/py3-fastapi/APKBUILD
+
17
−
16
View file @
a66fbd13
# Contributor: Steven Guikal <void@fluix.one>
# Maintainer: Steven Guikal <void@fluix.one>
pkgname
=
py3-fastapi
pkgver
=
0.1
08
.0
pkgver
=
0.1
11
.0
pkgrel
=
0
pkgdesc
=
"Modern, high-performance, web framework for building APIs based on standard Python type hints"
url
=
"https://github.com/tiangolo/fastapi"
...
...
@@ -13,19 +13,21 @@ depends="
"
makedepends
=
"
py3-gpep517
py3-hatchling
py3-installer
py3-pdm-backend
"
checkdepends
=
"
py3-aiosqlite
py3-anyio
py3-databases
py3-dirty-equals
py3-email-validator
py3-flask
py3-httpx
py3-orjson
py3-passlib
py3-peewee
py3-pytest
py3-py
test-xdist
py3-py
dantic-settings
py3-python-jose
py3-python-multipart
py3-sqlalchemy
...
...
@@ -34,9 +36,7 @@ checkdepends="
py3-yaml
"
subpackages
=
"
$pkgname
-pyc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/tiangolo/fastapi/archive/refs/tags/
$pkgver
.tar.gz
pytest-markers.patch
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/tiangolo/fastapi/archive/refs/tags/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/fastapi-
$pkgver
"
build
()
{
...
...
@@ -46,13 +46,15 @@ build() {
}
check
()
{
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
.testenv/bin/python3
-m
installer .dist/
*
.whl
# Depends on older SQLAlchemy and slated for removal:
# https://github.com/tiangolo/fastapi/blob/dd4e78ca7b09abdf0d4646fe4697316c021a8b2e/requirements-tests.txt#L9
.testenv/bin/python3
-m
pytest
-p
no:warnings
\
--ignore-glob
"tests/test_tutorial/*sql_databases"
\
--ignore
tests/test_dependency_normal_exceptions.py
python3
-m
venv
--clear
--without-pip
--system-site-packages
testenv
testenv/bin/python3
-m
installer .dist/
*
.whl
# The deselected tests are failing with "DeprecationWarning: The 'app' shortcut is now deprecated..."
# This has to be addressed upstream
testenv/bin/python3
-m
pytest
\
--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]
}
package
()
{
...
...
@@ -61,6 +63,5 @@ package() {
}
sha512sums
=
"
c7f1b265c680e75e2654623e14c94d06fa880e219346d577c70bb070dbf15f424ebd4fa4450ce0e364dc4d794ba496dee8e24f20ff292ef6ee7f0eed2aee05a4 py3-fastapi-0.108.0.tar.gz
854946e3e52460edfd84cd44e254659354171e88245f4134c7f943a07bf3b08455ad81c54f4c58c50f639aa7288e25d81711f3d7867bbe2d6c83844e2fdd9921 pytest-markers.patch
3b613e4b2e7253fa08c09f961e69d384d2f44d07dc7f045b669c3e78f21a161715f3e9a0cb813a1c6e793f4a322160ec3eeb4eef90ba59db64bde9baaa539c13 py3-fastapi-0.111.0.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment