Your message dated Sun, 18 Aug 2024 16:21:34 +0000
with message-id <[email protected]>
and subject line Bug#1078321: fixed in staticsite 2.5-1
has caused the Debian Bug report #1078321,
regarding staticsite: FTBFS: FAIL: test_site_path 
(tests.test_theme.TestUrlFor.test_site_path)
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.)


-- 
1078321: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078321
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: staticsite
Source-Version: 2.5-1
Done: Enrico Zini <[email protected]>

We believe that the bug you reported is fixed in the latest version of
staticsite, 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.
Enrico Zini <[email protected]> (supplier of updated staticsite 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: Sun, 18 Aug 2024 18:00:31 +0200
Source: staticsite
Architecture: source
Version: 2.5-1
Distribution: unstable
Urgency: medium
Maintainer: Enrico Zini <[email protected]>
Changed-By: Enrico Zini <[email protected]>
Closes: 1078321
Changes:
 staticsite (2.5-1) unstable; urgency=medium
 .
   * New upstream version (see NEWS.md for changes). Closes: #1078321
Checksums-Sha1:
 074e1e434db0cf166a0976ebccf1e31c9fc93893 2150 staticsite_2.5-1.dsc
 cad4e6859bef32e19c0abcb93a170f4130452ae3 3073145 staticsite_2.5.orig.tar.gz
 3cc4bd2a8147f8549498887c352891c215dc5283 6204 staticsite_2.5-1.debian.tar.xz
 587b4a2c9ea1bd8e6bfbec3f92069b4db8314be4 9574 staticsite_2.5-1_source.buildinfo
Checksums-Sha256:
 128a0fa1f97668fc1640c7e35f9f5b2db5d89fcbec8aec59f40778135d07e514 2150 
staticsite_2.5-1.dsc
 5fb821c72cb2cb4c91bc7d5fd85eef5a65ad7ad9f49a6fe0d1bf8d64e8a3ba23 3073145 
staticsite_2.5.orig.tar.gz
 0153fe57cf3b3f2026976b47d09b4c8fb3d2ab64d04ab8af7a89aee069b10437 6204 
staticsite_2.5-1.debian.tar.xz
 5595bf7ce19ea9c62b53a48eedbffc34c604f3e355e994b1479dde6954799bf4 9574 
staticsite_2.5-1_source.buildinfo
Files:
 14aa5f8156f6d05c1288c78d2d22724e 2150 web optional staticsite_2.5-1.dsc
 6942eec33a7fbbd03dcf382f6e319cd6 3073145 web optional 
staticsite_2.5.orig.tar.gz
 73a7bc63e0a863c82a40e8b393dc3b31 6204 web optional 
staticsite_2.5-1.debian.tar.xz
 1ed8c9f43adf0fac74139510079e3399 9574 web optional 
staticsite_2.5-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEzcrDClsZDUbLiHVsQQj4QWUj0N4FAmbCGrgSHGVucmljb0Bk
ZWJpYW4ub3JnAAoJEEEI+EFlI9DewlMQAKtU4oIcn1SDdCXWvvReZfbLR6vW0vT4
QYfscEnLcHhL1TyCa7ddXXy1WdImEYCSpSeEwTUwW/PfO0rTkg76CxjraTyZIORY
oaWb3o8bRd+4iulwVWyBzpBhd2QIsXIfZd6lltU4WYvZqsuKP2TTb2hxBr/MEERX
z7hXoD5wNmQm2a78OK/hcSBoosYsPaR7KmAlO+qhIzHmA+bjNSLJdukEyNw04JwD
tfO05vpgDccVltXbowHYsa5nh4NXemUskksOGbzViffo+dtD0Gox/FBAXG7jquMv
+erLEnaJl0PnFmVH7ODLEZEHOoDgVRj2Sm8RMHMoCV1Cv3vbeqFzCywo9Zdfy8PQ
ruSg1WhsZ8UlnzL2FqfuEZeeFmOhsf4r2Nu48HUmdo2OgYrlQXEYuLuEhMy+K7Ge
Pw0L6Gzkw38x+2AP9MMnICfLPAVdGH2x7WNOp0baYDXXFLIq2wFAEFyUnzdZMonE
LKfN06abIFe1TLWQ/l+6lxb4ZHnTTohNB5me8zORTmN1wh95qOgnty9Cczs20xKz
kLxtFkjKs4KBBInUy21K01iwApGmRpY2PVIBAd4rdG3Y11xcvQuY1KerR0oscnJw
zOffRwnzb6kVLrGbqCUrGHF5no87kJVCWLQswO6nAhTx9BZLpUnhheEej9zQRf2T
9//uLzn8gvvM
=fowQ
-----END PGP SIGNATURE-----

Attachment: pgpeYW8CumC99.pgp
Description: PGP signature


--- End Message ---

Reply via email to