Your message dated Tue, 05 Nov 2024 00:19:28 +0000
with message-id <[email protected]>
and subject line Bug#1082132: fixed in aioftp 0.23.1-1
has caused the Debian Bug report #1082132,
regarding aioftp FTBFS with Python 3.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 [email protected]
immediately.)


-- 
1082132: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082132
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: aioftp
Version: 0.21.4-1
Severity: normal
User: [email protected]
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

dh_auto_test
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aioftp/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aioftp/build
configfile: pytest.ini
plugins: typeguard-4.3.0, asyncio-0.20.3, cov-5.0.0
asyncio: mode=Mode.STRICT
collected 778 items

tests/test_abort.py ..........                                           [  1%]
tests/test_client_side_socks.py ssssssss                                 [  2%]
tests/test_connection.py ............................................    [  7%]
tests/test_corner_cases.py ..............                                [  9%]
tests/test_current_directory.py ........                                 [ 10%]
tests/test_directory_actions.py ..................                       [ 13%]
tests/test_extra.py .......                                              [ 14%]
tests/test_file.py ..............................................        [ 19%]
tests/test_list_fallback.py ...........                                  [ 21%]
tests/test_login.py ................                                     [ 23%]
tests/test_maximum_connections.py ..........                             [ 24%]
tests/test_passive.py ....................                               [ 27%]
tests/test_pathio.py ................................................... [ 33%]
.............................................                            [ 39%]
tests/test_permissions.py ....                                           [ 40%]
tests/test_restart.py ......................                             [ 42%]
tests/test_simple_functions.py ......................................... [ 48%]
........................................................................ [ 57%]
........................................................................ [ 66%]
........................................................................ [ 75%]
................F

=================================== FAILURES ===================================
_______________________ test_get_paths_windows_traverse ________________________

    def test_get_paths_windows_traverse():
        base_path = pathlib.PureWindowsPath("C:\\ftp")
        user = aioftp.User()
        user.base_path = base_path
        connection = aioftp.Connection(current_directory=base_path, user=user)
        virtual_path = pathlib.PurePosixPath("/foo/C:\\windows")
        real_path, resolved_virtual_path = aioftp.Server.get_paths(
            connection,
            virtual_path,
        )
>       assert real_path == base_path
E       AssertionError: assert PureWindowsPath('C:/ftp/foo/C:/windows') == 
PureWindowsPath('C:/ftp')

tests/test_simple_functions.py:245: AssertionError
=============================== warnings summary ===============================
tests/test_file.py::test_stat_mlst[127.0.0.1]
tests/test_file.py::test_stat_mlst[::1]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aioftp/build/tests/test_file.py:241: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    now = dt.datetime.utcnow()

tests/test_list_fallback.py::test_client_fallback_to_list_at_list[127.0.0.1]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aioftp/build/aioftp/client.py:416: 
DeprecationWarning: Parsing dates involving a day of month without a year 
specified is ambiguious
  and fails to parse leap day. The default behavior will change in Python 3.15
  to either always raise an exception or to use a different default year (TBD).
  To avoid trouble, add a specific year to the input & format.
  See https://github.com/python/cpython/issues/70647.
    d = datetime.datetime.strptime(s, "%b %d %H:%M")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

-------- coverage: platform linux, python 3.13.0-candidate-2 ---------
Name                 Stmts   Miss  Cover   Missing
--------------------------------------------------
aioftp/__init__.py       8      0   100%
aioftp/__main__.py      32     32     0%   2-63
aioftp/client.py       488      2    99%   774, 882
aioftp/common.py       181      9    95%   345-349, 385-387, 480, 482
aioftp/errors.py        15      0   100%
aioftp/pathio.py       458      0   100%
aioftp/server.py       744     18    98%   43, 132, 461, 674, 750, 759, 
776-780, 857, 1031-1033, 1062-1063, 1248-1249
--------------------------------------------------
TOTAL                 1926     61    97%
Coverage XML written to file coverage.xml

