Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gp-libs for openSUSE:Factory 
checked in at 2026-08-21 17:00:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gp-libs (Old)
 and      /work/SRC/openSUSE:Factory/.python-gp-libs.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gp-libs"

Fri Aug 21 17:00:15 2026 rev:8 rq:1372792 version:0.0.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gp-libs/python-gp-libs.changes    
2026-07-02 20:13:06.336978051 +0200
+++ /work/SRC/openSUSE:Factory/.python-gp-libs.new.1258/python-gp-libs.changes  
2026-08-21 17:00:41.334685553 +0200
@@ -1,0 +2,8 @@
+Fri Aug 21 10:11:49 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.0.19:
+  * gp-libs 0.0.19 adds the +HIDE doctest option flag, so a
+    documentation example can carry setup lines that run and are
+    checked but stay out of the rendered page
+
+-------------------------------------------------------------------

Old:
----
  gp_libs-0.0.18.tar.gz

New:
----
  gp_libs-0.0.19.tar.gz

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

Other differences:
------------------
++++++ python-gp-libs.spec ++++++
--- /var/tmp/diff_new_pack.Nt095e/_old  2026-08-21 17:00:42.728735207 +0200
+++ /var/tmp/diff_new_pack.Nt095e/_new  2026-08-21 17:00:42.737735527 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-gp-libs
-Version:        0.0.18
+Version:        0.0.19
 Release:        0
 Summary:        Internal utilities for projects following git-pull python 
package spec
 License:        MIT
@@ -40,7 +40,8 @@
 %python_subpackages
 
 %description
-Incubating / dogfooding some sphinx extensions and pytest plugins on git-pull 
projects, e.g. cihai, vcs-python, or tmux-python.
+Incubating / dogfooding some sphinx extensions and pytest plugins on git-pull
+projects, e.g. cihai, vcs-python, or tmux-python.
 
 %prep
 %autosetup -p1 -n gp_libs-%{version}

++++++ gp_libs-0.0.18.tar.gz -> gp_libs-0.0.19.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gp_libs-0.0.18/PKG-INFO new/gp_libs-0.0.19/PKG-INFO
--- old/gp_libs-0.0.18/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/gp_libs-0.0.19/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: gp-libs
-Version: 0.0.18
+Version: 0.0.19
 Summary: Internal utilities for projects following git-pull python package spec
 Project-URL: Bug Tracker, https://github.com/git-pull/gp-libs/issues
 Project-URL: Documentation, https://gp-libs.git-pull.com
@@ -59,7 +59,7 @@
 This extends standard library `doctest` to support anything docutils can parse.
 It can parse reStructuredText (.rst) and markdown (.md).
 
-See more: <https://gp-libs.git-pull.com/doctest/>
+See more: <https://gp-libs.git-pull.com/modules/doctest_docutils/>
 
 #### Supported styles
 
@@ -83,7 +83,7 @@
      4
   ```
 
-  Markdown (requires [myst-parser]):
+  Markdown:
 
   ````markdown
   ```{doctest}
@@ -108,7 +108,7 @@
 
 ##### Markdown
 
-If you install [myst-parser], doctest will run on .md files.
+Markdown files run through [myst-parser], which is installed with gp-libs.
 
 ```console
 $ python -m doctest_docutils README.md -v
@@ -118,7 +118,8 @@
 
 _This plugin disables [pytest's standard `doctest` plugin]._
 
-This plugin integrates with the `doctest_docutils` module with pytest to 
enable seamless testing of docs, `conftest.py` fixtures and all.
+This plugin integrates `doctest_docutils` with pytest so documentation examples
+run with the surrounding `conftest.py` setup.
 
 ```console
 $ pytest docs/
@@ -127,7 +128,7 @@
 Like the above module, it supports docutils' own `doctest_block` and a basic
 `.. doctest::` directive.
 
