Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-asciitree for 
openSUSE:Factory checked in at 2026-11-21 21:47:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asciitree (Old)
 and      /work/SRC/openSUSE:Factory/.python-asciitree.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asciitree"

Sat Nov 21 21:47:11 2026 rev:6 rq:1399551 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asciitree/python-asciitree.changes        
2025-05-13 20:09:46.373673829 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-asciitree.new.1340718/python-asciitree.changes
   2026-11-21 21:49:01.610749194 +0100
@@ -1,0 +2,15 @@
+Fri Nov 20 21:00:47 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.0.0:
+  * Configurable layout spaces through `BoxStyle.gfx["SPACE"]`,
+    with an ordinary-space fallback for existing palettes.
+  * Declared the existing public API stable, without breaking
+    changes from 0.4.0.
+  * Nix builds, tests, docs, and direnv development shell.
+  * Ruff linting, treefmt formatting, and Nix-based GitHub CI.
+  * Moved setuptools configuration to `pyproject.toml`.
+  * Switched docs to Furo.
+  * Converted README and docs to Markdown with MyST.
+  * Python 2 compatibility; use `0.3.3` for Python 2.
+
+-------------------------------------------------------------------

Old:
----
  asciitree-0.3.3-gh.tar.gz

New:
----
  asciitree-1.0.0-gh.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-asciitree.spec ++++++
--- /var/tmp/diff_new_pack.7MKDrK/_old  2026-11-21 21:49:02.960806856 +0100
+++ /var/tmp/diff_new_pack.7MKDrK/_new  2026-11-21 21:49:02.968807198 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-asciitree
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-asciitree
-Version:        0.3.3
+Version:        1.0.0
 Release:        0
 Summary:        Python module to draw ASCII trees
 License:        MIT
@@ -28,7 +28,7 @@
 Source:         
https://github.com/mbr/asciitree/archive/%{version}.tar.gz#/asciitree-%{version}-gh.tar.gz
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools >= 77.0.3}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -53,7 +53,7 @@
 %pytest
 
 %files %{python_files}
-%doc README.rst
+%doc README.md
 %license LICENSE
 %{python_sitelib}/asciitree
 %{python_sitelib}/asciitree-%{version}*info

