Package: src:staticsite
Version: 2.4-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
I: pybuild base:311: python3.12 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/page_filter.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/site.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/global_settings.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/cache.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/toposort.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/render.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/node.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/feature.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/archetypes.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/file.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/fields.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/settings.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/page.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/markup.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/source_node.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/theme.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/fstree.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/autodoc.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
copying staticsite/asset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
copying staticsite/utils/yaml_codec.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
copying staticsite/utils/front_matter.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
copying staticsite/utils/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
copying staticsite/utils/arrange.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
copying staticsite/utils/images.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/utils
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/data.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/aliases.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/jinja2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/rst.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/markdown.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/dirindex.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/taxonomy.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/syndication.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/nav.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
copying staticsite/features/images.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/links
copying staticsite/features/links/data.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/links
copying staticsite/features/links/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/links
copying staticsite/features/links/cmdline.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/links
copying staticsite/features/links/index.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/links
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/site.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/check.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/dump_meta.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/build.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/dump.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/cli.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/meta.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/new.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/command.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/shell.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
copying staticsite/cmd/edit.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd/serve
copying staticsite/cmd/serve/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd/serve
copying staticsite/cmd/serve/server.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd/serve
copying staticsite/cmd/serve/pagefs.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/cmd/serve
running build_scripts
creating build
creating build/scripts-3.12
copying and adjusting ssite -> build/scripts-3.12
changing mode of build/scripts-3.12/ssite from 644 to 755
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/example /<<PKGBUILDDIR>>/themes 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m unittest discover -v
test_conflict (tests.test_aliases.TestAliases.test_conflict) ... ok
test_site (tests.test_aliases.TestAliases.test_site) ... ok
test_timestamps (tests.test_asset.TestAsset.test_timestamps) ... ok
test_defaults (tests.test_config.TestBuildSettings.test_defaults) ... ok
test_find_dotstaticsite_py 
(tests.test_config.TestBuildSettings.test_find_dotstaticsite_py) ... ok
test_find_settings_py 
(tests.test_config.TestBuildSettings.test_find_settings_py) ... ok
2024-08-09 10:46:29,748 WARNING rst 
/tmp/tmpj3im6uhl/content/blog/2016/rst_example.rst: Failed to parse 
RestructuredText page: skipped (cannot use a string pattern on a bytes-like 
object)
test_default_name (tests.test_config.TestExampleProject.test_default_name) ... 
ok
test_settings (tests.test_config.TestExampleProject.test_settings) ... ok
test_dirs (tests.test_dirs.TestDirs.test_dirs) ... ok
test_images (tests.test_images.TestImages.test_images) ... ok
test_ignore (tests.test_load.TestLoad.test_ignore) ... ok
test_leaf_nodes (tests.test_load.TestLoad.test_leaf_nodes)
Test that empty leaf nodes are pruned ... ok
test_date (tests.test_metadata.TestFields.test_date) ... ok
test_asset (tests.test_metadata.TestMetadata.test_asset) ... ok
test_dir (tests.test_metadata.TestMetadata.test_dir) ... ok
test_dir_asset (tests.test_metadata.TestMetadata.test_dir_asset) ... ok
test_tree_meta (tests.test_metadata.TestMetadata.test_tree_meta) ... ok
test_from_content_dir_name 
(tests.test_metadata.TestSiteName.test_from_content_dir_name) ... ok
test_from_dir_meta (tests.test_metadata.TestSiteName.test_from_dir_meta) ... ok
test_from_root_title (tests.test_metadata.TestSiteName.test_from_root_title) 
... ok
test_from_settings (tests.test_metadata.TestSiteName.test_from_settings) ... ok
test_dir (tests.test_nav.TestNav.test_dir) ... ok
test_iter_pages (tests.test_page.TestPage.test_iter_pages) ... ok
test_meta (tests.test_page.TestPage.test_meta) ... ok
test_resolve_path (tests.test_page.TestPage.test_resolve_path) ... ok
test_relative (tests.test_page_filter.TestPageFilter.test_relative) ... ok
test_site (tests.test_page_filter.TestPageFilter.test_site) ... ok
test_simple (tests.test_rst.TestRst.test_simple) ... ERROR
test_site (tests.test_series.TestSeries.test_site) ... 
/usr/lib/python3.12/tempfile.py:1075: ResourceWarning: Implicitly cleaning up 
<TemporaryDirectory '/tmp/tmpply8_afh'>
  _warnings.warn(warn_message, ResourceWarning)
