Your message dated Mon, 20 Jan 2025 12:19:28 +0000
with message-id <e1tzqka-00fsa9...@fasolo.debian.org>
and subject line Bug#1090225: fixed in freezegun 1.5.1-1.2
has caused the Debian Bug report #1090225,
regarding freezegun: FTBFS: E AssertionError: FakeDate(2013, 4, 9) !=
datetime.datetime(2013, 4, 9, 0, 0)
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.)
--
1090225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090225
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:freezegun
Version: 1.5.1-1.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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
pybuild --configure -i python{version} -p "3.13 3.12"
I: pybuild base:311: python3.13 setup.py config
running config
I: pybuild base:311: python3.12 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p "3.13 3.12"
I: pybuild base:311: /usr/bin/python3.13 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
copying freezegun/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
copying freezegun/_async.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
copying freezegun/config.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
copying freezegun/api.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
running egg_info
creating freezegun.egg-info
writing freezegun.egg-info/PKG-INFO
writing dependency_links to freezegun.egg-info/dependency_links.txt
writing requirements to freezegun.egg-info/requires.txt
writing top-level names to freezegun.egg-info/top_level.txt
writing manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyi' under directory 'freezegun'
warning: no previously-included files matching '__pycache__' found anywhere in
distribution
warning: no previously-included files matching '*.py[co]' found anywhere in
distribution
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
writing manifest file 'freezegun.egg-info/SOURCES.txt'
copying freezegun/py.typed ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/freezegun
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
copying freezegun/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
copying freezegun/_async.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
copying freezegun/config.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
copying freezegun/api.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
running egg_info
writing freezegun.egg-info/PKG-INFO
writing dependency_links to freezegun.egg-info/dependency_links.txt
writing requirements to freezegun.egg-info/requires.txt
writing top-level names to freezegun.egg-info/top_level.txt
reading manifest file 'freezegun.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyi' under directory 'freezegun'
warning: no previously-included files matching '__pycache__' found anywhere in
distribution
warning: no previously-included files matching '*.py[co]' found anywhere in
distribution
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
writing manifest file 'freezegun.egg-info/SOURCES.txt'
copying freezegun/py.typed ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/freezegun
dh_auto_test -O--buildsystem=pybuild
pybuild --test --test-pytest -i python{version} -p "3.13 3.12"
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build; python3.13 -m pytest
tests
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 137 items
tests/test_asyncio.py ..... [ 3%]
tests/test_class_import.py .............. [ 13%]
tests/test_configure.py ..... [ 17%]
tests/test_datetimes.py .................s.....s.....s.s................ [ 52%]
FFF....................s [ 70%]
tests/test_errors.py .. [ 71%]
tests/test_import_alias.py ... [ 73%]
tests/test_operations.py ............. [ 83%]
tests/test_pickle.py ... [ 85%]
tests/test_sqlite3.py .. [ 86%]
tests/test_ticking.py .s.......... [ 95%]
tests/test_utils.py .. [ 97%]
tests/test_uuid.py .. [ 98%]
tests/test_warnings.py .. [100%]
=================================== FAILURES ===================================
_
TestUnitTestMethodDecorator.test_method_decorator_works_on_unittest_kwarg_frozen_time
_
self = <tests.test_datetimes.TestUnitTestMethodDecorator
testMethod=test_method_decorator_works_on_unittest_kwarg_frozen_time>
frozen_time = <freezegun.api.FrozenDateTimeFactory object at 0x7fa80cbc9d60>
@freeze_time('2013-04-09', as_kwarg='frozen_time')
def test_method_decorator_works_on_unittest_kwarg_frozen_time(self,
frozen_time: Any) -> None:
self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
> self.assertEqual(datetime.date(2013, 4, 9),
> frozen_time.time_to_freeze.today())
E AssertionError: FakeDate(2013, 4, 9) != datetime.datetime(2013, 4, 9,
0, 0)
tests/test_datetimes.py:537: AssertionError
_
TestUnitTestMethodDecorator.test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func
_
self = <tests.test_datetimes.TestUnitTestMethodDecorator
testMethod=test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func>
frozen_time = <freezegun.api.FrozenDateTimeFactory object at 0x7fa80cbc9ea0>
@freeze_time(lambda: datetime.date(year=2013, month=4, day=9),
as_kwarg='frozen_time')
def
test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func(self,
frozen_time: Any) -> None:
self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
> self.assertEqual(datetime.date(2013, 4, 9),
> frozen_time.time_to_freeze.today())
E AssertionError: FakeDate(2013, 4, 9) != datetime.datetime(2013, 4, 9,
0, 0)
tests/test_datetimes.py:547: AssertionError
_
TestUnitTestMethodDecorator.test_method_decorator_works_on_unittest_kwarg_hello
_
self = <tests.test_datetimes.TestUnitTestMethodDecorator
testMethod=test_method_decorator_works_on_unittest_kwarg_hello>
kwargs = {'hello': <freezegun.api.FrozenDateTimeFactory object at
0x7fa80cbc9d60>}
@freeze_time('2013-04-09', as_kwarg='hello')
def test_method_decorator_works_on_unittest_kwarg_hello(self, **kwargs:
Any) -> None:
self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
> self.assertEqual(datetime.date(2013, 4, 9),
> kwargs.get('hello').time_to_freeze.today()) # type: ignore
E AssertionError: FakeDate(2013, 4, 9) != datetime.datetime(2013, 4, 9,
0, 0)
tests/test_datetimes.py:542: AssertionError
=============================== warnings summary ===============================
tests/test_datetimes.py::test_simple_api
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/tests/test_datetimes.py:75:
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).
assert datetime.datetime.utcnow() != datetime.datetime(2012, 1, 14)
tests/test_datetimes.py::test_compare_datetime_and_time_with_timezone
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/tests/test_datetimes.py:795:
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and
scheduled for removal in a future version. Use timezone-aware objects to
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
datetime.UTC).
assert now == datetime.datetime.utcfromtimestamp(time.time())
tests/test_datetimes.py::test_timestamp_with_tzoffset
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/tests/test_datetimes.py:812:
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and
scheduled for removal in a future version. Use timezone-aware objects to
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
datetime.UTC).
assert utcnow == datetime.datetime.utcfromtimestamp(time.time())
tests/test_pickle.py::test_pickle
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build/tests/test_pickle.py:13:
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).
utc_now = datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time
FAILED
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func
FAILED
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello
============= 3 failed, 128 passed, 6 skipped, 4 warnings in 0.80s =============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_freezegun/build; python3.13 -m pytest
tests
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build; python3.12 -m pytest
tests
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 137 items
tests/test_asyncio.py ..... [ 3%]
tests/test_class_import.py .............. [ 13%]
tests/test_configure.py ..... [ 17%]
tests/test_datetimes.py .................s.....s.....s.s................ [ 52%]
.......................s [ 70%]
tests/test_errors.py .. [ 71%]
tests/test_import_alias.py ... [ 73%]
tests/test_operations.py ............. [ 83%]
tests/test_pickle.py ... [ 85%]
tests/test_sqlite3.py .. [ 86%]
tests/test_ticking.py .s.......... [ 95%]
tests/test_utils.py .. [ 97%]
tests/test_uuid.py .. [ 98%]
tests/test_warnings.py .. [100%]
=============================== warnings summary ===============================
tests/test_datetimes.py::test_simple_api
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/tests/test_datetimes.py:75:
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).
assert datetime.datetime.utcnow() != datetime.datetime(2012, 1, 14)
tests/test_datetimes.py::test_compare_datetime_and_time_with_timezone
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/tests/test_datetimes.py:795:
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and
scheduled for removal in a future version. Use timezone-aware objects to
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
datetime.UTC).
assert now == datetime.datetime.utcfromtimestamp(time.time())
tests/test_datetimes.py::test_timestamp_with_tzoffset
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/tests/test_datetimes.py:812:
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and
scheduled for removal in a future version. Use timezone-aware objects to
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
datetime.UTC).
assert utcnow == datetime.datetime.utcfromtimestamp(time.time())
tests/test_pickle.py::test_pickle
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_freezegun/build/tests/test_pickle.py:13:
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).
utc_now = datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 131 passed, 6 skipped, 4 warnings in 0.81s ==================
rm -fr -- /tmp/dh-xdg-rundir-smSp_k7l
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: freezegun
Source-Version: 1.5.1-1.2
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
freezegun, 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 1090...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated freezegun 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: Mon, 20 Jan 2025 11:58:53 +0000
Source: freezegun
Architecture: source
Version: 1.5.1-1.2
Distribution: unstable
Urgency: medium
Maintainer: Federico Ceratto <feder...@debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1090225
Changes:
freezegun (1.5.1-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix tests for Python 3.13 (thanks, Adrien Nader; closes: #1090225).
Checksums-Sha1:
e4210c565425447f9183eb11dfae77fc509babcf 2166 freezegun_1.5.1-1.2.dsc
8f250fa88af62d7f6bc7592e94fc1c3a22b5760b 3256 freezegun_1.5.1-1.2.debian.tar.xz
Checksums-Sha256:
50327ee8e227a626daca14a67f3cb857e627df07b850488890cbc1a8df7b21db 2166
freezegun_1.5.1-1.2.dsc
4c454055aba516c49edc2acf28af718fae8a5f2d4d462bc5adc1c933ee9c85b8 3256
freezegun_1.5.1-1.2.debian.tar.xz
Files:
fb8e30a52b227bcd3a0954e94b939219 2166 python optional freezegun_1.5.1-1.2.dsc
a809e234a99fa973eb049c11052a6448 3256 python optional
freezegun_1.5.1-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmeOOsQACgkQOTWH2X2G
UAsdWxAAmfGAmYUrVYldVSu5JvMilXVdp/lBALkVvd5FcT+wBlFs0N7qO/OgV7w7
zv4VWQ5I8Xq/AzArD7WnhlimZHMuiOVnSKeNJz4dO5K12pnioUv2gfxn61Qlbf7M
tsqYSDi7k7FrCCRcdH3QP0E3g5YTGLTWNZWae2NV+tJOBo4rbpog1d1hcX+ij4DM
ZL0VP94fnHM2a8s2yixv+t2ilw1BbA9Mb3Wig3GsFvlp69f0mDmUc+1IA+dE8iVG
pqGbYFVx3iPFNMzqFn5SLyoUs7GRmCxEMrAnuC23MzyIwwIClHlk4Oy2RXSO5XqD
dsk1eTIOYt/mwgQ/uT6SkqmGZmcnfOM/PXiiyyhk/MgqAWzaBypPKZhwoHi6Hfrx
C/uQhlrwuRYzUBezMGZcd6n/QxkfcbAWrU+THulZXUpwkbwJCeT7K5k1xGJoYhhF
Z9S9HC+b/nLNtw4BEQIGOgZsXnn/EFeuMJjB7wD381SkxdwtvF50c5vdvEJmazuj
RbE6nBaiolaiYTcjfHtk82QnQsGt2humN/cmCELggb7Klmmhl3d0YGo7o1I1bgmc
ku1ZITCogoSYyoBZboxr41ljdk1fqfJGBxJu3nSykueUiYozF/00Ev7RN6inpgBy
1Ma+5OSC2anyrv9dy/ULNGgYkPBjedrfYxRzRSTxYprC9CXgPPE=
=YLaE
-----END PGP SIGNATURE-----
pgpvCacaQH8Xb.pgp
Description: PGP signature
--- End Message ---