++++++ asciitree-0.3.3-gh.tar.gz -> asciitree-1.0.0-gh.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/.envrc new/asciitree-1.0.0/.envrc
--- old/asciitree-0.3.3/.envrc  1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/.envrc  2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,2 @@
+use flake
+dotenv_if_exists .env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/.github/workflows/ci.yml 
new/asciitree-1.0.0/.github/workflows/ci.yml
--- old/asciitree-0.3.3/.github/workflows/ci.yml        1970-01-01 
01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/.github/workflows/ci.yml        2026-10-25 
18:49:07.000000000 +0100
@@ -0,0 +1,22 @@
+name: CI
+on:
+  push:
+    branches: [main, master]
+  pull_request:
+permissions:
+  contents: read
+jobs:
+  ci:
+    runs-on: ubuntu-latest
+    container:
+      image: nixpkgs/nix-flakes:latest
+    steps:
+      - name: Checkout
+        run: |
+          git config --global --add safe.directory "$PWD"
+          git init
+          git remote add origin "https://github.com/$GITHUB_REPOSITORY.git";
+          git fetch --depth=1 origin "$GITHUB_SHA"
+          git checkout --detach FETCH_HEAD
+      - name: Check
+        run: nix flake check -L
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/.gitignore 
new/asciitree-1.0.0/.gitignore
--- old/asciitree-0.3.3/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/.gitignore      2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,10 @@
+/.env
+/result
+/result-doc
+/docs/_build/
+/build/
+/dist/
+*.egg-info/
+__pycache__/
+*.py[cod]
+.pytest_cache/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/.readthedocs.yaml 
new/asciitree-1.0.0/.readthedocs.yaml
--- old/asciitree-0.3.3/.readthedocs.yaml       1970-01-01 01:00:00.000000000 
+0100
+++ new/asciitree-1.0.0/.readthedocs.yaml       2026-10-25 18:49:07.000000000 
+0100
@@ -0,0 +1,16 @@
+version: 2
+
+# RTD's non-root container does not support normal Nix operation;
+# use `proot` to map `/nix` to a local user directory.
+build:
+  os: ubuntu-lts-latest
+  tools:
+    python: "3.13"
+  apt_packages: [nix-bin, build-essential, pkg-config, libtalloc-dev] # see 
build-proot.sh
+  jobs:
+    install:
+      - ./docs/build-proot.sh
+      - ./docs/configure-nix.sh
+    build:
+      html:
+        - ~/proot-env ./docs/build-docs.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/.replit new/asciitree-1.0.0/.replit
--- old/asciitree-0.3.3/.replit 1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/.replit 2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,2 @@
+language = "python3"
+run = "python example.py"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/CHANGELOG.md 
new/asciitree-1.0.0/CHANGELOG.md
--- old/asciitree-0.3.3/CHANGELOG.md    1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/CHANGELOG.md    2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,71 @@
+# Changelog
+
+## [1.0.0] - 2026-10-25
+
+### Added
+
+- Configurable layout spaces through `BoxStyle.gfx["SPACE"]`, with an 
ordinary-space fallback for existing palettes.
+
+### Changed
+
+- Declared the existing public API stable, without breaking changes from 0.4.0.
+
+## [0.4.0] - 2026-10-25
+
+### Added
+
+- Nix builds, tests, docs, and direnv development shell.
+- Ruff linting, treefmt formatting, and Nix-based GitHub CI.
+
+### Changed
+
+- Moved setuptools configuration to `pyproject.toml`.
+- Switched docs to Furo.
+- Converted README and docs to Markdown with MyST.
+
+### Removed
+
+- Python 2 compatibility; use `0.3.3` for Python 2.
+
+## [0.3.3] - 2016-09-05
+
+### Changed
+
+- Ported examples to Python 3.
+
+### Fixed
+
+- Dictionary traversal on Python 3.
+- Missing `LICENSE` in source distributions.
+- README formatting on PyPI.
+
+## [0.3.2] - 2016-06-28
+
+### Changed
+
+- Release metadata only.
+
+## [0.3.1] - 2015-10-03
+
+### Added
+
+- MIT license file.
+
+### Fixed
+
+- Unicode labels on Python 2.
+
+## [0.3] - 2015-02-27
+
+### Added
+
+- Configurable `LeftAligned` renderer; retained `draw_tree()`.
+- Dictionary and attribute-based traversal.
+- Unicode box styles and Sphinx API docs.
+
+[0.3]: https://pypi.org/project/asciitree/0.3/
+[0.3.1]: https://pypi.org/project/asciitree/0.3.1/
+[0.3.2]: https://pypi.org/project/asciitree/0.3.2/
+[0.3.3]: https://pypi.org/project/asciitree/0.3.3/
+[0.4.0]: https://pypi.org/project/asciitree/0.4.0/
+[1.0.0]: https://pypi.org/project/asciitree/1.0.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/LICENSE new/asciitree-1.0.0/LICENSE
--- old/asciitree-0.3.3/LICENSE 2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/LICENSE 2026-10-25 18:49:07.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2015 Marc Brinkmann
+Copyright (c) 2015-2026 Marc Brinkmann
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/MANIFEST.in 
new/asciitree-1.0.0/MANIFEST.in
--- old/asciitree-0.3.3/MANIFEST.in     2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/MANIFEST.in     1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/README.md 
new/asciitree-1.0.0/README.md
--- old/asciitree-0.3.3/README.md       1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/README.md       2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,39 @@
+# ASCII Trees
+
+```text
+asciitree
+ +-- sometimes
+ |   +-- you
+ +-- just
+ |   +-- want
+ |       +-- to
+ |       +-- draw
+ +-- trees
+ +-- in
+     +-- your
+         +-- terminal
+```
+
+```python
+from asciitree import LeftAligned
+
+tree = {
+    "asciitree": {
+        "sometimes": {"you": {}},
+        "just": {"want": {"to": {}, "draw": {}}},
+        "trees": {},
+        "in": {"your": {"terminal": {}}},
+    }
+}
+
+tr = LeftAligned()
+print(tr(tree))
+```
+
+Since Python 3.7, dictionaries preserve insertion order. On older versions, use
+`collections.OrderedDict` to preserve the tree's display order.
+
+For Python 2, use `asciitree<0.4`. Version 0.4.0 preserves the API and 
rendering
+behavior but supports Python 3 only.
+
+Read the documentation at <https://asciitree.readthedocs.io/en/stable/>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/README.rst 
new/asciitree-1.0.0/README.rst
--- old/asciitree-0.3.3/README.rst      2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/README.rst      1970-01-01 01:00:00.000000000 +0100
@@ -1,46 +0,0 @@
-ASCII Trees
-===========
-
-.. code:: console
-
-  asciitree
-   +-- sometimes
-   |   +-- you
-   +-- just
-   |   +-- want
-   |       +-- to
-   |       +-- draw
-   +-- trees
-   +-- in
-       +-- your
-           +-- terminal
-
-
-.. code:: python
-
-  from asciitree import LeftAligned
-  from collections import OrderedDict as OD
-
-  tree = {
-      'asciitree': OD([
-          ('sometimes',
-              {'you': {}}),
-          ('just',
-              {'want': OD([
-                  ('to', {}),
-                  ('draw', {}),
-              ])}),
-          ('trees', {}),
-          ('in', {
-              'your': {
-                  'terminal': {}
-              }
-          })
-      ])
-  }
-
-  tr = LeftAligned()
-  print(tr(tree))
-
-
-Read the documentation at http://pythonhosted.org/asciitree
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/asciitree/__init__.py 
new/asciitree-1.0.0/asciitree/__init__.py
--- old/asciitree-0.3.3/asciitree/__init__.py   2016-09-05 21:09:08.000000000 
+0200
+++ new/asciitree-1.0.0/asciitree/__init__.py   2026-10-25 18:49:07.000000000 
+0100
@@ -1,8 +1,7 @@
 #!/usr/bin/env python
-# -*- coding: utf-8 -*-
 
-from .drawing import BoxStyle
-from .traversal import DictTraversal
+from .drawing import BoxStyle, Style
+from .traversal import DictTraversal, Traversal
 from .util import KeyArgsConstructor
 
 
