Package: src:staticsite
Version: 2.5-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

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 cannot 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 add an affects on src:staticsite, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
Successfully built staticsite-2.5-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/example /<<PKGBUILDDIR>>/themes 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m unittest discover -v 
test_conflict (tests.test_aliases.TestAliases.test_conflict) ... :dir.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
page:page.html: cannot resolve '/jquery/jquery.min.js' relative to Node(static)
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
2025-11-06 10:19:38,380 WARNING rst 
/tmp/tmpwuesi6w2/content/blog/2016/rst_example.rst: Failed to parse 
RestructuredText page: skipped (Encoding clash: encoding given is "utf-8" but 
source is opened with encoding "ANSI_X3.4-1968".)
2025-11-06 10:19:38,485 WARNING theme :index.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,502 WARNING theme blog:blog/index.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,519 WARNING theme blog/2016:dir.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,530 WARNING theme blog/2016/example-series3:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,530 WARNING theme blog/2016/example:page.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,532 WARNING theme blog/2016/example-series2:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,533 WARNING theme blog/2016/example-series1:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,535 WARNING theme blog/archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,536 WARNING theme pages:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,537 WARNING theme pages/doc:dir.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,537 WARNING theme pages/doc/sub:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,540 WARNING theme series:taxonomy.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,542 WARNING theme series/exampleseries:blog.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,545 WARNING theme 
series/exampleseries/archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,546 WARNING theme tags:taxonomy.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,547 WARNING theme tags/exampleseries:blog.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,549 WARNING theme tags/exampleseries/archive:archive.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,550 WARNING theme tags/example:blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,555 WARNING theme tags/example/archive:archive.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
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) ... 2025-11-06 
10:19:38,605 WARNING theme :blog.html: cannot resolve '/jquery/jquery.min.js' 
relative to Node(static)
2025-11-06 10:19:38,619 WARNING theme blog/post:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
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.13/tempfile.py:1132: ResourceWarning: Implicitly cleaning up 
<TemporaryDirectory '/tmp/tmp31wk8zuu'>
  _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
2025-11-06 10:19:38,841 WARNING theme :blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,870 WARNING theme posts:dir.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,887 WARNING theme posts/example:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,888 WARNING theme about:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:38,891 WARNING theme archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
test_meta (tests.test_site_blog.TestBlog.test_meta) ... 2025-11-06 10:19:38,892 
WARNING theme :blog.html: cannot resolve '/jquery/jquery.min.js' relative to 
Node(static)
ok
test_render_paths (tests.test_site_blog.TestBlog.test_render_paths) ... ok
2025-11-06 10:19:38,909 WARNING rst 
/tmp/tmpubcu8pcy/content/blog/2016/rst_example.rst: Failed to parse 
RestructuredText page: skipped (Encoding clash: encoding given is "utf-8" but 
source is opened with encoding "ANSI_X3.4-1968".)
2025-11-06 10:19:39,010 WARNING theme :index.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,027 WARNING theme blog:blog/index.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,043 WARNING theme blog/2016:dir.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,054 WARNING theme blog/2016/example-series3:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,055 WARNING theme blog/2016/example:page.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,056 WARNING theme blog/2016/example-series2:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,057 WARNING theme blog/2016/example-series1:page.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,059 WARNING theme blog/archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,060 WARNING theme pages:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,061 WARNING theme pages/doc:dir.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,062 WARNING theme pages/doc/sub:page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,064 WARNING theme series:taxonomy.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,067 WARNING theme series/exampleseries:blog.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,069 WARNING theme 
series/exampleseries/archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,070 WARNING theme tags:taxonomy.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,071 WARNING theme tags/exampleseries:blog.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,073 WARNING theme tags/exampleseries/archive:archive.html: 
cannot resolve '/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,074 WARNING theme tags/example:blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,079 WARNING theme tags/example/archive:archive.html: cannot 
resolve '/jquery/jquery.min.js' relative to Node(static)
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
2025-11-06 10:19:39,104 WARNING theme :blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,130 WARNING theme archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,149 WARNING theme :blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,174 WARNING theme archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
test_built_marker 
(tests.test_site_tutorial.TestBuiltTutorial.test_built_marker) ... ok
test_render_paths 
(tests.test_site_tutorial.TestBuiltTutorial.test_render_paths) ... ok
2025-11-06 10:19:39,199 WARNING theme :blog.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
2025-11-06 10:19:39,224 WARNING theme archive:archive.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
test_render_paths (tests.test_site_tutorial.TestTutorial.test_render_paths) ... 
ok
test_add_to_false (tests.test_syndication.TestSyndication.test_add_to_false) 
... 2025-11-06 10:19:39,233 WARNING rst /tmp/tmp33lyd4x7/blog/post1.rst: Failed 
to parse RestructuredText page: skipped (Encoding clash: encoding given is 
"utf-8" but source is opened with encoding "ANSI_X3.4-1968".)
ERROR
test_complex (tests.test_syndication.TestSyndication.test_complex) ... 
2025-11-06 10:19:39,240 WARNING rst /tmp/tmpib5s_gzz/blog/post1.rst: Failed to 
parse RestructuredText page: skipped (Encoding clash: encoding given is "utf-8" 
but source is opened with encoding "ANSI_X3.4-1968".)
ERROR
test_simple (tests.test_syndication.TestSyndication.test_simple) ... 2025-11-06 
10:19:39,248 WARNING rst /tmp/tmp91ydy3p4/blog/post1.rst: Failed to parse 
RestructuredText page: skipped (Encoding clash: encoding given is "utf-8" but 
source is opened with encoding "ANSI_X3.4-1968".)
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) ... 
2025-11-06 10:19:39,322 WARNING theme :page.html: cannot resolve 
'/jquery/jquery.min.js' relative to Node(static)
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) ... 2025-11-06 
10:19:39,342 WARNING rst /tmp/tmp02o_34ng/page2.rst: Failed to parse 
RestructuredText page: skipped (Encoding clash: encoding given is "utf-8" but 
source is opened with encoding "ANSI_X3.4-1968".)
2025-11-06 10:19:39,343 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.13/build/tests/test_rst.py", line 
28, in test_simple
    with self.site(files) as mocksite:
         ~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/contextlib.py", line 141, in __enter__
    return next(self.gen)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 
