Your message dated Tue, 30 Nov 2021 09:04:43 +0000
with message-id <[email protected]>
and subject line Bug#944030: fixed in jinja2-time 0.2.0-3
has caused the Debian Bug report #944030,
regarding jinja2-time: FTBFS in unstable
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.)
--
944030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944030
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jinja2-time
Version: 0.2.0-2
Severity: serious
User: [email protected]
Usertags: origin-ubuntu focal
Hi Vincent,
The jinja2-time source package currently fails to build from source in
unstable:
[...]
tests/test_now.py ......FFF [100%]
=================================== FAILURES ===================================
________________________________ test_add_time _________________________________
environment = <jinja2.environment.Environment object at 0x7efefa14c810>
def test_add_time(environment):
environment.datetime_format = '%a, %d %b %Y %H:%M:%S'
template = environment.from_string(
"{% now 'utc' + 'hours=2,seconds=30' %}"
)
> assert template.render() == "Thu, 10 Dec 2015 01:33:31"
tests/test_now.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/jinja2/asyncsupport.py:76: in render
return original_render(self, *args, **kwargs)
/usr/lib/python3/dist-packages/jinja2/environment.py:1008: in render
return self.environment.handle_exception(exc_info, True)
/usr/lib/python3/dist-packages/jinja2/environment.py:780: in handle_exception
reraise(exc_type, exc_value, tb)
/usr/lib/python3/dist-packages/jinja2/_compat.py:37: in reraise
raise value.with_traceback(tb)
<template>:1: in top-level template code
???
jinja2_time/jinja2_time.py:26: in _datetime
d = d.replace(**replace_params)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Arrow [2015-12-09T23:33:01+00:00]>
kwargs = {'hours': 2.0, 'seconds': 30.0}, absolute_kwargs = {}, key = 'hours'
value = 2.0
def replace(self, **kwargs):
""" Returns a new :class:`Arrow <arrow.arrow.Arrow>` object with
attributes updated
according to inputs.
Use property names to set their value absolutely::
>>> import arrow
>>> arw = arrow.utcnow()
>>> arw
<Arrow [2013-05-11T22:27:34.787885+00:00]>
>>> arw.replace(year=2014, month=6)
<Arrow [2014-06-11T22:27:34.787885+00:00]>
You can also replace the timezone without conversion, using a
:ref:`timezone expression <tz-expr>`::
>>> arw.replace(tzinfo=tz.tzlocal())
<Arrow [2013-05-11T22:27:34.787885-07:00]>
"""
absolute_kwargs = {}
for key, value in kwargs.items():
if key in self._ATTRS:
absolute_kwargs[key] = value
elif key in ["week", "quarter"]:
raise AttributeError("setting absolute {} is not
supported".format(key))
elif key != "tzinfo":
> raise AttributeError('unknown attribute: "{}"'.format(key))
E AttributeError: unknown attribute: "hours"
/usr/lib/python3/dist-packages/arrow/arrow.py:603: AttributeError
[...]
This failure was reproduced in Ubuntu focal, and you can find a full build
log at
<https://launchpad.net/ubuntu/+source/jinja2-time/0.2.0-2ubuntu1/+build/18016377>.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: jinja2-time
Source-Version: 0.2.0-3
Done: Julian Gilbey <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jinja2-time, 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.
Julian Gilbey <[email protected]> (supplier of updated jinja2-time 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: Tue, 30 Nov 2021 07:19:59 +0000
Source: jinja2-time
Architecture: source
Version: 0.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Vincent Bernat <[email protected]>
Changed-By: Julian Gilbey <[email protected]>
Closes: 944030
Changes:
jinja2-time (0.2.0-3) unstable; urgency=medium
.
* Team upload.
.
[ Ondřej Nový ]
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
.
[ Sandro Tosi ]
* Use the new Debian Python Team contact name and address
.
[ Julian Gilbey ]
* Apply patch from Paul Ganssle <[email protected]> to remove arrow
dependency (Closes: #944030)
* Update Standards-Version
* Add autopkgtest suite
Checksums-Sha1:
5b6b32bdede2e51ae94fad7b87c79985d08cf12c 2210 jinja2-time_0.2.0-3.dsc
aa00623ac1e0c7c6f6d71ca9b88b944208f42967 4760 jinja2-time_0.2.0-3.debian.tar.xz
1279cb606c3592c650a34ad59922813619de169e 7059
jinja2-time_0.2.0-3_amd64.buildinfo
Checksums-Sha256:
32dd6606af08a6610ab78e9a65c31214e94b9a3d53b9009455ec4a0c60478825 2210
jinja2-time_0.2.0-3.dsc
4f8dba74d2959c72328545a10b5d097883124ba21ada075d898ba534498c6012 4760
jinja2-time_0.2.0-3.debian.tar.xz
2eb118b8c58017a20187b9c3ca398c20e06b7b785cde05db6d7cc46751ab617a 7059
jinja2-time_0.2.0-3_amd64.buildinfo
Files:
ddfc07f45418dceaaa8d674dc6213b7c 2210 python optional jinja2-time_0.2.0-3.dsc
a6f4196f3bf4b9230f94b2906bbfb795 4760 python optional
jinja2-time_0.2.0-3.debian.tar.xz
7a5f88d97d1d0645a78dd75a16da0f15 7059 python optional
jinja2-time_0.2.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCAAtFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmGl0T4PHGpkZ0BkZWJp
YW4ub3JnAAoJEGlcQpMWwHv+u3wP/RJOibhwtL4U0ubQbUn5hOoALcKZnOTSQh7C
I7shxHpO/3boipflQXApJsxWAn3tkK3+LvTl0pv5A6Nrb5/eq9H7UkspmzGSEQ2Z
r+EeiPrXOVOmUZyr5sN/xIB28qNuoryBhDbpfMF9C9teha9mty+OYP7VD/rfsjNq
A1U+TSZcgCLdRq1AkwaxsBjiMo007u5AgbnkkQOD1l92XsA+6+WenZMDnEPtvWsg
5BM75xackBv6+wXpLN2+NGxEv4xrloFKYIEtcYjjI+DtZ21pFmhq+Xm2rV9rAozj
KVHMmoxK/mODml9qSVzxNbtir4ZWEVSuyAS1sgtRqAQ7rTt1pg8nlvjIMBd4seYg
2ust8VbEP+Q7fhiMzo5GHg/qcUKWIzP5PVZqumLdhVZN/Vrg1G1DQkKTzrbclSTU
pI9AwWcWy0y6pR88jyOF8u0lx0FnCs649qTyFp/yrWgkjM9B+5S1M7/9yAYkI1ec
TmeTSC5VI7qUkcZRu/LJSgduhJgcwi1ASgJ7nb9PwyLJISIpq1bs1/AnodjQ0jfc
Mu4d1elSulMfZCcmzyQnn1P2dKA+FCyoncyYlNuppj0ykGVzkKEo5xs+nF8JfOZr
rgjLpe4w7Vyq5arpi5AAZhZSsBjQcYw5mbQD44mh0jtnAQtrdkCNfbt5HxvDIksu
N8cu0PUA
=mQHY
-----END PGP SIGNATURE-----
--- End Message ---