@@ -32,12 +31,10 @@
             if n == len(children) - 1:
                 # last child does not get the line drawn
                 lines.append(self.draw.last_child_head(child_tree.pop(0)))
-                lines.extend(self.draw.last_child_tail(l)
-                             for l in child_tree)
+                lines.extend(self.draw.last_child_tail(line) for line in 
child_tree)
             else:
                 lines.append(self.draw.child_head(child_tree.pop(0)))
-                lines.extend(self.draw.child_tail(l)
-                             for l in child_tree)
+                lines.extend(self.draw.child_tail(line) for line in child_tree)
 
         return lines
 
@@ -45,39 +42,35 @@
         """Render the tree into string suitable for console output.
 
         :param tree: A tree."""
-        return '\n'.join(self.render(self.traverse.get_root(tree)))
+        return "\n".join(self.render(self.traverse.get_root(tree)))
 
 
 # legacy support below
 
-from .drawing import Style
-from .traversal import Traversal
-
 
 class LegacyStyle(Style):
     def node_label(self, text):
         return text
 
     def child_head(self, label):
-        return '  +--' + label
+        return "  +--" + label
 
     def child_tail(self, line):
-        return '  |' + line
+        return "  |" + line
 
     def last_child_head(self, label):
-        return '  +--' + label
+        return "  +--" + label
 
     def last_child_tail(self, line):
-        return '   ' + line
+        return "   " + line
 
 
-def draw_tree(node,
-              child_iter=lambda n: n.children,
-              text_str=str):
+def draw_tree(node, child_iter=lambda n: n.children, text_str=str):
     """Support asciitree 0.2 API.
 
     This function solely exist to not break old code (using asciitree 0.2).
     Its use is deprecated."""
-    return LeftAligned(traverse=Traversal(get_text=text_str,
-                                          get_children=child_iter),
-                       draw=LegacyStyle())(node)
+    return LeftAligned(
+        traverse=Traversal(get_text=text_str, get_children=child_iter),
+        draw=LegacyStyle(),
+    )(node)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/asciitree/drawing.py 
new/asciitree-1.0.0/asciitree/drawing.py
--- old/asciitree-0.3.3/asciitree/drawing.py    2016-09-05 21:09:08.000000000 
+0200
+++ new/asciitree-1.0.0/asciitree/drawing.py    2026-10-25 18:49:07.000000000 
+0100
@@ -1,48 +1,54 @@
 from .util import KeyArgsConstructor
 
 BOX_LIGHT = {
-    'UP_AND_RIGHT': u'\u2514',
-    'HORIZONTAL': u'\u2500',
-    'VERTICAL': u'\u2502',
-    'VERTICAL_AND_RIGHT': u'\u251C',
+    "SPACE": " ",
+    "UP_AND_RIGHT": "\u2514",
+    "HORIZONTAL": "\u2500",
+    "VERTICAL": "\u2502",
+    "VERTICAL_AND_RIGHT": "\u251c",
 }  #: Unicode box-drawing glyphs, light style
 
 
 BOX_HEAVY = {
-    'UP_AND_RIGHT': u'\u2517',
-    'HORIZONTAL': u'\u2501',
-    'VERTICAL': u'\u2503',
-    'VERTICAL_AND_RIGHT': u'\u2523',
+    "SPACE": " ",
+    "UP_AND_RIGHT": "\u2517",
+    "HORIZONTAL": "\u2501",
+    "VERTICAL": "\u2503",
+    "VERTICAL_AND_RIGHT": "\u2523",
 }  #: Unicode box-drawing glyphs, heavy style
 
 
 BOX_DOUBLE = {
-    'UP_AND_RIGHT': u'\u255A',
-    'HORIZONTAL': u'\u2550',
-    'VERTICAL': u'\u2551',
-    'VERTICAL_AND_RIGHT': u'\u2560',
+    "SPACE": " ",
+    "UP_AND_RIGHT": "\u255a",
+    "HORIZONTAL": "\u2550",
+    "VERTICAL": "\u2551",
+    "VERTICAL_AND_RIGHT": "\u2560",
 }  #: Unicode box-drawing glyphs, double-line style
 
 
 BOX_ASCII = {
-    'UP_AND_RIGHT': u'+',
-    'HORIZONTAL': u'-',
-    'VERTICAL': u'|',
-    'VERTICAL_AND_RIGHT': u'+',
+    "SPACE": " ",
+    "UP_AND_RIGHT": "+",
+    "HORIZONTAL": "-",
+    "VERTICAL": "|",
+    "VERTICAL_AND_RIGHT": "+",
 }  #: Unicode box-drawing glyphs, using only ascii ``|+-`` characters.
 
 
 BOX_BLANK = {
-    'UP_AND_RIGHT': u' ',
-    'HORIZONTAL': u' ',
-    'VERTICAL': u' ',
-    'VERTICAL_AND_RIGHT': u' ',
+    "SPACE": " ",
+    "UP_AND_RIGHT": " ",
+    "HORIZONTAL": " ",
+    "VERTICAL": " ",
+    "VERTICAL_AND_RIGHT": " ",
 }  #: Unicode box-drawing glyphs, using only spaces.
 
 
 class Style(KeyArgsConstructor):
     """Rendering style for trees."""
-    label_format = u'{}'  #: Format for labels.
+
+    label_format = "{}"  #: Format for labels.
 
     def node_label(self, text):
         """Render a node text into a label."""
