Your message dated Sat, 16 Dec 2023 21:04:55 +0000
with message-id <e1rebqb-00ewep...@fasolo.debian.org>
and subject line Bug#1058312: fixed in python-pytest-toolbox 0.4-4
has caused the Debian Bug report #1058312,
regarding python-pytest-toolbox: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.12 3.11" 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.)


-- 
1058312: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058312
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pytest-toolbox
Version: 0.4-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/main.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/comparison.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build/pytest_toolbox
> running egg_info
> creating pytest_toolbox.egg-info
> writing pytest_toolbox.egg-info/PKG-INFO
> writing dependency_links to pytest_toolbox.egg-info/dependency_links.txt
> writing entry points to pytest_toolbox.egg-info/entry_points.txt
> writing requirements to pytest_toolbox.egg-info/requires.txt
> writing top-level names to pytest_toolbox.egg-info/top_level.txt
> writing manifest file 'pytest_toolbox.egg-info/SOURCES.txt'
> reading manifest file 'pytest_toolbox.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'pytest_toolbox.egg-info/SOURCES.txt'
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/main.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/pytest_toolbox
> copying pytest_toolbox/comparison.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/pytest_toolbox
> running egg_info
> writing pytest_toolbox.egg-info/PKG-INFO
> writing dependency_links to pytest_toolbox.egg-info/dependency_links.txt
> writing entry points to pytest_toolbox.egg-info/entry_points.txt
> writing requirements to pytest_toolbox.egg-info/requires.txt
> writing top-level names to pytest_toolbox.egg-info/top_level.txt
> reading manifest file 'pytest_toolbox.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'pytest_toolbox.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build; python3.12 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: timeout-2.2.0
> timeout: 10.0s
> timeout method: signal
> timeout func_only: False
> collected 20 items
> 
> tests/test_comparison.py FFFF......                                      [ 
> 50%]
> tests/test_methods.py ..........                                         
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ____________________________ test_close_to_now_true 
> ____________________________
> 
>     def test_close_to_now_true():
> >       c2n = CloseToNow()
> 
> tests/test_comparison.py:10: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <[AttributeError("'CloseToNow' object has no attribute 'match'") 
> raised in repr()] CloseToNow object at 0x7fa92a04d0a0>
> delta = 2
> 
>     def __init__(self, delta=2):
>         self.delta: float = delta
> >       self.now = datetime.utcnow()
> E       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).
> 
> pytest_toolbox/comparison.py:11: DeprecationWarning
> __________________________ test_close_to_now_true_dt 
> ___________________________
> 
>     def test_close_to_now_true_dt():
> >       assert datetime.utcnow() == CloseToNow()
> E       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).
> 
> tests/test_comparison.py:17: DeprecationWarning
> ___________________________ test_close_to_now_false 
> ____________________________
> 
>     def test_close_to_now_false():
> >       c2n = CloseToNow()
> 
> tests/test_comparison.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <[AttributeError("'CloseToNow' object has no attribute 'match'") 
> raised in repr()] CloseToNow object at 0x7fa92a08e690>
> delta = 2
> 
>     def __init__(self, delta=2):
>         self.delta: float = delta
> >       self.now = datetime.utcnow()
> E       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).
> 
> pytest_toolbox/comparison.py:11: DeprecationWarning
> _____________________________ test_clow_to_now_tz 
> ______________________________
> 
>     def test_clow_to_now_tz():
>         diff = timedelta(hours=2)
> >       dt = datetime.utcnow().replace(tzinfo=timezone(offset=diff)) + diff
> E       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).
> 
> tests/test_comparison.py:29: DeprecationWarning
> =========================== short test summary info 
> ============================
> FAILED tests/test_comparison.py::test_close_to_now_true - 
> DeprecationWarning:...
> FAILED tests/test_comparison.py::test_close_to_now_true_dt - 
> DeprecationWarni...
> FAILED tests/test_comparison.py::test_close_to_now_false - 
> DeprecationWarning...
> FAILED tests/test_comparison.py::test_clow_to_now_tz - DeprecationWarning: 
> da...
> ========================= 4 failed, 16 passed in 0.19s 
> =========================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-toolbox/build; python3.12 -m 
> pytest tests
> I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build; python3.11 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: timeout-2.2.0
> timeout: 10.0s
> timeout method: signal
> timeout func_only: False
> collected 20 items
> 
> tests/test_comparison.py ..........                                      [ 
> 50%]
> tests/test_methods.py ..........                                         
> [100%]
> 
> ============================== 20 passed in 0.21s 
> ==============================
> I: pybuild pybuild:340: rm -rf 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-toolbox/build/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-pytest-toolbox_0.4-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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: python-pytest-toolbox
Source-Version: 0.4-4
Done: Timo Röhling <roehl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pytest-toolbox, 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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Röhling <roehl...@debian.org> (supplier of updated python-pytest-toolbox 
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: SHA512

Format: 1.8
Date: Sat, 16 Dec 2023 21:42:52 +0100
Source: python-pytest-toolbox
Architecture: source
Version: 0.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Timo Röhling <roehl...@debian.org>
Closes: 1058312
Changes:
 python-pytest-toolbox (0.4-4) unstable; urgency=medium
 .
   * Team upload.
   * Make Python warnings non-fatal (Closes: #1058312)
   * Remove superfluous copy of test files
Checksums-Sha1:
 92a951492e0ca3979bfab8cef3b7a9aa2c13f30a 2239 python-pytest-toolbox_0.4-4.dsc
 ee69ef14c9839f77003d02c371bbd097afca28ee 3868 
python-pytest-toolbox_0.4-4.debian.tar.xz
Checksums-Sha256:
 aace103ba7595e6110540453fec3664eafac0449dc29ae2b987a4dff74784a93 2239 
python-pytest-toolbox_0.4-4.dsc
 c1019c6a85b172cac18296108da9824bca51d802df62f53fa59cee45718534bb 3868 
python-pytest-toolbox_0.4-4.debian.tar.xz
Files:
 c886447a54664a8b28da7d390767998c 2239 python optional 
python-pytest-toolbox_0.4-4.dsc
 79b74d33ec5a0ddd192e79c53844932b 3868 python optional 
python-pytest-toolbox_0.4-4.debian.tar.xz

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

iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmV+DGMUHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVkdDAwAuyjwhI0aDLnHAivuI11jbYC6L3F+
RofaDz/qXH5Z/ItPK+RVsiloAuM5S1vy9aEVFvBPWOTwK+B8cbS5E20f4FLcOgsH
cCaOnEnukPCOb6Tim53ASCpsu+zEuWjh43mp1vu45+mxccmfFBwGks0ZhmiE5SHP
DKYyueXU0O0GCTO/vsoIMRfkLaxPBI76Ty/khjXqEfHmHsjQhnMBdmA9pMxjHINZ
GLj6CfkEuWMO1xWFZDk1eB0t++xKychDc/60GMQ+NhdLvayZG/hb8n3zzXR7PBzv
pkyJ8B5RzQ/w/nvpmw4lTDVOvbwXxCErle1r9v680lkT1ROi8O8ucqWMAw0KZBz8
WibRLVxHZNDC58YdzXtqUKpczHu0bRkUGa3cHo0yjtkaXKLTFH3F1BGhX9mP8Dzu
3fygOZtkhgTlr7hUegQWz7EEHraV373YYWMcyLrZpGorF4Ind7Ot6jDvy2mIkQQH
i/faG25wmUZ1aOICExSjVH9YjRUYesTwkZWO
=xUri
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to