ok
test_add_module (tests.test_settings.TestSettings.test_add_module) ... ok
test_as_dict (tests.test_settings.TestSettings.test_as_dict) ... ok
test_defaults (tests.test_settings.TestSettings.test_defaults) ... ok
test_load (tests.test_settings.TestSettings.test_load) ... ok
test_meta (tests.test_site_blog.TestBlog.test_meta) ... ok
test_render_paths (tests.test_site_blog.TestBlog.test_render_paths) ... ok
2024-08-09 10:46:30,388 WARNING rst 
/tmp/tmp87lc6l5k/content/blog/2016/rst_example.rst: Failed to parse 
RestructuredText page: skipped (cannot use a string pattern on a bytes-like 
object)
test_different_links (tests.test_site_demo.TestDemo.test_different_links) ... ok
test_dots (tests.test_site_demo.TestDemo.test_dots) ... ok
test_meta (tests.test_site_demo.TestDemo.test_meta) ... ok
test_render_paths (tests.test_site_demo.TestDemo.test_render_paths) ... ok
test_titles (tests.test_site_demo.TestDemo.test_titles) ... FAIL
test_built_marker 
(tests.test_site_tutorial.TestBuiltTutorial.test_built_marker) ... ok
test_render_paths 
(tests.test_site_tutorial.TestBuiltTutorial.test_render_paths) ... ok
test_render_paths (tests.test_site_tutorial.TestTutorial.test_render_paths) ... 
ok
test_add_to_false (tests.test_syndication.TestSyndication.test_add_to_false) 
... 2024-08-09 10:46:30,792 WARNING rst /tmp/tmpxzlmnlxj/blog/post1.rst: Failed 
to parse RestructuredText page: skipped (cannot use a string pattern on a 
bytes-like object)
ERROR
test_complex (tests.test_syndication.TestSyndication.test_complex) ... 
2024-08-09 10:46:30,803 WARNING rst /tmp/tmpy2a25tod/blog/post1.rst: Failed to 
parse RestructuredText page: skipped (cannot use a string pattern on a 
bytes-like object)
ERROR
test_simple (tests.test_syndication.TestSyndication.test_simple) ... 2024-08-09 
10:46:30,813 WARNING rst /tmp/tmpitry6hc8/blog/post1.rst: Failed to parse 
RestructuredText page: skipped (cannot use a string pattern on a bytes-like 
object)
ERROR
test_enrico_tags (tests.test_taxonomy.TestTags.test_enrico_tags)
Test tags.taxonomy from my own site ... ok
test_field_validation (tests.test_taxonomy.TestTags.test_field_validation)
Test the various ways of providing tags ... ok
test_load (tests.test_taxonomy.TestTags.test_load)
Test simply assigning pages to taxonomies ... ok
test_site (tests.test_taxonomy.TestTags.test_site)
Test simply assigning pages to taxonomies ... ok
test_arrange (tests.test_templates.TestTemplates.test_arrange) ... ok
test_page_template_conflicts 
(tests.test_templates.TestTemplates.test_page_template_conflicts) ... ok
test_markdown (tests.test_theme.TestMarkdownFilter.test_markdown) ... ok
test_no_site_root (tests.test_theme.TestUrlFor.test_no_site_root) ... ok
test_site_path (tests.test_theme.TestUrlFor.test_site_path) ... 2024-08-09 
10:46:30,928 WARNING rst /tmp/tmpgq1c3deg/page2.rst: Failed to parse 
RestructuredText page: skipped (cannot use a string pattern on a bytes-like 
object)
2024-08-09 10:46:30,931 WARNING theme :test: cannot resolve 'page2.rst' 
relative to dir:auto:
FAIL
test_invalid_bool (tests.test_toml.TestToml.test_invalid_bool) ... ok
test_valid (tests.test_toml.TestToml.test_valid) ... ok
test_cycle (tests.test_toposort.TestTopoSort.test_cycle) ... ok
test_nodeps (tests.test_toposort.TestTopoSort.test_nodeps) ... ok
test_singledeps (tests.test_toposort.TestTopoSort.test_singledeps) ... ok
test_dump (tests.test_yaml.TestPyYAML.test_dump) ... ok
test_dumps (tests.test_yaml.TestPyYAML.test_dumps) ... ok
test_load (tests.test_yaml.TestPyYAML.test_load) ... ok
test_loads (tests.test_yaml.TestPyYAML.test_loads) ... ok
test_dump (tests.test_yaml.TestRuamel.test_dump) ... ok
test_dumps (tests.test_yaml.TestRuamel.test_dumps) ... ok
test_load (tests.test_yaml.TestRuamel.test_load) ... ok
test_loads (tests.test_yaml.TestRuamel.test_loads) ... ok

