Your message dated Fri, 09 Dec 2022 22:14:30 +0000
with message-id <e1p3ldw-00eovo...@fasolo.debian.org>
and subject line Bug#1025242: fixed in fastapi 0.88.0-1
has caused the Debian Bug report #1025242,
regarding fastapi: FTBFS with python3.11
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.)
--
1025242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025242
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: fastapi
Severity: serious
Version: 0.85.0-2
Hello,
fastapi FTBFS with added support for python3.11:
pybuild --test --test-pytest -i python{version} -p "3.11 3.10"
I: pybuild base:240: PYTHONPATH=/<<PKGBUILDDIR>>/build/lib/ python3.11
-m pytest tests/ --ignore=tests/test_default_response_class.py
--ignore-glob=tests/test_tutorial/test_security/test_tutorial005*
--ignore=te
sts/test_tutorial/test_custom_response/test_tutorial009c.py
--ignore=tests/test_response_by_alias.py -k ' not
test_get_custom_response and not test_root and not test_async_testing
and not test_orjson_non_str_key
s'
============================= test session starts
==============================
platform linux -- Python 3.11.0+, pytest-7.1.2, pluggy-1.0.0+repack
rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
plugins: anyio-3.6.2
collected 35 items / 287 errors
==================================== ERRORS
====================================
_____________ ERROR collecting tests/test_additional_properties.py
_____________
tests/test_additional_properties.py:3: in <module>
from fastapi import FastAPI
fastapi/__init__.py:7: in <module>
from .applications import FastAPI as FastAPI
fastapi/applications.py:15: in <module>
from fastapi import routing
fastapi/routing.py:23: in <module>
from fastapi.dependencies.models import Dependant
fastapi/dependencies/models.py:3: in <module>
from fastapi.security.base import SecurityBase
fastapi/security/__init__.py:1: in <module>
from .api_key import APIKeyCookie as APIKeyCookie
fastapi/security/api_key.py:3: in <module>
from fastapi.openapi.models import APIKey, APIKeyIn
fastapi/openapi/models.py:8: in <module>
import email_validator # type: ignore
/usr/lib/python3/dist-packages/email_validator/__init__.py:6: in <module>
import dns.resolver
/usr/lib/python3/dist-packages/dns/resolver.py:38: in <module>
import dns.query
/usr/lib/python3/dist-packages/dns/query.py:52: in <module>
import httpx
/usr/lib/python3/dist-packages/httpx/__init__.py:2: in <module>
from ._api import delete, get, head, options, patch, post, put,
request, stream
/usr/lib/python3/dist-packages/httpx/_api.py:4: in <module>
from ._client import Client
/usr/lib/python3/dist-packages/httpx/_client.py:9: in <module>
from ._auth import Auth, BasicAuth, FunctionAuth
/usr/lib/python3/dist-packages/httpx/_auth.py:10: in <module>
from ._models import Request, Response
/usr/lib/python3/dist-packages/httpx/_models.py:1: in <module>
import cgi
/usr/lib/python3.11/cgi.py:57: in <module>
warnings._deprecated(__name__, remove=(3,13))
/usr/lib/python3.11/warnings.py:514: in _deprecated
warn(msg, DeprecationWarning, stacklevel=3)
E DeprecationWarning: 'cgi' is deprecated and slated for removal in
Python 3.13
Many similar failures follow as well, skipped here for brevity.
Andrius
--- End Message ---
--- Begin Message ---
Source: fastapi
Source-Version: 0.88.0-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 1025...@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: Fri, 09 Dec 2022 16:38:27 -0500
Source: fastapi
Architecture: source
Version: 0.88.0-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 1025242
Changes:
fastapi (0.88.0-1) unstable; urgency=medium
.
* New upstream release
* debian/control
- bump httpx b-d to >= 0.23.1, needed for python 3.11 compatibility;
Closes: #1025242
- bump b-d on starlette to >= 0.22.0
- add trio to b-d, needed by tests
* debian/rules
- ignore DeprecationWarnins during pytest
Checksums-Sha1:
b3b0ab73aada1418c20ad3e57c02e74011bebdae 2503 fastapi_0.88.0-1.dsc
662f3f943aba87ba3e60ceb197f822b8a2009501 8880132 fastapi_0.88.0.orig.tar.xz
d60344b0a89e91565356e3e8a0d3c62572e1ce77 4024 fastapi_0.88.0-1.debian.tar.xz
49fe0fdaa5171f4a416ddee8fac19c7e2d7d12ef 8786 fastapi_0.88.0-1_source.buildinfo
Checksums-Sha256:
b5a5b4ad23011d1417e789373ea84ca6a47bcf66b85fb743c2be4d3169c5e511 2503
fastapi_0.88.0-1.dsc
69314ab208dcb2b41b5406750953f6f36e6b60d92888a7eb8c8ae0c86b538854 8880132
fastapi_0.88.0.orig.tar.xz
5e70311fde64c8a200088de3ca3ba141e4e2b100af73268729fe410302fca0f3 4024
fastapi_0.88.0-1.debian.tar.xz
c743c3f478551c5de09bc08f7a8939780bb8ef768ebc837e7c33f4fee55ad9a6 8786
fastapi_0.88.0-1_source.buildinfo
Files:
f8371afd80bbbd1b4e1b758b8de8e6d7 2503 python optional fastapi_0.88.0-1.dsc
49ca1d4b84382efa7c1fd25df0225e5b 8880132 python optional
fastapi_0.88.0.orig.tar.xz
349d8545d150d8c9d8527460ad8d4f0f 4024 python optional
fastapi_0.88.0-1.debian.tar.xz
289eddbc69f0d4206edda8b6c9106d10 8786 python optional
fastapi_0.88.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmOTrFQACgkQh588mTgB
qU9v9w/+OjgwA7TPeJGUVo52P5inw6+Wa0ckgRG1gk5NFZmTSoRPHQ4v+nxiG9Jh
a6xdC+ZCD5kVtARsqTGVXqaAIB6HErQ0I2bMbcjRRquXK+Vs0QM6tIw9vYHm9l/v
ggEHNuehTviT/Fv5UHz00LGWt6QULH5R8cPyQGkM9p9vop6nApcOVprXAX+U68UN
VlFTHH+jKOVVVoIlQNIAF48TaAMM3pjrVCstlxBgfxZa6M6ATO4U1CHM9vR6GvVY
J85k9OLX87MvtQv750hxaDzt4OGrOJ9Z1yQTkG1Jaj0pQ2ADmge9YWazdhRdAez9
j9ahKFM7RCkQ8lT77K5mMVC98zCJNqfbUNUbuz4npOu2WpSXgo1EMRl1DBUHwsC1
3mRf4f+hwqWwaTbTCHSQe0grVBrUJF6RN5io/oJiXZDZfJTYBXghfeA0/hPuhBl5
pddR0ppwiGS1drX9jznXYxZGFz76aa0PYb0yY1uaOrIhjg7f4zB0N3+qiUppxCSO
F6eINwu/yjV87rUD8KTx37BbSitKhV/bj+a0UgcUx8i11zc9+1Fy2+mwme5oebGm
i8pxpxyQE6opKD0UMZ0OIOCvWjA+ipcB51TrPoErM+jaIzkfYii3RbVs6KKyOIET
t0WKlu1arKzT/gys0zimKdoG3wRlXb81Vn7/c2HmhtDuFJM6SPo=
=0hvZ
-----END PGP SIGNATURE-----
--- End Message ---