From a9bd722d671a2b6e2742c44334c6c83bc66fc6e9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 9 May 2023 19:53:30 +0200 Subject: gnu: python-fastapi: Do not delete tests, and add orjson. * gnu/packages/python-web.scm (python-fastapi)[arguments]: Remove all custom phases; ignore two test files. [propagated-inputs]: Add python-orjson. --- gnu/packages/python-web.scm | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 99853acec5..486414c3f1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8287,32 +8287,16 @@ Interface) framework/toolkit for building async web services in Python.") (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'drop-orjson - (lambda _ - (substitute* "pyproject.toml" - (("\"orjson.*\",") "")))) - (add-after 'unpack 'delete-failing-tests - (lambda _ - (for-each - delete-file - (append - '("docs_src/app_testing/app_b_py310/test_main.py" - "tests/test_tutorial/test_templates/test_tutorial001.py") - (find-files "docs_src/sql_databases/" - "test_sql_app\\.py$") - (find-files "tests" - "test_(default|orjson)_response_class\\.py$") - (find-files "tests/test_tutorial" - "test_tutorial00(1b|9c)\\.py$") - (find-files "tests/test_tutorial" - "test_testing_databases.*\\.py$")))))))) + #:test-flags + ;; The test_create_user tests fail with a 400 error: "Email already registered". + '(list "--ignore=docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py" + "--ignore=docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py"))) (propagated-inputs (list python-email-validator python-httpx python-itsdangerous python-jinja2 python-multipart + python-orjson python-starlette python-pydantic python-pyyaml -- cgit v1.2.3 ontent'>
AgeCommit message (Expand)Author
2022-01-27gnu: libjami: Produce usable debug symbols....Maxim Cournoyer
2022-01-27gnu: jami-libclient: Properly return the list of audio managers....Maxim Cournoyer
2022-01-27gnu: jami: Reduce memory consumption in conversation view....Maxim Cournoyer
2022-01-16gnu: jami: Use OpenGL, not OpenGL ES....Maxim Cournoyer
2022-01-14gnu: jami-gnome: Fix version string....Maxim Cournoyer
2022-01-14gnu: jami: Fix version string....Maxim Cournoyer
2022-01-14gnu: jami: Fix crash on exit....Maxim Cournoyer
2022-01-13gnu: jami: Update to 20211223.2.37be4c3....Maxim Cournoyer
2021-12-17gnu: Remove unneeded uses of custom GCC versions....Marius Bakke
2021-12-13gnu: Simplify package inputs....Ludovic Courtès
2021-11-11gnu: jami-gnome: Fix build with webkitgtk 2.34.1....Maxim Cournoyer
2021-11-11gnu: jsoncpp: Apply patch to regular package....Maxim Cournoyer