======================================================================
ERROR: test_simple (tests.test_rst.TestRst.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_rst.py", line 
26, in test_simple
    with self.site(files) as mocksite:
  File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 
272, in site
    with mocksite:
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 
192, in __enter__
    self.load_site()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 86, 
in load_site
    self.site.load(until=until)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
496, in load
    self.scan_content()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
429, in scan_content
    tree = self.scan_content_tree(src)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
447, in scan_content_tree
    tree.scan()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/fstree.py", 
line 98, in scan
    self._scandir()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/fstree.py", 
line 218, in _scandir
    self.node.update_fields(self._load_dir_meta())
                            ^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/fstree.py", 
line 294, in _load_dir_meta
    res = super()._load_dir_meta()
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/fstree.py", 
line 178, in _load_dir_meta
    meta = feature.load_dir_meta(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/rst.py", 
line 149, in load_dir_meta
    meta, doctree_scan = self.parse_rest(fd, remove_docinfo=False)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/features/rst.py", 
line 102, in parse_rest
    doctree = docutils.core.publish_doctree(fd, 
source_class=docutils.io.FileInput)
              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 524, in 
publish_doctree
    _output, publisher = publish_programmatically(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 722, in 
publish_programmatically
    output = publisher.publish(enable_exit_status=enable_exit_status)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 234, in publish
    self.document = self.reader.read(self.source, self.parser,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/readers/__init__.py", line 70, 
in read
    self.parse()
  File "/usr/lib/python3/dist-packages/docutils/readers/__init__.py", line 76, 
in parse
    self.parser.parse(self.input, document)
  File "/usr/lib/python3/dist-packages/docutils/parsers/rst/__init__.py", line 
174, in parse
    inputlines = docutils.statemachine.string2lines(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/statemachine.py", line 1506, in 
string2lines
    astring = whitespace.sub(' ', astring)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot use a string pattern on a bytes-like object

======================================================================
ERROR: test_add_to_false 
(tests.test_syndication.TestSyndication.test_add_to_false)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_syndication.py", line 
78, in test_add_to_false
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 
106, in page
    page = self.site.root.resolve_path(path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
173, in resolve_path
    raise PageNotFoundError(f"cannot resolve {target!r} relative to {root!r}")
staticsite.page.PageNotFoundError: cannot resolve 'blog/post1' relative to 
Node()

======================================================================
ERROR: test_complex (tests.test_syndication.TestSyndication.test_complex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_syndication.py", line 
109, in test_complex
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 
106, in page
    page = self.site.root.resolve_path(path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
173, in resolve_path
    raise PageNotFoundError(f"cannot resolve {target!r} relative to {root!r}")
staticsite.page.PageNotFoundError: cannot resolve 'blog/post1' relative to 
Node()

======================================================================
ERROR: test_simple (tests.test_syndication.TestSyndication.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_syndication.py", line 
37, in test_simple
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/utils.py", line 
106, in page
    page = self.site.root.resolve_path(path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/staticsite/site.py", line 
173, in resolve_path
    raise PageNotFoundError(f"cannot resolve {target!r} relative to {root!r}")
staticsite.page.PageNotFoundError: cannot resolve 'blog/post1' relative to 
Node()

======================================================================
FAIL: test_titles (tests.test_site_demo.TestDemo.test_titles)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_site_demo.py", 
line 65, in test_titles
    self.assertEqual(self.page("blog/index.rss").to_dict(), {
AssertionError: {'meta': {'site_name': 'Example web site', [687 chars]rss'} != 
{'site_path': 'blog/index.rss', 'build_path[721 chars]rss'}
  {'build_path': 'blog/index.rss',
   'meta': {'author': 'Example author',
            'copyright': '© 2016 Example author',
            'created_from': 'J2Page(blog)',
-           'date': '2016-03-03 00:00:00+01:00',
?                          ^ ^^^^  ^^     ^

+           'date': '2016-04-16 10:23:00+02:00',
?                          ^ ^^^^  ^^     ^

            'index': 'J2Page(blog)',
            'indexed': False,
            'nav': [],
+           'pages': ['RstPage(blog/2016/rst_example)',
-           'pages': ['MarkdownPage(blog/2016/example-series3)',
?           ^^^^^^^^^^

+                     'MarkdownPage(blog/2016/example-series3)',
?           ^^^^^^^^^^

                      'MarkdownPage(blog/2016/example-series2)',
                      'MarkdownPage(blog/2016/example-series1)',
                      'MarkdownPage(blog/2016/example)'],
            'related': {},
            'series': [],
            'site_name': 'Example web site',
            'site_url': 'https://www.example.org',
            'syndicated': False,
-           'syndication_date': '2016-03-03 00:00:00+01:00',
?                                      ^ ^^^^  ^^     ^

+           'syndication_date': '2016-04-16 10:23:00+02:00',
?                                      ^ ^^^^  ^^     ^

            'tags': [],
            'template': 'syndication.rss',
            'template_copyright': 'compiled:None',
            'title': 'Example blog feed'},
   'site_path': 'blog/index.rss',
   'type': 'rss'}

======================================================================
FAIL: test_site_path (tests.test_theme.TestUrlFor.test_site_path)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_theme.py", 
line 77, in test_site_path
    self.assertEqual(url_for("page2.rst", page=page), "/prefix/page2")
AssertionError: '' != '/prefix/page2'
+ /prefix/page2


----------------------------------------------------------------------
Ran 68 tests in 1.353s

FAILED (failures=2, errors=4)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover 
-v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:13: 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/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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.

Reply via email to