============================= slowest 10 durations =============================
0.07s call     tests/test_file.py::test_recursive_remove[127.0.0.1]
0.07s call     tests/test_file.py::test_recursive_remove[::1]
0.05s call     
tests/test_list_fallback.py::test_client_fallback_to_list_at_list[127.0.0.1]
0.05s call     
tests/test_maximum_connections.py::test_multiply_connections_with_user_limited_error[::1]
0.04s call     
tests/test_list_fallback.py::test_client_fallback_to_list_at_list[::1]
0.04s call     tests/test_file.py::test_download_folder_into_another[127.0.0.1]
0.04s call     tests/test_file.py::test_download_folder[::1]
0.04s call     tests/test_file.py::test_download_folder[127.0.0.1]
0.04s call     tests/test_file.py::test_download_folder_into[::1]
0.04s call     tests/test_file.py::test_download_folder_into_another[::1]
=========================== short test summary info ============================
FAILED tests/test_simple_functions.py::test_get_paths_windows_traverse - Asse...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
============= 1 failed, 599 passed, 8 skipped, 3 warnings in 5.24s =============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aioftp/build; python3.13 -m pytest tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_aioftp/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_aioftp/build
configfile: pytest.ini
plugins: typeguard-4.3.0, asyncio-0.20.3, cov-5.0.0
asyncio: mode=Mode.STRICT
collected 778 items

tests/test_abort.py ..........                                           [  1%]
tests/test_client_side_socks.py ssssssss                                 [  2%]
tests/test_connection.py ............................................    [  7%]
tests/test_corner_cases.py ..............                                [  9%]
tests/test_current_directory.py ........                                 [ 10%]
tests/test_directory_actions.py ..................                       [ 13%]
tests/test_extra.py .......                                              [ 14%]
tests/test_file.py ..............................................        [ 19%]
tests/test_list_fallback.py ...........                                  [ 21%]
tests/test_login.py ................                                     [ 23%]
tests/test_maximum_connections.py ..........                             [ 24%]
tests/test_passive.py ....................                               [ 27%]
tests/test_pathio.py ................................................... [ 33%]
.............................................                            [ 39%]
tests/test_permissions.py ....                                           [ 40%]
tests/test_restart.py ......................                             [ 42%]
tests/test_simple_functions.py ......................................... [ 48%]
........................................................................ [ 57%]
........................................................................ [ 66%]
........................................................................ [ 75%]
.................                                                        [ 78%]
tests/test_throttle.py ................................................. [ 84%]
........................................................................ [ 93%]
................................................                         [ 99%]
tests/test_user.py .                                                     [100%]

=============================== warnings summary ===============================
tests/test_file.py::test_stat_mlst[127.0.0.1]
tests/test_file.py::test_stat_mlst[::1]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_aioftp/build/tests/test_file.py:241: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    now = dt.datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.12.6-final-0 -----------
Name                 Stmts   Miss  Cover   Missing
--------------------------------------------------
aioftp/__init__.py       8      0   100%
aioftp/__main__.py      32     32     0%   2-63
aioftp/client.py       488      2    99%   774, 882
aioftp/common.py       181      0   100%
aioftp/errors.py        15      0   100%
aioftp/pathio.py       458      0   100%
aioftp/server.py       744     14    98%   43, 461, 674, 750, 759, 776-780, 
857, 1062-1063, 1248-1249
--------------------------------------------------
TOTAL                 1926     48    98%
Coverage XML written to file coverage.xml

============================= slowest 10 durations =============================
0.08s call     
tests/test_throttle.py::test_server_side_throttle[127.0.0.1-throttle-download-write-3-30]
0.08s call     
tests/test_throttle.py::test_server_side_throttle[127.0.0.1-throttle_per_connection-download-write-3-30]
0.08s call     
tests/test_throttle.py::test_server_side_throttle[127.0.0.1-throttle-download-write-3-20]
0.08s call     
tests/test_throttle.py::test_server_side_throttle[127.0.0.1-throttle-download-write-3-10]
0.08s call     
tests/test_throttle.py::test_server_side_throttle[::1-throttle_per_connection-download-write-3-10]
0.08s call     
tests/test_throttle.py::test_server_side_throttle[::1-throttle-download-write-3-10]
0.07s call     
tests/test_throttle.py::test_server_side_throttle[::1-throttle-download-write-3-30]
0.07s call     
tests/test_throttle.py::test_server_side_throttle[::1-throttle-download-write-3-20]
0.07s call     
tests/test_throttle.py::test_server_side_throttle[127.0.0.1-throttle_per_connection-download-write-3-20]
0.07s call     
tests/test_throttle.py::test_server_side_throttle[::1-throttle_per_connection-download-write-3-20]
================= 770 passed, 8 skipped, 2 warnings in 13.12s ==================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-18T16:31:35Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/776572/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: aioftp
Source-Version: 0.23.1-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aioftp, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated aioftp 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 [email protected])


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