@@ -69,33 +75,47 @@
 
 class BoxStyle(Style):
     """A rendering style that uses box draw characters and a common layout."""
-    gfx = BOX_ASCII   #: Glyhps to use.
-    label_space = 1   #: Space between glyphs and label.
-    horiz_len = 2     #: Length of horizontal lines
-    indent = 1        #: Indent for subtrees
+
+    gfx = BOX_ASCII  #: Glyhps to use.
+    label_space = 1  #: Space between glyphs and label.
+    horiz_len = 2  #: Length of horizontal lines
+    indent = 1  #: Indent for subtrees
+
+    @property
+    def space(self):
+        """Layout space, with an ASCII-space fallback for older custom 
palettes."""
+        return self.gfx.get("SPACE", " ")
 
     def child_head(self, label):
-        return (' ' * self.indent
-                + self.gfx['VERTICAL_AND_RIGHT']
-                + self.gfx['HORIZONTAL'] * self.horiz_len
-                + ' ' * self.label_space
-                + label)
+        return (
+            self.space * self.indent
+            + self.gfx["VERTICAL_AND_RIGHT"]
+            + self.gfx["HORIZONTAL"] * self.horiz_len
+            + self.space * self.label_space
+            + label
+        )
 
     def child_tail(self, line):
-        return (' ' * self.indent
-                + self.gfx['VERTICAL']
-                + ' ' * self.horiz_len
-                + line)
+        return (
+            self.space * self.indent
+            + self.gfx["VERTICAL"]
+            + self.space * self.horiz_len
+            + line
+        )
 
     def last_child_head(self, label):
-        return (' ' * self.indent
-                + self.gfx['UP_AND_RIGHT']
-                + self.gfx['HORIZONTAL'] * self.horiz_len
-                + ' ' * self.label_space
-                + label)
+        return (
+            self.space * self.indent
+            + self.gfx["UP_AND_RIGHT"]
+            + self.gfx["HORIZONTAL"] * self.horiz_len
+            + self.space * self.label_space
+            + label
+        )
 
     def last_child_tail(self, line):
-        return (' ' * self.indent
-                + ' ' * len(self.gfx['VERTICAL'])
-                + ' ' * self.horiz_len
-                + line)
+        return (
+            self.space * self.indent
+            + self.space * len(self.gfx["VERTICAL"])
+            + self.space * self.horiz_len
+            + line
+        )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/asciitree/traversal.py 
new/asciitree-1.0.0/asciitree/traversal.py
--- old/asciitree-0.3.3/asciitree/traversal.py  2016-09-05 21:09:08.000000000 
+0200
+++ new/asciitree-1.0.0/asciitree/traversal.py  2026-10-25 18:49:07.000000000 
+0100
@@ -6,6 +6,7 @@
 
     Used by the tree rendering functions like :class:`~asciitree.LeftAligned`.
     """
+
     def get_children(self, node):
         """Return a list of children of a node."""
         raise NotImplementedError
@@ -22,6 +23,7 @@
 class DictTraversal(Traversal):
     """Traversal suitable for a dictionary. Keys are tree labels, all values
     must be dictionaries as well."""
+
     def get_children(self, node):
         return list(node[1].items())
 
@@ -37,7 +39,8 @@
 
     Uses an attribute of a node as its list of children.
     """
-    attribute = 'children'  #: Attribute to use.
+
+    attribute = "children"  #: Attribute to use.
 
     def get_children(self, node):
         return getattr(node, self.attribute)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/asciitree/util.py 
new/asciitree-1.0.0/asciitree/util.py
--- old/asciitree-0.3.3/asciitree/util.py       2016-09-05 21:09:08.000000000 
+0200
+++ new/asciitree-1.0.0/asciitree/util.py       2026-10-25 18:49:07.000000000 
+0100
@@ -1,4 +1,4 @@
-class KeyArgsConstructor(object):
+class KeyArgsConstructor:
     def __init__(self, **kwargs):
         for k, v in kwargs.items():
             setattr(self, k, v)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/Makefile 
