public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benson Muite <fed500@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-sphinx-argparse-cli] rawhide: Update to 1.21.3 bz#2440188
Date: Fri, 19 Jun 2026 18:35:46 GMT [thread overview]
Message-ID: <178189414681.1.5768120086263396979.rpms-python-sphinx-argparse-cli-442f7e04e951@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-sphinx-argparse-cli
Branch : rawhide
Commit : 442f7e04e951302725493db7901b5afc119b05fe
Author : Benson Muite <fed500@fedoraproject.org>
Date : 2026-06-19T21:35:13+03:00
Stats : +67/-91 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-sphinx-argparse-cli/c/442f7e04e951302725493db7901b5afc119b05fe?branch=rawhide
Log:
Update to 1.21.3 bz#2440188
---
diff --git a/.gitignore b/.gitignore
index c4cc10d..3494390 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/sphinx-argparse-cli-1.11.1.tar.gz
+/sphinx-argparse-cli-1.21.3.tar.gz
diff --git a/no-coverage.patch b/no-coverage.patch
index 0f55255..9c66122 100644
--- a/no-coverage.patch
+++ b/no-coverage.patch
@@ -1,94 +1,69 @@
-diff -ruN sphinx-argparse-cli-1.11.1/pyproject.toml sphinx-argparse-cli-1.11.1-mod/pyproject.toml
---- sphinx-argparse-cli-1.11.1/pyproject.toml 2023-06-16 06:55:38.000000000 +0300
-+++ sphinx-argparse-cli-1.11.1-mod/pyproject.toml 2023-11-04 17:21:55.407092892 +0300
-@@ -41,9 +41,7 @@
- "sphinx>=7.0.1",
+diff -ruN sphinx-argparse-cli-1.21.3/pyproject.toml sphinx-argparse-cli-1.21.3-mod/pyproject.toml
+--- sphinx-argparse-cli-1.21.3/pyproject.toml 2026-03-19 22:53:01.000000000 +0300
++++ sphinx-argparse-cli-1.21.3-mod/pyproject.toml 2026-06-19 21:15:37.418192588 +0300
+@@ -54,10 +54,8 @@
+ { include-group = "type" },
]
- optional-dependencies.test = [
+ test = [
- "covdefaults>=2.3",
- "pytest>=7.3.2",
-- "pytest-cov>=4.1",
+ "defusedxml>=0.7.1",
+ "pytest>=9.0.2",
+- "pytest-cov>=7",
]
- urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
- urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
-diff -ruN sphinx-argparse-cli-1.11.1/tox.ini sphinx-argparse-cli-1.11.1-mod/tox.ini
---- sphinx-argparse-cli-1.11.1/tox.ini 2023-06-16 06:55:38.000000000 +0300
-+++ sphinx-argparse-cli-1.11.1-mod/tox.ini 2023-11-04 16:22:16.247130465 +0300
-@@ -2,15 +2,12 @@
- requires =
- tox>=4.2
- env_list =
-- fix
- py312
- py311
- py310
- py39
- py38
- py37
-- type
-- pkg_check
- skip_missing_interpreters = true
+ type = [
+ "ty>=0.0.17",
+@@ -123,26 +121,3 @@
+ "from __future__ import annotations",
+ ] }
- [testenv]
-@@ -19,61 +16,6 @@
- wheel_build_env = .pkg
- extras =
- test
--set_env =
-- COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
-- COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
-- _COVERAGE_SRC = {envsitepackagesdir}/sphinx_argparse_cli
- commands =
- pytest {tty:--color=yes} {posargs: \
-- --junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}sphinx_argparse_cli \
-- --cov {toxinidir}{/}tests --cov-fail-under=100 \
-- --cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \
-- --cov-report html:{envtmpdir}{/}htmlcov --cov-report xml:{toxworkdir}{/}coverage.{envname}.xml \
- tests}
+-[tool.codespell]
+-builtin = "clear,usage,en-GB_to_en-US"
+-count = true
-
--[testenv:fix]
--description = run static analysis and style check using flake8
--base_python = python3.10
--skip_install = true
--deps =
-- pre-commit>=3.3.3
--pass_env =
-- HOMEPATH
-- PROGRAMDATA
--commands =
-- pre-commit run --all-files --show-diff-on-failure
-- python -c 'print("hint: run {envdir}/bin/pre-commit install to add checks as pre-commit hook")'
+-[tool.pyproject-fmt]
+-max_supported_python = "3.14"
-
--[testenv:type]
--description = run type check on code base
--deps =
-- mypy==1.3
-- types-docutils>=0.20.0.1
--set_env =
-- {tty:MYPY_FORCE_COLOR = 1}
--commands =
-- mypy src
-- mypy tests
+-[tool.coverage]
+-run.parallel = true
+-run.plugins = [
+- "covdefaults",
+-]
+-run.relative_files = true
+-paths.source = [
+- "src",
+- "**/site-packages",
+-]
+-report.fail_under = 100
+-html.show_contexts = true
+-html.skip_covered = false
-
--[testenv:pkg_check]
--description = check that the long description is valid
--base_python = python3.10
--skip_install = true
--deps =
-- build[virtualenv]>=0.10
-- twine>=4.0.2
--change_dir = {toxinidir}
--commands =
-- python -m build --sdist --wheel -o {envtmpdir} .
-- twine check {envtmpdir}/*
--
--[testenv:dev]
--description = generate a DEV environment
--base_python = python3.10
--package = editable
--extras =
-- docs
-- test
--commands =
-- python -m pip list --format=columns
-- python -c 'import sys; print(sys.executable)'
+-[tool.ty]
+-environment.python-version = "3.14"
+diff -ruN sphinx-argparse-cli-1.21.3/tox.toml sphinx-argparse-cli-1.21.3-mod/tox.toml
+--- sphinx-argparse-cli-1.21.3/tox.toml 2026-03-19 22:53:01.000000000 +0300
++++ sphinx-argparse-cli-1.21.3-mod/tox.toml 2026-06-19 21:26:39.316471462 +0300
+@@ -14,24 +14,6 @@
+ "python",
+ "-m",
+ "pytest",
+- { replace = "posargs", default = [
+- "--cov",
+- "{env_site_packages_dir}{/}sphinx_argparse_cli",
+- "--cov",
+- "{tox_root}{/}tests",
+- "--cov-config=pyproject.toml",
+- "--no-cov-on-fail",
+- "--cov-report",
+- "term-missing:skip-covered",
+- "--cov-context=test",
+- "--cov-report",
+- "html:{env_tmp_dir}{/}htmlcov",
+- "--cov-report",
+- "xml:{work_dir}{/}coverage.{env_name}.xml",
+- "--junitxml",
+- "{work_dir}{/}junit.{env_name}.xml",
+- "tests",
+- ], extend = true },
+ ],
+ ]
+
diff --git a/python-sphinx-argparse-cli.spec b/python-sphinx-argparse-cli.spec
index 3175e88..77bb0cd 100644
--- a/python-sphinx-argparse-cli.spec
+++ b/python-sphinx-argparse-cli.spec
@@ -1,7 +1,7 @@
%global srcname sphinx-argparse-cli
%global importname sphinx_argparse_cli
%global forgeurl https://github.com/tox-dev/sphinx-argparse-cli
-Version: 1.11.1
+Version: 1.21.3
%forgemeta
Name: python-%{srcname}
@@ -10,7 +10,7 @@ Summary: Render CLI arguments defined by the argparse module
License: MIT
URL: %forgeurl
-Source: %forgesource
+Source: %{url}/archive/%{version}/sphinx-argparse-cli-%{version}.tar.gz
Patch: no-coverage.patch
BuildRequires: python3-devel
@@ -37,7 +37,7 @@ sed -i '/"version",/{n;d;}' pyproject.toml
sed -i '/ "version",/d' pyproject.toml
sed -i '/^dynamic = \[/d' pyproject.toml
# relax version requirement
-sed -i 's/sphinx>=7.0.1/sphinx>=5.0.0/g' pyproject.toml
+sed -i 's/sphinx>=9.0.4/sphinx>=8.2.3/g' pyproject.toml
ver=%{version}
ver_comma=${ver//./, }
touch version.py
diff --git a/sources b/sources
index fa3dfef..8e35a5e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sphinx-argparse-cli-1.11.1.tar.gz) = 027ac458a5bb3ddec81e1b26fe422d66071609590aba5b97b5399071ed44e13ea03e67e2a1177c31284b8e3bbdebfd15a10a1805b5de2e8ee03eaf72a0aa02c5
+SHA512 (sphinx-argparse-cli-1.21.3.tar.gz) = 9cd02124faee03742384358a78103643b7ac08e4bc1964f2f6866ac1b740d34af5ad9e6831450c3d2d43378ae46b5116f5c236715107c2922c68f1faa3d611e0
reply other threads:[~2026-06-19 18:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178189414681.1.5768120086263396979.rpms-python-sphinx-argparse-cli-442f7e04e951@fedoraproject.org \
--to=fed500@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox