[Python-modules-team] Bug#959588: flask-assets: FTBFS: FAIL: Test how we resolve file references through the Flask static

Lucas Nussbaum lucas at debian.org
Sun May 3 13:42:54 BST 2020


Source: flask-assets
Version: 0.12-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200501 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying src/flask_assets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-assets/build
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-assets/build; python3.8 -m nose -v tests
> Custom config values are relayed to the Flask config as.is. ... ok
> Ensure that the webassets defaults do not override existing ... ok
> Setting a value in the Flask config works. ... ok
> Setting a config value on the environment works. ... ok
> We may set defaults even without an application, however. ... ok
> KeyError is raised if a config value doesn't exist. ... ok
> Each app has it's own separate configuration. ... ok
> Without an application bound, we can't do much. ... ok
> Python configuration module gets loaded ... ok
> YAML configuration gets loaded ... /usr/lib/python3/dist-packages/webassets/loaders.py:162: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
>   obj = self.yaml.load(f) or {}
> ok
> Jinja tag has been made available. ... ok
> Test dealing with a blueprint without a static folder. ... ok
> [Regression] Output can point to a blueprint's static ... ok
> Urls to blueprint files are generated correctly. ... ok
> Make sure cssrewrite works with Blueprints. ... ok
> tests.test_integration.TestBuild.test_build ... ok
> [Regression] The cache directory is created in the Flask ... ok
> tests.test_integration.TestUrlAndDirectory.test_config_values_not_set_by_default ... ok
> Custom directory/url are configured - this will affect how ... ok
> A custom load_path is configured - this will affect how ... ok
> Test how we resolve file references through the Flask static ... FAIL
> [Regression] Check for a bug where the url generation code of ... ok
> Make sure url generation works with globs. ... ok
> Test how urls are generated via the Flask static system ... ok
> Make sure the "url" and "directory" config values are ... ok
> tests.test_integration.test_import ... ok
> tests.test_script.TestScript.test_call ... ok
> Regression test: Passing the environment to the ManageAssets command ... ok
> Test the --parse-templates option. ... ok
> 
> ======================================================================
> FAIL: Test how we resolve file references through the Flask static
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-assets/build/tests/test_integration.py", line 69, in test_directory_auto
>     assert get_all_bundle_files(Bundle('foo'), self.env) == ['/foo']
> AssertionError
> 
> ----------------------------------------------------------------------
> Ran 29 tests in 0.073s
> 
> FAILED (failures=1)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flask-assets/build; python3.8 -m nose -v tests
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/05/01/flask-assets_0.12-3_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list