new/asciitree-1.0.0/docs/Makefile
--- old/asciitree-0.3.3/docs/Makefile   2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/docs/Makefile   1970-01-01 01:00:00.000000000 +0100
@@ -1,153 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS    =
-SPHINXBUILD   = sphinx-build
-PAPER         =
-BUILDDIR      = _build
-
-# Internal variables.
-PAPEROPT_a4     = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-# the i18n builder cannot share the environment and doctrees with the others
-I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp 
epub latex latexpdf text man changes linkcheck doctest gettext
-
-help:
-       @echo "Please use \`make <target>' where <target> is one of"
-       @echo "  html       to make standalone HTML files"
-       @echo "  dirhtml    to make HTML files named index.html in directories"
-       @echo "  singlehtml to make a single large HTML file"
-       @echo "  pickle     to make pickle files"
-       @echo "  json       to make JSON files"
-       @echo "  htmlhelp   to make HTML files and a HTML help project"
-       @echo "  qthelp     to make HTML files and a qthelp project"
-       @echo "  devhelp    to make HTML files and a Devhelp project"
-       @echo "  epub       to make an epub"
-       @echo "  latex      to make LaTeX files, you can set PAPER=a4 or 
PAPER=letter"
-       @echo "  latexpdf   to make LaTeX files and run them through pdflatex"
-       @echo "  text       to make text files"
-       @echo "  man        to make manual pages"
-       @echo "  texinfo    to make Texinfo files"
-       @echo "  info       to make Texinfo files and run them through makeinfo"
-       @echo "  gettext    to make PO message catalogs"
-       @echo "  changes    to make an overview of all changed/added/deprecated 
items"
-       @echo "  linkcheck  to check all external links for integrity"
-       @echo "  doctest    to run all doctests embedded in the documentation 
(if enabled)"
-
-clean:
-       -rm -rf $(BUILDDIR)/*
-
-html:
-       $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
-       @echo
-       @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
-
-dirhtml:
-       $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
-       @echo
-       @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
-       $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
-       @echo
-       @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
-       $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
-       @echo
-       @echo "Build finished; now you can process the pickle files."
-
-json:
-       $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
-       @echo
-       @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
-       $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
-       @echo
-       @echo "Build finished; now you can run HTML Help Workshop with the" \
-             ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
-       $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
-       @echo
-       @echo "Build finished; now you can run "qcollectiongenerator" with the" 
\
-             ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
-       @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/asciitree.qhcp"
-       @echo "To view the help file:"
-       @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/asciitree.qhc"
-
-devhelp:
-       $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
-       @echo
-       @echo "Build finished."
-       @echo "To view the help file:"
-       @echo "# mkdir -p $$HOME/.local/share/devhelp/asciitree"
-       @echo "# ln -s $(BUILDDIR)/devhelp 
$$HOME/.local/share/devhelp/asciitree"
-       @echo "# devhelp"
-
-epub:
-       $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
-       @echo
-       @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
-
-latex:
-       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
-       @echo
-       @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
-       @echo "Run \`make' in that directory to run these through (pdf)latex" \
-             "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
-       $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
-       @echo "Running LaTeX files through pdflatex..."
-       $(MAKE) -C $(BUILDDIR)/latex all-pdf
-       @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
-       $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
-       @echo
-       @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
-       $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
-       @echo
-       @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-texinfo:
-       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
-       @echo
-       @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
-       @echo "Run \`make' in that directory to run these through makeinfo" \
-             "(use \`make info' here to do that automatically)."
-
-info:
-       $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
-       @echo "Running Texinfo files through makeinfo..."
-       make -C $(BUILDDIR)/texinfo info
-       @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
-
-gettext:
-       $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
-       @echo
-       @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
-
-changes:
-       $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
-       @echo
-       @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
-       $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
-       @echo
-       @echo "Link check complete; look for any errors in the above output " \
-             "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
-       $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
-       @echo "Testing of doctests in the sources finished, look at the " \
-             "results in $(BUILDDIR)/doctest/output.txt."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/build-docs.sh 
new/asciitree-1.0.0/docs/build-docs.sh
--- old/asciitree-0.3.3/docs/build-docs.sh      1970-01-01 01:00:00.000000000 
+0100
+++ new/asciitree-1.0.0/docs/build-docs.sh      2026-10-25 18:49:07.000000000 
+0100
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+mkdir -p "$READTHEDOCS_OUTPUT/html"
+nix build "^doc" -L
+cp -R result-doc/share/doc/*/html/. "$READTHEDOCS_OUTPUT/html/"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/build-proot.sh 
new/asciitree-1.0.0/docs/build-proot.sh
--- old/asciitree-0.3.3/docs/build-proot.sh     1970-01-01 01:00:00.000000000 
+0100
+++ new/asciitree-1.0.0/docs/build-proot.sh     2026-10-25 18:49:07.000000000 
+0100
@@ -0,0 +1,17 @@
+#!/bin/sh
+# This script builds PRoot 5.5.0, which fixes `fchmodat2` handling:
+# https://github.com/proot-me/proot/issues/387
+# Required apt packages: `build-essential`, `pkg-config`, `libtalloc-dev`,
+# `git`, and `ca-certificates`.
+set -eu
+
+cd "$(dirname "$0")/.."
+build_dir=$(mktemp -d)
+
+source_dir="$build_dir/proot"
+git clone --depth=1 --revision=25dc6a3134891f98a79f57ce1c2c1b23ff15cad1 \
+  https://github.com/proot-me/proot.git "$source_dir"
+
+make -C "$source_dir/src" WITHOUT_PYTHON=1 VERSION=5.5.0 loader.elf 
loader-m32.elf build.h
+make -C "$source_dir/src" -j2 WITHOUT_PYTHON=1 VERSION=5.5.0 proot
+install -m 755 "$source_dir/src/proot" "$HOME/proot"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/conf.py 
new/asciitree-1.0.0/docs/conf.py
--- old/asciitree-0.3.3/docs/conf.py    2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/docs/conf.py    2026-10-25 18:49:07.000000000 +0100
@@ -1,248 +1,19 @@
-# -*- coding: utf-8 -*-
-#
-# asciitree documentation build configuration file, created by
-# sphinx-quickstart on Fri Feb 27 13:10:00 2015.
-#
-# This file is execfile()d with the current directory set to its containing 
dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
+# Generated by sphinx-quickstart on Fri Feb 27 13:10:00 2015.
 