-See more: <https://gp-libs.git-pull.com/doctest/pytest.html>
+See more: <https://gp-libs.git-pull.com/modules/pytest_doctest_docutils/>
 
 [pytest's standard `doctest` plugin]: 
https://docs.pytest.org/en/stable/how-to/doctest.html#doctest
 
@@ -159,10 +160,10 @@
    issue_url_tpl = 'https://github.com/git-pull/gp-libs/issues/{issue_id}'
    ```
 
-   The config variable is formatted via {meth}`str.format` where `issue_id` is
+   The config variable is formatted via `str.format()` where `issue_id` is
    `42` if the text is \#42.
 
-See more: <https://gp-libs.git-pull.com/linkify_issues/>
+See more: <https://gp-libs.git-pull.com/modules/linkify_issues/>
 
 ## Install
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gp_libs-0.0.18/README.md new/gp_libs-0.0.19/README.md
--- old/gp_libs-0.0.18/README.md        2020-02-02 01:00:00.000000000 +0100
+++ new/gp_libs-0.0.19/README.md        2020-02-02 01:00:00.000000000 +0100
@@ -27,7 +27,7 @@
 This extends standard library `doctest` to support anything docutils can parse.
 It can parse reStructuredText (.rst) and markdown (.md).
 
-See more: <https://gp-libs.git-pull.com/doctest/>
+See more: <https://gp-libs.git-pull.com/modules/doctest_docutils/>
 
 #### Supported styles
 
@@ -51,7 +51,7 @@
      4
   ```
 
-  Markdown (requires [myst-parser]):
+  Markdown:
 
   ````markdown
   ```{doctest}
@@ -76,7 +76,7 @@
 
 ##### Markdown
 
-If you install [myst-parser], doctest will run on .md files.
+Markdown files run through [myst-parser], which is installed with gp-libs.
 
 ```console
 $ python -m doctest_docutils README.md -v
@@ -86,7 +86,8 @@
 
 _This plugin disables [pytest's standard `doctest` plugin]._
 
-This plugin integrates with the `doctest_docutils` module with pytest to 
enable seamless testing of docs, `conftest.py` fixtures and all.
+This plugin integrates `doctest_docutils` with pytest so documentation examples
+run with the surrounding `conftest.py` setup.
 
 ```console
 $ pytest docs/
@@ -95,7 +96,7 @@
 Like the above module, it supports docutils' own `doctest_block` and a basic
 `.. doctest::` directive.
 
-See more: <https://gp-libs.git-pull.com/doctest/pytest.html>
+See more: <https://gp-libs.git-pull.com/modules/pytest_doctest_docutils/>
 
 [pytest's standard `doctest` plugin]: 
https://docs.pytest.org/en/stable/how-to/doctest.html#doctest
 
@@ -127,10 +128,10 @@
    issue_url_tpl = 'https://github.com/git-pull/gp-libs/issues/{issue_id}'
    ```
 
-   The config variable is formatted via {meth}`str.format` where `issue_id` is
+   The config variable is formatted via `str.format()` where `issue_id` is
    `42` if the text is \#42.
 
-See more: <https://gp-libs.git-pull.com/linkify_issues/>
+See more: <https://gp-libs.git-pull.com/modules/linkify_issues/>
 
 ## Install
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gp_libs-0.0.18/pyproject.toml 
new/gp_libs-0.0.19/pyproject.toml
--- old/gp_libs-0.0.18/pyproject.toml   2020-02-02 01:00:00.000000000 +0100
+++ new/gp_libs-0.0.19/pyproject.toml   2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 [project]
 name = "gp-libs"
-version = "0.0.18"
+version = "0.0.19"
 description = "Internal utilities for projects following git-pull python 
package spec"
 requires-python = ">=3.10,<4.0"
 authors = [
@@ -48,8 +48,8 @@
 [dependency-groups]
 dev = [
   # Docs
-  "gp-sphinx==0.0.1a31",
-  "sphinx-autodoc-api-style==0.0.1a31",
+  "gp-sphinx==0.0.1a33",
+  "sphinx-autodoc-api-style==0.0.1a33",
   "gp-libs",
   "sphinx-autobuild",
   # Testing
@@ -70,8 +70,8 @@
 ]
 
 docs = [
-  "gp-sphinx==0.0.1a31",
-  "sphinx-autodoc-api-style==0.0.1a31",
+  "gp-sphinx==0.0.1a33",
+  "sphinx-autodoc-api-style==0.0.1a33",
   "gp-libs",
   "sphinx-autobuild",
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gp_libs-0.0.18/src/gp_libs.py 
new/gp_libs-0.0.19/src/gp_libs.py
--- old/gp_libs-0.0.18/src/gp_libs.py   2020-02-02 01:00:00.000000000 +0100
+++ new/gp_libs-0.0.19/src/gp_libs.py   2020-02-02 01:00:00.000000000 +0100
@@ -5,7 +5,7 @@
 __title__ = "gp-libs"
 __package_name__ = "gp_libs"
 __description__ = "Internal utilities for git-pull projects"
-__version__ = "0.0.18"
+__version__ = "0.0.19"
 __author__ = "Tony Narlock"
 __github__ = "https://github.com/git-pull/gp-libs";
 __docs__ = "https://gp-libs.git-pull.com";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gp_libs-0.0.18/src/pytest_doctest_docutils.py 
new/gp_libs-0.0.19/src/pytest_doctest_docutils.py
--- old/gp_libs-0.0.18/src/pytest_doctest_docutils.py   2020-02-02 
01:00:00.000000000 +0100
+++ new/gp_libs-0.0.19/src/pytest_doctest_docutils.py   2020-02-02 
01:00:00.000000000 +0100
@@ -67,6 +67,11 @@
 
     Todo: Find a way to make these plugins cooperate without collecting twice.
     """
+    # Register HIDE eagerly, before collection parses any docstring. The .py
+    # path delegates to pytest's own DoctestModule (which never calls our
+    # _get_flag_lookup), so registering it here is what lets a docstring carry
+    # ``# doctest: +HIDE`` without raising ``invalid option`` at parse time.
+    _get_hide_flag()
     if config.pluginmanager.has_plugin("doctest"):
         config.pluginmanager.set_blocked("doctest")
 
@@ -232,6 +237,20 @@
     return doctest.register_optionflag("NUMBER")
 
 
+def _get_hide_flag() -> int:
+    """Register and return the HIDE flag.
+
+    ``HIDE`` is a no-op for execution: the output checker never consults it.
+    It marks a doctest example that documentation tooling should drop from the
+    rendered output while still running it as a test. Registering it here means
+    ``# doctest: +HIDE`` parses instead of raising ``ValueError: invalid
+    option`` at collection time.
+    """
+    import doctest
+
+    return doctest.register_optionflag("HIDE")
+
+
 def _get_flag_lookup() -> dict[str, int]:
     import doctest
 
@@ -245,6 +264,7 @@
         "ALLOW_UNICODE": _get_allow_unicode_flag(),
         "ALLOW_BYTES": _get_allow_bytes_flag(),
         "NUMBER": _get_number_flag(),
+        "HIDE": _get_hide_flag(),
     }
 
 

Reply via email to