15
0

Accepting request 1296835 from devel:languages:python

Forwarded request #1295955 from glaubitz

- Update to 0.14.2
    * Use hatch (#205)
    * style: fmt
    * fix: fix for lint
    * chore: refine github actions (#206)
    * Typing (#207)
    * Create AGENTS.md for jules (#210)
    * Refactor: Migrate to src layout (#211)
    * feat: Add English docstrings to public APIs (#212)
    * Update AGENTS.md
    * Add docstrings to public APIs in dictknife.loading
      and submodules (#213)
    * fix: fix type, loading module
    * chore: bump version
  - Drop support-python-310.patch, fixed upstream
  - Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1296835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dictknife?expand=0&rev=8
This commit is contained in:
2025-08-01 22:41:06 +00:00
committed by Git OBS Bridge
5 changed files with 25 additions and 38 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77d7304f995a2996d4b09efc7dc5757943a2d5a6cbadbccb52d4bee238a7cdcc
size 100657

3
dictknife-0.14.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0575b05a25291988ef389f87dc6044d1f6c8db7d2ad00f9730b0262364c29432
size 115197

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Jul 27 12:37:16 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.14.2
* Use hatch (#205)
* style: fmt
* fix: fix for lint
* chore: refine github actions (#206)
* Typing (#207)
* Create AGENTS.md for jules (#210)
* Refactor: Migrate to src layout (#211)
* feat: Add English docstrings to public APIs (#212)
* Update AGENTS.md
* Add docstrings to public APIs in dictknife.loading
and submodules (#213)
* fix: fix type, loading module
* chore: bump version
- Drop support-python-310.patch, fixed upstream
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,15 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-dictknife
Version: 0.14.1
Version: 0.14.2
Release: 0
Summary: Army knife of handling data
License: MIT
URL: https://github.com/podhmo/dictknife
Source: https://github.com/podhmo/dictknife/archive/%{version}.tar.gz#/dictknife-%{version}.tar.gz
Patch0: support-python-310.patch
BuildRequires: %{python_module google-api-python-client}
BuildRequires: %{python_module google-auth-oauthlib}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module jsonpatch}
BuildRequires: %{python_module magicalimport}
BuildRequires: %{python_module pip}

View File

@@ -1,33 +0,0 @@
Index: dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
===================================================================
--- dictknife-0.14.0.orig/dictknife/tests/cliutils/test_extraarguments.py
+++ dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
@@ -1,3 +1,4 @@
+import sys
import textwrap
import unittest
@@ -22,18 +23,21 @@ class Tests(unittest.TestCase):
return target
def test_help_message(self):
+ ending = "al arguments"
+ if sys.version_info >= (3, 10):
+ ending = "s"
target = self._makeOne()
expected = textwrap.dedent(
"""
usage: cmd [-h]
- options:
+ option%s:
-h, --help show this help message and exit
extra arguments: (with --extra<option>)
for --format=json:
--sort-keys sort keys
- """
+ """ % (ending, )
).strip()
actual = target.parser.format_help().strip()