304, in site
    with mocksite:
         ^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 
221, in __enter__
    self.load_site()
    ~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 95, 
in load_site
    self.site.load(until=until)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
548, in load
    self.scan_content()
    ~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
481, in scan_content
    tree = self.scan_content_tree(src)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
499, in scan_content_tree
    tree.scan()
    ~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/fstree.py", 
line 98, in scan
    self._scandir()
    ~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/fstree.py", 
line 224, in _scandir
    self.node.update_fields(self._load_dir_meta())
                            ~~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/fstree.py", 
line 301, in _load_dir_meta
    res = super()._load_dir_meta()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/fstree.py", 
line 182, in _load_dir_meta
    meta = feature.load_dir_meta(self)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/features/rst.py", 
line 154, in load_dir_meta
    meta, doctree_scan = self.parse_rest(fd, remove_docinfo=False)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/features/rst.py", 
line 105, in parse_rest
    doctree = docutils.core.publish_doctree(fd, 
source_class=docutils.io.FileInput)
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 577, in 
publish_doctree
    _output, publisher = publish_programmatically(
                         ~~~~~~~~~~~~~~~~~~~~~~~~^
        source=source, source_path=source_path,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
        settings_overrides=settings_overrides, config_section=config_section,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        enable_exit_status=enable_exit_status)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 792, in 
publish_programmatically
    publisher.set_source(source, source_path)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 211, in 
set_source
    self.source = self.source_class(
                  ~~~~~~~~~~~~~~~~~^
        source=source, source_path=source_path,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        encoding=self.settings.input_encoding,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        error_handler=self.settings.input_encoding_error_handler)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docutils/io.py", line 448, in __init__
    raise UnicodeError('Encoding clash: encoding given is "%s" '
                       'but source is opened with encoding "%s".' %
                       (self.encoding, self.source.encoding))
UnicodeError: Encoding clash: encoding given is "utf-8" but source is opened 
with encoding "ANSI_X3.4-1968".

======================================================================
ERROR: test_add_to_false 
(tests.test_syndication.TestSyndication.test_add_to_false)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_syndication.py", line 
94, in test_add_to_false
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ~~~~~~~~~~~~~^
        "blog",
        ^^^^^^^
    ...<4 lines>...
        "blog/index.atom",
        ^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 
115, in page
    page = self.site.root.resolve_path(path)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
199, 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.13/build/tests/test_syndication.py", line 
133, in test_complex
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ~~~~~~~~~~~~~^
        "blog",
        ^^^^^^^
    ...<4 lines>...
        "blog/index.atom",
        ^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 
115, in page
    page = self.site.root.resolve_path(path)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
199, 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.13/build/tests/test_syndication.py", line 
39, in test_simple
    blog, post1, post2, widget, rss, atom = mocksite.page(
                                            ~~~~~~~~~~~~~^
        "blog",
        ^^^^^^^
    ...<4 lines>...
        "blog/index.atom",
        ^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/utils.py", line 
115, in page
    page = self.site.root.resolve_path(path)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/staticsite/site.py", line 
199, 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.13/build/tests/test_site_demo.py", 
line 71, in test_titles
    self.assertEqual(
    ~~~~~~~~~~~~~~~~^
        self.page("blog/index.rss").to_dict(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<30 lines>...
        },
        ^^
    )
    ^
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.13/build/tests/test_theme.py", 
line 82, in test_site_path
    self.assertEqual(url_for("page2.rst", page=page), "/prefix/page2")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '' != '/prefix/page2'
+ /prefix/page2


----------------------------------------------------------------------
Ran 68 tests in 1.101s

FAILED (failures=2, errors=4)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover 
-v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to