-import sys, os
+from pathlib import Path
+import tomllib
 
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
+project = "asciitree"
+author = "Marc Brinkmann"
+copyright = "2015-2026, Marc Brinkmann"
 
-# -- General configuration 
-----------------------------------------------------
+with (Path(__file__).resolve().parents[1] / "pyproject.toml").open("rb") as 
metadata:
+    release = tomllib.load(metadata)["project"]["version"]
+version = ".".join(release.split(".")[:2])
 
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
+extensions = ["myst_parser", "sphinx.ext.autodoc"]
+exclude_patterns = ["_build"]
+html_theme = "furo"
 
-# Add any Sphinx extension module names here, as strings. They can be 
extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
-
-# Add any paths that contain templates here, relative to this directory.
-#templates_path = ['_templates']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General information about the project.
-project = u'asciitree'
-copyright = u'2015, Marc Brinkmann'
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-version = '0.3.3'
-# The full version, including alpha/beta/rc tags.
-release = '0.3.3'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build']
-
-# The reST default role (used for this markup: `text`) to use for all 
documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
-
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-# -- Options for HTML output 
---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages.  See the documentation for
-# a list of builtin themes.
-import sphinx_readable_theme
-
-html_theme_path = [sphinx_readable_theme.get_html_theme_path()]
-html_theme = 'readable'
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further.  For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents.  If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-#html_static_path = ['_static']
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it.  The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'asciitreedoc'
-
-
-# -- Options for LaTeX output 
--------------------------------------------------
-
-latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
-
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
-}
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass 
[howto/manual]).
-latex_documents = [
-  ('index', 'asciitree.tex', u'asciitree Documentation',
-   u'Marc Brinkmann', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output 
--------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = [
-    ('index', 'asciitree', u'asciitree Documentation',
-     [u'Marc Brinkmann'], 1)
-]
-
-# If true, show URL addresses after external links.
-#man_show_urls = False
-
-
-# -- Options for Texinfo output 
------------------------------------------------
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-#  dir menu entry, description, category)
-texinfo_documents = [
-  ('index', 'asciitree', u'asciitree Documentation',
-   u'Marc Brinkmann', 'asciitree', 'One line description of project.',
-   'Miscellaneous'),
-]
-
-# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
-
-# If false, no module index is generated.
-#texinfo_domain_indices = True
-
-# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
-
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+# Preserve explicit years under reproducible builds.
+html_context = {"copyright": copyright}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/configure-nix.sh 
new/asciitree-1.0.0/docs/configure-nix.sh
--- old/asciitree-0.3.3/docs/configure-nix.sh   1970-01-01 01:00:00.000000000 
+0100
+++ new/asciitree-1.0.0/docs/configure-nix.sh   2026-10-25 18:49:07.000000000 
+0100
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -eu
+
+mkdir -p "$HOME/.config/nix" "$HOME/.local/share/nix"
+cat >"$HOME/.config/nix/nix.conf" <<'EOF'
+experimental-features = nix-command flakes
+store = local
+build-users-group =
+sandbox = false
+EOF
+
+cat >"$HOME/proot-env" <<'EOF'
+#!/bin/sh
+exec "$HOME/proot" -b "$HOME/.local/share/nix:/nix" "$@"
+EOF
+chmod +x "$HOME/proot-env"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/index.md 
new/asciitree-1.0.0/docs/index.md
--- old/asciitree-0.3.3/docs/index.md   1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/docs/index.md   2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,27 @@
+# asciitree
+
+`asciitree` draws tree structures using characters.
+
+```{include} ../README.md
+:heading-offset: 1
+```
+
+Fancier examples:
+
+```{literalinclude} ../example.py
+:language: python
+```
+
+## API
+
+```{eval-rst}
+.. autoclass:: asciitree.LeftAligned
+   :members:
+   :special-members:
+
+.. automodule:: asciitree.traversal
+   :members:
+
+.. automodule:: asciitree.drawing
+   :members:
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/docs/index.rst 
new/asciitree-1.0.0/docs/index.rst
--- old/asciitree-0.3.3/docs/index.rst  2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/docs/index.rst  1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-asciitree
-=========
-
-``asciitree`` draws tree structures using characters.
-
-.. include:: ../README.rst
-
-Fancier examples:
-
-.. literalinclude:: ../example.py
-   :language: python
-
-
-API
-===
-
-.. autoclass:: asciitree.LeftAligned
-   :members:
-   :special-members:
-
-
-.. automodule:: asciitree.traversal
-   :members:
-
-.. automodule:: asciitree.drawing
-   :members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/example.py 
new/asciitree-1.0.0/example.py
--- old/asciitree-0.3.3/example.py      2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/example.py      2026-10-25 18:49:07.000000000 +0100
@@ -1,4 +1,3 @@
-from collections import OrderedDict as OD
 from copy import deepcopy
 
 from asciitree import LeftAligned
@@ -6,32 +5,20 @@
 
 tr = LeftAligned()
 
-# a basic tree
-# OrderedDict is used in some places where node order is important, otherwise
-# a normal dict is used for the sake of readabilitiy
 tree = {
-    'asciitree': OD([
-        ('sometimes',
-            {'you': {}}),
-        ('just',
-            {'want': OD([
-                ('to', {}),
-                ('draw', {}),
-            ])}),
-        ('trees', {}),
-        ('in', {
-            'your': {
-                'terminal': {}
-            }
-        })
-    ])
+    "asciitree": {
+        "sometimes": {"you": {}},
+        "just": {"want": {"to": {}, "draw": {}}},
+        "trees": {},
+        "in": {"your": {"terminal": {}}},
+    }
 }
 
 print(tr(tree))
 
 # construct a more complex tree by copying the tree and grafting it onto itself
 tree2 = deepcopy(tree)
-tree2['asciitree']['trees'] = deepcopy(tree2['asciitree'])
+tree2["asciitree"]["trees"] = deepcopy(tree2["asciitree"])
 print(tr(tree2))
 
 # use a box style
@@ -39,8 +26,7 @@
 print(box_tr(tree))
 
 # more airy
-air_tr = LeftAligned(draw=BoxStyle(gfx=BOX_BLANK,
-                                   label_space=0,
-                                   label_format='[{}]',
-                                   indent=0))
+air_tr = LeftAligned(
+    draw=BoxStyle(gfx=BOX_BLANK, label_space=0, label_format="[{}]", indent=0)
+)
 print(air_tr(tree))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/flake.lock 
new/asciitree-1.0.0/flake.lock
--- old/asciitree-0.3.3/flake.lock      1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/flake.lock      2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,82 @@
+{
+  "nodes": {
+    "flake-utils": {
+      "inputs": {
+        "systems": "systems"
+      },
+      "locked": {
+        "lastModified": 1791914995,
+        "narHash": "sha256-Zf/xfQEAasnwnmEfHqW/4hjDE/s44yn2hD4RuVIZRjA=",
+        "owner": "numtide",
+        "repo": "flake-utils",
+        "rev": "b7a79d3fea1e214f6d668d521cecec0c01e26544",
+        "type": "github"
+      },
+      "original": {
+        "owner": "numtide",
+        "repo": "flake-utils",
+        "type": "github"
+      }
+    },
+    "nixpkgs": {
+      "locked": {
+        "lastModified": 1792615934,
+        "narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=",
+        "owner": "NixOS",
+        "repo": "nixpkgs",
+        "rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36",
+        "type": "github"
+      },
+      "original": {
+        "owner": "NixOS",
+        "ref": "nixos-26.05",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
+    "root": {
+      "inputs": {
+        "flake-utils": "flake-utils",
+        "nixpkgs": "nixpkgs",
+        "treefmt-nix": "treefmt-nix"
+      }
+    },
+    "systems": {
+      "locked": {
+        "lastModified": 1681028828,
+        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+        "owner": "nix-systems",
+        "repo": "default",
+        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nix-systems",
+        "repo": "default",
+        "type": "github"
+      }
+    },
+    "treefmt-nix": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1791885023,
+        "narHash": "sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72++bfwoqT9Omo=",
+        "owner": "numtide",
+        "repo": "treefmt-nix",
+        "rev": "0d6d739a833ba9a9c93034862e4a7b061a062a1c",
+        "type": "github"
+      },
+      "original": {
+        "owner": "numtide",
+        "repo": "treefmt-nix",
+        "type": "github"
+      }
+    }
+  },
+  "root": "root",
+  "version": 7
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/flake.nix 
new/asciitree-1.0.0/flake.nix
--- old/asciitree-0.3.3/flake.nix       1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/flake.nix       2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,75 @@
+{
+  description = "Draws ASCII trees";
+
+  inputs = {
+    nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
+    flake-utils.url = "github:numtide/flake-utils";
+    treefmt-nix.url = "github:numtide/treefmt-nix";
+    treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
+  };
+
+  outputs =
+    {
+      self,
+      nixpkgs,
+      flake-utils,
+      treefmt-nix,
+      ...
+    }:
+    flake-utils.lib.eachDefaultSystem (
+      system:
+      let
+        pkgs = nixpkgs.legacyPackages.${system};
+        python = pkgs.python3;
+        pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
+        treefmt = treefmt-nix.lib.evalModule pkgs {
+          projectRootFile = "flake.nix";
+          programs = {
+            ruff-check.enable = true;
+            ruff-format.enable = true;
+            nixfmt.enable = true;
+            mdformat.enable = true;
+            taplo.enable = true;
+            shfmt.enable = true;
+          };
+        };
+      in
+      {
+        packages.default = python.pkgs.buildPythonPackage {
+          pname = pyproject.project.name;
+          version = pyproject.project.version;
+          src = ./.;
+          pyproject = true;
+          outputs = [
+            "out"
+            "doc"
+          ];
+
+          build-system = [ python.pkgs.setuptools ];
+          nativeBuildInputs = with python.pkgs; [
+            sphinxHook
+            myst-parser
+            furo
+          ];
+          nativeCheckInputs = [ python.pkgs.pytestCheckHook ];
+          pythonImportsCheck = [ "asciitree" ];
+        };
+
+        formatter = treefmt.config.build.wrapper;
+        checks = {
+          formatting = treefmt.config.build.check self;
+          library = self.packages.${system}.default;
+        };
+
+        devShells.default = pkgs.mkShell {
+          inputsFrom = [ self.packages.${system}.default ];
+          packages = [
+            treefmt.config.build.wrapper
+            pkgs.ruff
+            pkgs.twine
+            python.pkgs.build
+          ];
+        };
+      }
+    );
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/publish.sh 
new/asciitree-1.0.0/publish.sh
--- old/asciitree-0.3.3/publish.sh      1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/publish.sh      2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -eu
+
+cd "$(dirname "$0")"
+nix flake check -L
+
+dist_dir=$(mktemp -d)
+trap 'rm -rf "$dist_dir"' EXIT
+
+pyproject-build --no-isolation --outdir "$dist_dir"
+twine check --strict "$dist_dir"/*
+twine upload "$dist_dir"/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/pyproject.toml 
new/asciitree-1.0.0/pyproject.toml
--- old/asciitree-0.3.3/pyproject.toml  1970-01-01 01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/pyproject.toml  2026-10-25 18:49:07.000000000 +0100
@@ -0,0 +1,20 @@
+[build-system]
+requires = ["setuptools>=77.0.3"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "asciitree"
+version = "1.0.0"
+description = "Draws ASCII trees."
+readme = "README.md"
+authors = [{ name = "Marc Brinkmann", email = "[email protected]" }]
+license = "MIT"
+license-files = ["LICENSE"]
+dependencies = []
+
+[project.urls]
+Homepage = "https://github.com/mbr/asciitree";
+Documentation = "https://asciitree.readthedocs.io/en/stable/";
+
+[tool.setuptools]
+packages = ["asciitree"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/setup.py new/asciitree-1.0.0/setup.py
--- old/asciitree-0.3.3/setup.py        2016-09-05 21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/setup.py        1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-import os
-
-from setuptools import setup, find_packages
-
-
-def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
-
-
-setup(
-    name='asciitree',
-    version='0.3.3',
-    description='Draws ASCII trees.',
-    long_description=read('README.rst'),
-    author='Marc Brinkmann',
-    author_email='[email protected]',
-    url='http://github.com/mbr/asciitree',
-    license='MIT',
-    packages=find_packages(exclude=['tests']),
-    install_requires=[],
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/tests/test_backwards_compat.py 
new/asciitree-1.0.0/tests/test_backwards_compat.py
--- old/asciitree-0.3.3/tests/test_backwards_compat.py  2016-09-05 
21:09:08.000000000 +0200
+++ new/asciitree-1.0.0/tests/test_backwards_compat.py  2026-10-25 
18:49:07.000000000 +0100
@@ -11,7 +11,7 @@
      |  +--sub3sub1sub1
      +--sub3sub2"""
 
-    class Node(object):
+    class Node:
         def __init__(self, name, children):
             self.name = name
             self.children = children
@@ -19,17 +19,16 @@
         def __str__(self):
             return self.name
 
-    root = Node('root', [
-        Node('sub1', []),
-        Node('sub2', [
-            Node('sub2sub1', [])
-        ]),
-        Node('sub3', [
-            Node('sub3sub1', [
-                Node('sub3sub1sub1', [])
-            ]),
-            Node('sub3sub2', [])
-        ])
-    ])
+    root = Node(
+        "root",
+        [
+            Node("sub1", []),
+            Node("sub2", [Node("sub2sub1", [])]),
+            Node(
+                "sub3",
+                [Node("sub3sub1", [Node("sub3sub1sub1", [])]), 
Node("sub3sub2", [])],
+            ),
+        ],
+    )
 
     assert draw_tree(root) == expected_output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/tests/test_layout_space.py 
new/asciitree-1.0.0/tests/test_layout_space.py
--- old/asciitree-0.3.3/tests/test_layout_space.py      1970-01-01 
01:00:00.000000000 +0100
+++ new/asciitree-1.0.0/tests/test_layout_space.py      2026-10-25 
18:49:07.000000000 +0100
@@ -0,0 +1,24 @@
+from asciitree import LeftAligned
+from asciitree.drawing import BoxStyle
+
+
+def test_palette_without_space():
+    """Custom palettes without a `SPACE` key retain ordinary space padding."""
+    gfx = {
+        "UP_AND_RIGHT": "+",
+        "HORIZONTAL": "-",
+        "VERTICAL": "|",
+        "VERTICAL_AND_RIGHT": "+",
+    }
+    tree = {
+        "root label": {
+            "first label": {"first leaf": {}},
+            "last label": {"last leaf": {}},
+        },
+    }
+    expected = """root label
+ +-- first label
+ |   +-- first leaf
+ +-- last label
+     +-- last leaf"""
+    assert LeftAligned(draw=BoxStyle(gfx=gfx))(tree) == expected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciitree-0.3.3/tests/test_unicode.py 
new/asciitree-1.0.0/tests/test_unicode.py
--- old/asciitree-0.3.3/tests/test_unicode.py   2016-09-05 21:09:08.000000000 
+0200
+++ new/asciitree-1.0.0/tests/test_unicode.py   2026-10-25 18:49:07.000000000 
+0100
@@ -1,6 +1,6 @@
-# -*- coding: utf-8 -*-
 from asciitree import LeftAligned
 
+
 def test_unicode_doesnt_crash():
     tr = LeftAligned()
-    assert tr({u"åäö": {}}) == u"åäö"
+    assert tr({"åäö": {}}) == "åäö"

Reply via email to