Your message dated Sat, 09 Nov 2024 17:39:16 +0000
with message-id <e1t9pqa-00abnx...@fasolo.debian.org>
and subject line Bug#1084256: fixed in flask-restful 0.3.10-3
has caused the Debian Bug report #1084256,
regarding flask-restful: FTBFS: failing tests
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.)
--
1084256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084256
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:flask-restful
Version: 0.3.10-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild --with=python3,sphinxdoc
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'tests_require'
warnings.warn(msg)
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning:
Unknown distribution option: 'tests_require'
warnings.warn(msg)
running build
running build_py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
copying flask_restful/inputs.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
copying flask_restful/reqparse.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
copying flask_restful/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
copying flask_restful/fields.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
copying flask_restful/__version__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/utils
copying flask_restful/utils/crypto.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/utils
copying flask_restful/utils/cors.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/utils
copying flask_restful/utils/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/utils
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/representations
copying flask_restful/representations/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/representations
copying flask_restful/representations/json.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build/flask_restful/representations
running egg_info
creating Flask_RESTful.egg-info
writing Flask_RESTful.egg-info/PKG-INFO
writing dependency_links to Flask_RESTful.egg-info/dependency_links.txt
writing requirements to Flask_RESTful.egg-info/requires.txt
writing top-level names to Flask_RESTful.egg-info/top_level.txt
writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt'
reading manifest file 'Flask_RESTful.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'CHANGES'
warning: no previously-included files matching '*.pyc' found under directory
'docs'
warning: no previously-included files matching '*.pyo' found under directory
'docs'
warning: no previously-included files matching '*.pyc' found under directory
'tests'
warning: no previously-included files matching '*.pyo' found under directory
'tests'
warning: no previously-included files matching '*.pyc' found under directory
'examples'
warning: no previously-included files matching '*.pyo' found under directory
'examples'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
adding license file 'AUTHORS.md'
writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt'
cd docs; PYTHONPATH=.. http_proxy='127.0.0.1:9' make html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
'restructuredtext'}`.
loading intersphinx inventory 'flask' from
/usr/share/doc/python-flask-doc/html/objects.inv...
loading intersphinx inventory 'werkzeug' from
/usr/share/doc/python-werkzeug-doc/html/objects.inv...
loading intersphinx inventory 'python' from
/usr/share/doc/python3-doc/html/objects.inv...
loading intersphinx inventory 'python3' from
/usr/share/doc/python3-doc/html/objects.inv...
loading intersphinx inventory 'six' from
/usr/share/doc/python-six-doc/html/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python-six-doc/html/objects.inv' not fetchable
due to <class 'FileNotFoundError'>: [Errno 2] No such file or directory:
'/usr/share/doc/python-six-doc/html/objects.inv'
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] api
reading sources... [ 22%] extending
reading sources... [ 33%] fields
reading sources... [ 44%] index
reading sources... [ 56%] installation
reading sources... [ 67%] intermediate-usage
reading sources... [ 78%] quickstart
reading sources... [ 89%] reqparse
reading sources... [100%] testing
/<<PKGBUILDDIR>>/flask_restful/__init__.py:docstring of
flask_restful.Api.unauthorized:1: WARNING: duplicate object description of
flask_restful.Api.unauthorized, other instance in api, use :no-index: for one of them
/<<PKGBUILDDIR>>/docs/index.rst:6: WARNING: duplicate object description of
flask_restful, other instance in api, use :no-index: for one of them
/<<PKGBUILDDIR>>/docs/reqparse.rst:217: WARNING: Explicit markup ends without a
blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [ 11%] api
writing output... [ 22%] extending
writing output... [ 33%] fields
writing output... [ 44%] index
writing output... [ 56%] installation
writing output... [ 67%] intermediate-usage
writing output... [ 78%] quickstart
writing output... [ 89%] reqparse
writing output... [100%] testing
/<<PKGBUILDDIR>>/docs/intermediate-usage.rst:80: WARNING: undefined label:
'blueprints'
generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 5 warnings.
The HTML pages are in _build/html.
Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build; python3.12 -m
pytest -k 'not test_media_types_method and not test_media_types_q'
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 321 items / 2 deselected / 319 selected
tests/test_accept.py ............ [ 3%]
tests/test_api.py x..................................................... [ 20%]
............................. [ 29%]
tests/test_api_with_blueprint.py ............. [ 33%]
tests/test_cors.py .... [ 35%]
tests/test_fields.py xxxx.........................F...............F..... [ 51%]
.................... [ 57%]
tests/test_inputs.py xxxxxxx.xx.....................x.x [ 68%]
tests/test_reqparse.py ................................................. [ 83%]
..................................................... [100%]
=================================== FAILURES ===================================
______________ FieldsTestCase.test_iso8601_date_field_with_offset ______________
self = <tests.test_fields.FieldsTestCase
testMethod=test_iso8601_date_field_with_offset>
def test_iso8601_date_field_with_offset(self):
obj = {"bar": datetime(2011, 8, 22, 20, 58, 45,
tzinfo=pytz.timezone('CET'))}
field = fields.DateTime(dt_format='iso8601')
self.assertEqual("2011-08-22T20:58:45+01:00", field.output("bar", obj))
E AssertionError: '2011-08-22T20:58:45+01:00' !=
'2011-08-22T20:58:45+00:18'
E - 2011-08-22T20:58:45+01:00
E ? ^^^
E + 2011-08-22T20:58:45+00:18
E ? ++ ^
tests/test_fields.py:378: AssertionError
______________ FieldsTestCase.test_rfc822_date_field_with_offset _______________
self = <tests.test_fields.FieldsTestCase
testMethod=test_rfc822_date_field_with_offset>
def test_rfc822_date_field_with_offset(self):
obj = {"bar": datetime(2011, 8, 22, 20, 58, 45,
tzinfo=pytz.timezone('CET'))}
field = fields.DateTime()
self.assertEqual("Mon, 22 Aug 2011 19:58:45 -0000", field.output("bar",
obj))
E AssertionError: 'Mon, 22 Aug 2011 19:58:45 -0000' != 'Mon, 22 Aug 2011
20:40:45 -0000'
E - Mon, 22 Aug 2011 19:58:45 -0000
E ? ^^ ^^
E + Mon, 22 Aug 2011 20:40:45 -0000
E ? ^^ ^^
tests/test_fields.py:368: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.12_flask-restful/build/tests/test_api.py:40
.pybuild/cpython3_3.12_flask-restful/build/tests/test_api.py:40:
PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_unpack
will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:28
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:28:
PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_float
will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:38
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:38:
PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_boolean
will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:50
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:50:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_rfc822_datetime_formatters will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:64
.pybuild/cpython3_3.12_flask-restful/build/tests/test_fields.py:64:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_iso8601_datetime_formatters will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:14
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:14:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_reverse_rfc822_datetime will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:25
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:25:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_reverse_iso8601_datetime will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:37
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:37:
PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_urls
will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:69
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:69:
PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_bad_urls
will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:91
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:91:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_bad_url_error_message will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:112
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:112:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_regex_bad_input will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:126
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:126:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_regex_good_input will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:144
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:144:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_regex_flags_good_input will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:157
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:157:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_regex_flags_bad_input will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:243
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:243:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_isointerval will be ignored
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:410
.pybuild/cpython3_3.12_flask-restful/build/tests/test_inputs.py:410:
PytestCollectionWarning: yield tests were removed in pytest 4.0 -
test_bad_isointervals will be ignored
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_fields.py::FieldsTestCase::test_iso8601_date_field_with_offset
FAILED tests/test_fields.py::FieldsTestCase::test_rfc822_date_field_with_offset
===== 2 failed, 301 passed, 2 deselected, 16 xfailed, 16 warnings in 1.05s =====
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask-restful/build; python3.12 -m
pytest -k 'not test_media_types_method and not test_media_types_q'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:10: 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/202410/
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: flask-restful
Source-Version: 0.3.10-3
Done: Santiago Vila <sanv...@debian.org>
We believe that the bug you reported is fixed in the latest version of
flask-restful, 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 1084...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <sanv...@debian.org> (supplier of updated flask-restful 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, 09 Nov 2024 18:20:00 +0100
Source: flask-restful
Architecture: source
Version: 0.3.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Santiago Vila <sanv...@debian.org>
Closes: 1084256
Changes:
flask-restful (0.3.10-3) unstable; urgency=medium
.
* Team upload.
[ Rebecca N. Palmer ]
* Tests: don't pass pytz.timezone to datetime. (Closes: #1084256)
Checksums-Sha1:
3f3a27b77f7e0121cd00ede342812b90ff222d5a 2120 flask-restful_0.3.10-3.dsc
f3cefdefd4664f2a75a113e30511ef3ca0923bd7 11528
flask-restful_0.3.10-3.debian.tar.xz
3c7b8d990541a51ae435e37288e78b003c64b275 7349
flask-restful_0.3.10-3_source.buildinfo
Checksums-Sha256:
c0dba4aa157ea2cbbfd8f07a7cb5310f3d0e307cf5da136b8cc4c5a6aab17edb 2120
flask-restful_0.3.10-3.dsc
e1eb3720f5f74307e303ae4eebac263afd9275e57d746ce9419353a2144bcdda 11528
flask-restful_0.3.10-3.debian.tar.xz
031d6740f2ab5f789bc1eeea47d19884aa19ef2ae93500e3f4d46a194a8be3c5 7349
flask-restful_0.3.10-3_source.buildinfo
Files:
26fa169484052a02820b40dac9e5992c 2120 python optional
flask-restful_0.3.10-3.dsc
3eff9b7144a87ffb57ab6b8a8a784be0 11528 python optional
flask-restful_0.3.10-3.debian.tar.xz
b4f69819cc3de12d76b0dcf1b1a18e41 7349 python optional
flask-restful_0.3.10-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmcvmkoACgkQQc5/C58b
izKp8QgAgx8eCF6m7pTD6bJ9pVKFz/YlFBtuDsyKiYBdqsZkeYAs1mDj1Imx/DEH
ZDg3ZVvdTIds/Rj+uCyxISTnjmPWFu4uO36+wsiq2eV0dAjH2Jxz9kEzvcWDcCVp
W2MZJ2okr03bA8KgC4ovfAao0Rt1+ERQ9LKOTWXbf4GDWj/IhdNPJ111zCN7tRTd
CVHnkBHhJ/eVmrdixz+GQ7gKXR8vWruei8sLCl/Qy8U6JCbGRM7MZ84ChY4pvXq0
e+WCMJs/yKpeaySe25sk0sFg9WuyVyPQVRR+2inXUH0XAYbrY6GPTwjRR1pHD9fw
Rv6cXTGlxJprO/q1jL2ug8LN49zn+g==
=Q6ln
-----END PGP SIGNATURE-----
pgpCIGqHlXmR4.pgp
Description: PGP signature
--- End Message ---