Your message dated Sun, 27 Feb 2022 03:48:39 +0000
with message-id <e1noay3-000awn...@fasolo.debian.org>
and subject line Bug#1005635: fixed in fastapi 0.74.1-1
has caused the Debian Bug report #1005635,
regarding sqlmodel: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p "3.10 3.9" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1005635: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005635
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sqlmodel
Version: 0.0.6-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> tests/test_tutorial/test_fastapi/test_update/test_tutorial001.py:248: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/requests/sessions.py:590: in post
>     return self.request('POST', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/starlette/testclient.py:474: in request
>     return super().request(
> /usr/lib/python3/dist-packages/requests/sessions.py:542: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:655: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/starlette/testclient.py:268: in send
>     raise exc
> /usr/lib/python3/dist-packages/starlette/testclient.py:265: in send
>     portal.call(self.app, scope, receive, send)
> /usr/lib/python3/dist-packages/anyio/from_thread.py:240: in call
>     return cast(T_Retval, self.start_task_soon(func, *args).result())
> /usr/lib/python3.9/concurrent/futures/_base.py:446: in result
>     return self.__get_result()
> /usr/lib/python3.9/concurrent/futures/_base.py:391: in __get_result
>     raise self._exception
> /usr/lib/python3/dist-packages/anyio/from_thread.py:187: in _call_func
>     retval = await retval
> /usr/lib/python3/dist-packages/fastapi/applications.py:212: in __call__
>     await super().__call__(scope, receive, send)
> /usr/lib/python3/dist-packages/starlette/applications.py:119: in __call__
>     await self.middleware_stack(scope, receive, send)
> /usr/lib/python3/dist-packages/starlette/middleware/errors.py:181: in __call__
>     raise exc
> /usr/lib/python3/dist-packages/starlette/middleware/errors.py:159: in __call__
>     await self.app(scope, receive, _send)
> /usr/lib/python3/dist-packages/starlette/exceptions.py:87: in __call__
>     raise exc
> /usr/lib/python3/dist-packages/starlette/exceptions.py:76: in __call__
>     await self.app(scope, receive, sender)
> /usr/lib/python3/dist-packages/starlette/routing.py:659: in __call__
>     await route.handle(scope, receive, send)
> /usr/lib/python3/dist-packages/starlette/routing.py:259: in handle
>     await self.app(scope, receive, send)
> /usr/lib/python3/dist-packages/starlette/routing.py:61: in app
>     response = await func(request)
> /usr/lib/python3/dist-packages/fastapi/routing.py:216: in app
>     solved_result = await solve_dependencies(
> /usr/lib/python3/dist-packages/fastapi/dependencies/utils.py:465: in 
> solve_dependencies
>     response = response or Response(
> /usr/lib/python3/dist-packages/starlette/responses.py:50: in __init__
>     self.init_headers(headers)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <starlette.responses.Response object at 0x7fba1e52fcd0>, headers = None
> 
>     def init_headers(self, headers: typing.Mapping[str, str] = None) -> None:
>         if headers is None:
>             raw_headers: typing.List[typing.Tuple[bytes, bytes]] = []
>             populate_content_length = True
>             populate_content_type = True
>         else:
>             raw_headers = [
>                 (k.lower().encode("latin-1"), v.encode("latin-1"))
>                 for k, v in headers.items()
>             ]
>             keys = [h[0] for h in raw_headers]
>             populate_content_length = b"content-length" not in keys
>             populate_content_type = b"content-type" not in keys
>     
>         body = getattr(self, "body", None)
>         if (
>             body is not None
>             and populate_content_length
> >           and not (self.status_code < 200 or self.status_code in (204, 304))
>         ):
> E       TypeError: '<' not supported between instances of 'NoneType' and 'int'
> 
> /usr/lib/python3/dist-packages/starlette/responses.py:77: TypeError
> =============================== warnings summary 
> ===============================
> tests/test_advanced/test_decimal/test_tutorial001.py::test_tutorial
>   /<<PKGBUILDDIR>>/sqlmodel/orm/session.py:60: SAWarning: Dialect 
> sqlite+pysqlite does *not* support Decimal objects natively, and SQLAlchemy 
> must convert from floating point - rounding errors and other issues may 
> occur. Please consider storing Decimal numbers as strings or integers on this 
> platform for lossless storage.
>     results = super().execute(
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_create_hero_incomplete
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_create_hero_invalid
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_read_heroes
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_read_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_update_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py::test_delete_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_001.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_002.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_003.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_004.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_005.py::test_create_hero
> FAILED 
> docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_006.py::test_create_hero
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests002.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests003.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests004.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests005.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests006.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_create_hero
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_create_hero_incomplete
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_create_hero_invalid
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_read_heroes
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_read_hero
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_update_hero
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_delete_hero
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_read_hero_not_found
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_update_hero_not_found
> FAILED 
> tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_delete_hero_not_found
> FAILED 
> tests/test_tutorial/test_fastapi/test_delete/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_limit_and_offset/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_multiple_models/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_multiple_models/test_tutorial002.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_read_one/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_relationships/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_response_model/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_session_with_dependency/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_simple_hero_api/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_teams/test_tutorial001.py::test_tutorial
> FAILED 
> tests/test_tutorial/test_fastapi/test_update/test_tutorial001.py::test_tutorial
> ============ 40 failed, 71 passed, 3 deselected, 1 warning in 6.31s 
> ============
> E: pybuild pybuild:367: test: plugin custom failed with: exit code=1: 
> PYTHONPATH=/<<PKGBUILDDIR>> python3.9 -m pytest -k 'not 
> test_create_db_and_table' 
>       rm -fr -- /tmp/dh-xdg-rundir-MN7TNYme
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/sqlmodel_0.0.6-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: fastapi
Source-Version: 0.74.1-1
Done: Sandro Tosi <mo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
fastapi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1005...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated fastapi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 26 Feb 2022 22:32:18 -0500
Source: fastapi
Architecture: source
Version: 0.74.1-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 1005547 1005635
Changes:
 fastapi (0.74.1-1) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
 .
   [ Sandro Tosi ]
   * New upstream release
   * debian/control
     - remove pytest-asyncio from b-d, not needed
   * debian/patches/PR4483.patch
     - support starlette 0.18.0; Closes: #1005547, #1005635
Checksums-Sha1:
 fc1239042e1a4acf46a652b23a07539537ca0706 2453 fastapi_0.74.1-1.dsc
 5b99b24d8ddc27ce2b71457a5c88412547532960 5717964 fastapi_0.74.1.orig.tar.xz
 9aaa1715e16445c02d7e7173341c7196be8e2968 4644 fastapi_0.74.1-1.debian.tar.xz
 957e888016badbbd532aceb75d0557e2d0b45114 9376 fastapi_0.74.1-1_source.buildinfo
Checksums-Sha256:
 793d7b5fb042a46432108684fe41c2d69c6d6340fd9f9e336779d58969bb940a 2453 
fastapi_0.74.1-1.dsc
 8f1c2721fd1ec7cc1aa3a99763d3a438d6e84cad322cefcced6abc2393a43bda 5717964 
fastapi_0.74.1.orig.tar.xz
 0740f12b53f1d8f3e2392538780c865b216b97194dbea5a0f931264a59db796c 4644 
fastapi_0.74.1-1.debian.tar.xz
 eb01a40f394e79836e2bfb016dbd9db647cf2758e1b8736c6abab26d64c4b21d 9376 
fastapi_0.74.1-1_source.buildinfo
Files:
 9b472ed26cd36966e47989947f54e309 2453 python optional fastapi_0.74.1-1.dsc
 da2e76f41fded57667518e8271d16eec 5717964 python optional 
fastapi_0.74.1.orig.tar.xz
 d00b03f6290ce82fc188cdb3969ec568 4644 python optional 
fastapi_0.74.1-1.debian.tar.xz
 d8184cb7cbfdc3b8148766036380102b 9376 python optional 
fastapi_0.74.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmIa8NoACgkQh588mTgB
qU9nvg//T+sbhwuitwveeCM75W3MxKOZ3pyP6XgM8xF1OLicdwNv7aSr0U3MNonD
niz6M0XRws+1NPH3JIVM61E+vaZiomWV2L4vZRErRl8QpZEfrcMElzLejb6f1WXy
q2uIc3DdrWN8DJKYvnxqfTHnvRi5+MNKQj9m+XEPzRSHqceRNmNncjFHqehRHA2R
cURryIO1wF/W5Fvl0lt+4JTXQ6ghdSXhuZQwy1+9PLC5JncSOY3cjKoqW/Lgf4P6
ClSlDqRKqnsK2t1A9Mqfu3n6cVAZJb6W8r1IWxBLUnLP/GQbNBDxAfdu/eIqUWBg
GwrkuwMq7VjsNlvMTPG3MsztHWxu3ByJ7vz61cF5wHTULrQ+fhVrtbe54pk5Cusj
ZHfbkjDhuhmNF56NFu5usjvHJoJeQMTLkrwu7nBPYPMhfUGh/YzSybvDJMaZlR0/
zFqd7WmZ8xqfyay+f9bAyoGJiiTidYwP/yxpuqS1qIthJvb1IRTnMe+gssFGO9b5
db9u05PFtcT8YCV6suMrl4P4LAh1MZoOrU1cyAJtOBW2MxrWmeOwPVMCOedzUM+f
6TH2iNpaAh1O822xjRoURV4hQAZYFf1gtc50IvMkkGgJHG6pnxFB7TAB2+5cteh9
PshAlMs9wmcwLgIAFOp21VotGSgIpAhNdIAzUasWVWbO/jrjbXE=
=cWq/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to