Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx-issues for
openSUSE:Factory checked in at 2025-11-11 19:18:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-issues (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-issues.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-issues"
Tue Nov 11 19:18:46 2025 rev:11 rq:1316832 version:5.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-issues/python-sphinx-issues.changes
2025-01-17 18:37:15.048654111 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinx-issues.new.1980/python-sphinx-issues.changes
2025-11-11 19:19:04.689793760 +0100
@@ -1,0 +2,6 @@
+Mon Nov 10 08:38:28 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 5.0.1:
+ * Properly handle user and org names with symbols in them
+
+-------------------------------------------------------------------
Old:
----
5.0.0.tar.gz
New:
----
5.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-issues.spec ++++++
--- /var/tmp/diff_new_pack.FW1hcM/_old 2025-11-11 19:19:06.633875482 +0100
+++ /var/tmp/diff_new_pack.FW1hcM/_new 2025-11-11 19:19:06.653876323 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-issues
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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-sphinx-issues
-Version: 5.0.0
+Version: 5.0.1
Release: 0
Summary: A Sphinx extension for linking to a project's issue tracker
License: MIT
++++++ 5.0.0.tar.gz -> 5.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-issues-5.0.0/.pre-commit-config.yaml
new/sphinx-issues-5.0.1/.pre-commit-config.yaml
--- old/sphinx-issues-5.0.0/.pre-commit-config.yaml 2024-10-12
04:22:17.000000000 +0200
+++ new/sphinx-issues-5.0.1/.pre-commit-config.yaml 2025-04-10
15:40:32.000000000 +0200
@@ -2,17 +2,17 @@
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.6.3
+ rev: v0.11.4
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.29.2
+ rev: 0.32.1
hooks:
- id: check-github-workflows
- id: check-readthedocs
- repo: https://github.com/asottile/blacken-docs
- rev: 1.18.0
+ rev: 1.19.1
hooks:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-issues-5.0.0/README.rst
new/sphinx-issues-5.0.1/README.rst
--- old/sphinx-issues-5.0.0/README.rst 2024-10-12 04:22:17.000000000 +0200
+++ new/sphinx-issues-5.0.1/README.rst 2025-04-10 15:40:32.000000000 +0200
@@ -28,7 +28,7 @@
Add ``sphinx_issues`` to ``extensions`` in your ``conf.py``.
The extension has default values for GitHub projects.
-Simply set the add the ``issues_default_group_project`` config variable and
you are good
+Add the ``issues_github_path`` config variable and you are good
to go:
.. code-block:: python
@@ -54,9 +54,7 @@
issues_user_uri = "https://github.com/{user}"
issues_user_prefix = "@"
-The extension is very configurable and can be used with any kind of
-issue tracker. Here is how you could configure it for use
-with a custom hosed GitLab instance:
+You can also use this extension with other issue trackers. Here is how you
could configure it for a hosted GitLab instance:
.. code-block:: python
@@ -96,10 +94,9 @@
See PR :pr:`58`
-Use the ``:user:`` role in your docs to link to user profiles (GitHub by
default, but can be configured via the ``issues_user_uri`` config variable).
+The ``:user:`` role links to user profiles (GitHub by default, but can be
configured via the ``issues_user_uri`` config variable).
-
-Use the ``:commit:`` role to link to commits.
+The ``:commit:`` role links to commits.
.. code-block:: rst
@@ -109,7 +106,7 @@
Thanks to :user:`bitprophet` for the idea!
-You can also use explicit names if you want to use a different name than the
github user name:
+You can also change the text of the hyperlink:
.. code-block:: rst
@@ -117,18 +114,23 @@
The syntax ``:role:`My custom title <target>``` works for all roles of this
extension.
-It can be also used in combination with a list:
-
.. code-block:: rst
- Fix bad bug :issue:`123, (Duplicate) <199>`
+ Fix bad bug :issue:`123, 199 (Duplicate) <123>`
-Use the ``:pypi:`` role to link to PyPI on https://pypi.org.
+The ``:pypi:`` role links to project pages on `PyPI <https://pypi.org>`_.
.. code-block:: rst
:pypi:`sphinx-issues` - A Sphinx extension for linking to your project's
issue tracker.
+Important note about :cwe: and :cve: roles
+******************************************
+
+The ``:cwe:`` and ``:cve:`` are included within `newer versions of Sphinx
<https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-cve>`_.
+If you use these roles and are using Sphinx<8.1, you will need to
+install sphinx-issues<5.
+
Credits
*******
@@ -143,6 +145,12 @@
Changelog
*********
+5.0.1 (2025-04-10)
+------------------
+
+- Properly handle user and org names with symbols in them (`#174
<https://github.com/sloria/sphinx-issues/issues/174>`_).
+ Thanks @ilan-gold for reporting and @flying-sheep for the PR.
+
5.0.0 (2024-10-11)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-issues-5.0.0/pyproject.toml
new/sphinx-issues-5.0.1/pyproject.toml
--- old/sphinx-issues-5.0.0/pyproject.toml 2024-10-12 04:22:17.000000000
+0200
+++ new/sphinx-issues-5.0.1/pyproject.toml 2025-04-10 15:40:32.000000000
+0200
@@ -1,6 +1,6 @@
[project]
name = "sphinx-issues"
-version = "5.0.0"
+version = "5.0.1"
description = "A Sphinx extension for linking to your project's issue tracker"
readme = "README.rst"
license = { file = "LICENSE" }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-issues-5.0.0/src/sphinx_issues/__init__.py
new/sphinx-issues-5.0.1/src/sphinx_issues/__init__.py
--- old/sphinx-issues-5.0.0/src/sphinx_issues/__init__.py 2024-10-12
04:22:17.000000000 +0200
+++ new/sphinx-issues-5.0.1/src/sphinx_issues/__init__.py 2025-04-10
15:40:32.000000000 +0200
@@ -172,7 +172,7 @@
# - group/project@adbc1234 for commits
ELEMENT_SEPARATORS = "#@!"
- EXTERNAL_REPO_REGEX =
re.compile(rf"^(\w+)/(.+)([{ELEMENT_SEPARATORS}])([\w]+)$")
+ EXTERNAL_REPO_REGEX =
re.compile(rf"^(.+)/(.+)([{ELEMENT_SEPARATORS}])(\w+)$")
def __init__(
self,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-issues-5.0.0/tests/test_sphinx_issues.py
new/sphinx-issues-5.0.1/tests/test_sphinx_issues.py
--- old/sphinx-issues-5.0.0/tests/test_sphinx_issues.py 2024-10-12
04:22:17.000000000 +0200
+++ new/sphinx-issues-5.0.1/tests/test_sphinx_issues.py 2025-04-10
15:40:32.000000000 +0200
@@ -74,6 +74,13 @@
(
issue_role,
"issue",
+ "Issue #17 (the big one) <17>",
+ "Issue #17 (the big one)",
+ "https://github.com/marshmallow-code/marshmallow/issues/17",
+ ),
+ (
+ issue_role,
+ "issue",
"Not my business <foo/bar#42>",
"Not my business",
"https://github.com/foo/bar/issues/42",
@@ -107,29 +114,36 @@
"@123abc4",
"https://github.com/marshmallow-code/marshmallow/commit/123abc456def",
),
+ (
+ commit_role,
+ "commit",
+ "1.0.0 (2016-07-05) <170ce9>",
+ "1.0.0 (2016-07-05)",
+ "https://github.com/marshmallow-code/marshmallow/commit/170ce9",
+ ),
# External issue
(
issue_role,
"issue",
- "sloria/webargs#42",
- "sloria/webargs#42",
- "https://github.com/sloria/webargs/issues/42",
+ "slo-ria/web-args#42",
+ "slo-ria/web-args#42",
+ "https://github.com/slo-ria/web-args/issues/42",
),
# External PR
(
pr_role,
"pr",
- "sloria/webargs#42",
- "sloria/webargs#42",
- "https://github.com/sloria/webargs/pull/42",
+ "slo-ria/web-args#42",
+ "slo-ria/web-args#42",
+ "https://github.com/slo-ria/web-args/pull/42",
),
# External commit
(
commit_role,
"commit",
- "sloria/webargs@abc123def456",
- "sloria/webargs@abc123d",
- "https://github.com/sloria/webargs/commit/abc123def456",
+ "slo-ria/web-args@abc123def456",
+ "slo-ria/web-args@abc123d",
+ "https://github.com/slo-ria/web-args/commit/abc123def456",
),
],
)