Format: 1.8
Date: Mon, 04 Nov 2024 23:51:33 +0000
Source: aioftp
Architecture: source
Version: 0.23.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1082132
Changes:
 aioftp (0.23.1-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release:
     - server: fix pathlib `relative_to` issue (closes: #1082132).
   * Use pybuild-plugin-pyproject.
Checksums-Sha1:
 0bd90bf72e2e704308f02bf272350bb39b4da4bf 2427 aioftp_0.23.1-1.dsc
 97956a60b0171ad905ccd598a218c5b44a53a3f8 75825 aioftp_0.23.1.orig.tar.gz
 57ba4212160c9c7358dea6cda7dc68691433e92a 4444 aioftp_0.23.1-1.debian.tar.xz
Checksums-Sha256:
 8c4a9b77529f52a6ff7a5a6e9909ef7c4adc8f3685fc301386a2a20859ba9db0 2427 
aioftp_0.23.1-1.dsc
 85d38e8211d9f41b07c47cb97c739ff935de992f593ee0ef2333fb2d89a046c6 75825 
aioftp_0.23.1.orig.tar.gz
 7e4443ceee9b458f974dfb7f6779c81fd36cc520c1feb7d5401473753eaaf482 4444 
aioftp_0.23.1-1.debian.tar.xz
Files:
 586cb67de7cdc380ccfda8b9ab2d92fc 2427 python optional aioftp_0.23.1-1.dsc
 286dc8ca7ce65c34f2645556dbf5cb6c 75825 python optional 
aioftp_0.23.1.orig.tar.gz
 a125133c6309be4d93636f5a7c49a50f 4444 python optional 
aioftp_0.23.1-1.debian.tar.xz

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

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmcpXlkACgkQOTWH2X2G
UAvznRAAjWU+sgbXxC3/Ff+jC3RE+7//zSTE7JH7ARoFDUhH2hTbviEbZi+9Yy7z
nCfhVEjRPBJAQbv5ZRnKjy8NssFIYqqKAmc/9+SlXX7gT9PNUsCee0jggfMKzxeH
pFRDzMM/6x6Zr6RwMLcytQBDwmpKXDNPBsq7/+a2F+yrCo8ps/MRQ2rmBlDr18Sn
qMfkLsuVgpTvvw9q19x0rKmCwziVOzq9TtktwOrhv0vsenx5d2FpcEVXAGr0Pkli
DZu6xC7XyC7xBPanYZk3eHCE6Sq7Hid5GIsLcoQVHaje2ye+MzedFSbhQjdiKuJ0
oID9/JPzBjpAoIJ+403xJJx3gWrnyjNWLsG2zQfKGm8ksDN4u6KIWcvOgfrpTn3h
vfiCOY1vy45s7UQsnxOyB/7DMKz2mH3O3FnPhqxL1V6Kv3FXKvj/g3tN2rog4bPn
SMkY/wpgwwoR6ozfIrdn8dRNHR14o1ovhdhyJS3yFkknX+b3bDZvNPjSSssdIYig
+vQaGwNPG6kCjx5FsHqSWEbl2MU2Dgj1bvsjSV3geoZYraEeRenDwHzS0X8v0zSC
lBm9TjbucGvCg9zJUrfuUvA0nfv5pYODrFHiqALxqXMbeNMZ7Xur/PwBIfGxU/lp
c7KbVcMMW7FalIYp8g43eaworLzBvXpK2dGxsMrTXILZA15xKV0=
=m7uD
-----END PGP SIGNATURE-----

Attachment: pgpIrcAuUum_T.pgp
Description: PGP signature


--- End Message ---

Reply via email to