1
0

9 Commits

Author SHA256 Message Date
54bff35f09 Accepting request 1296857 from devel:languages:python:numeric
- Need to mention:
  * Drop numpydoc-pr523-py312deprecation.patch
  * Drop mockapp.patch
- update to 1.9.0
  * ignore some errors at module level (#593).
  * Rework hook output to remove the table (#611).
  * Switch to storing AST nodes on the stack for more accurate method signature check and easy access to parent nodes (#623).
  * MAINT: Changed class constructor init GL08 reporting (#592).
  * BUG: Correct functionality of numpydoc SS05 (#613).
  * Specity the types of numpydoc_xref_ignore option (#631).
  * DOC: Do not use types for *args, **kwargs (#585).
  * mention conda-forge in installation docs (#595).
  * Fix typo in validation.rst (#605).
  * Fix broken link in format.rst (#628).
  * CI: use hashes for actions' versions in publishing job (#579).
  * Bump the actions group with 2 updates (#581).
  * Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.2 in the actions group (#582).
  * [pre-commit.ci] pre-commit autoupdate (#583).
  * MAINT: Add _exception_on_warning to MockApp (#586).
  * Bump the actions group across 1 directory with 2 updates (#590).
  * don't pass maxsplit as positional arg (#596).
  * [pre-commit.ci] pre-commit autoupdate (#598).
  * Add Python 3.13 support (#599).
  * Update readthedocs config (#600).
  * Bump the actions group with 2 updates (#603).
  * Bump the actions group with 3 updates (#609).
  * [pre-commit.ci] pre-commit autoupdate (#614).
  * Bump actions/download-artifact from 4.2.1 to 4.3.0 in the actions group (#620).
  * Bump scientific-python/circleci-artifacts-redirector-action from 1.0.0 to 1.1.0 in the actions group (#627).
  * Switch to dependency groups (#626).
  * Fix pip setup command in github workflow (#629).

OBS-URL: https://build.opensuse.org/request/show/1296857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=19
2025-08-01 22:41:16 +00:00
dbfb0dde81 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=25 2025-07-31 18:07:35 +00:00
f7c5d27872 - update to 1.9.0
* ignore some errors at module level (#593).
  * Rework hook output to remove the table (#611).
  * Switch to storing AST nodes on the stack for more accurate method signature check and easy access to parent nodes (#623).
  * MAINT: Changed class constructor init GL08 reporting (#592).
  * BUG: Correct functionality of numpydoc SS05 (#613).
  * Specity the types of numpydoc_xref_ignore option (#631).
  * DOC: Do not use types for *args, **kwargs (#585).
  * mention conda-forge in installation docs (#595).
  * Fix typo in validation.rst (#605).
  * Fix broken link in format.rst (#628).
  * CI: use hashes for actions' versions in publishing job (#579).
  * Bump the actions group with 2 updates (#581).
  * Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.2 in the actions group (#582).
  * [pre-commit.ci] pre-commit autoupdate (#583).
  * MAINT: Add _exception_on_warning to MockApp (#586).
  * Bump the actions group across 1 directory with 2 updates (#590).
  * don't pass maxsplit as positional arg (#596).
  * [pre-commit.ci] pre-commit autoupdate (#598).
  * Add Python 3.13 support (#599).
  * Update readthedocs config (#600).
  * Bump the actions group with 2 updates (#603).
  * Bump the actions group with 3 updates (#609).
  * [pre-commit.ci] pre-commit autoupdate (#614).
  * Bump actions/download-artifact from 4.2.1 to 4.3.0 in the actions group (#620).
  * Bump scientific-python/circleci-artifacts-redirector-action from 1.0.0 to 1.1.0 in the actions group (#627).
  * Switch to dependency groups (#626).
  * Fix pip setup command in github workflow (#629).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=24
2025-07-31 18:02:33 +00:00
e74f95ec14 Accepting request 1248969 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1248969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=18
2025-02-27 15:40:32 +00:00
1879da51aa - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=22
2025-02-27 12:25:41 +00:00
ce6f7c916d Accepting request 1243128 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1243128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=17
2025-02-04 17:14:12 +00:00
b59af912fb - Add mockapp.patch to fix test failure with Sphinx 8.1
- Trim dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=20
2025-02-04 13:37:36 +00:00
85c279ef7e Accepting request 1225336 from devel:languages:python:numeric
- update to 1.8.0:
  * Unify CLIs (#537).
  * Move "Attributes" and "Methods" below "Parameters" (#571).
  * FIX: coroutines can have a return statement (#542).
  * Unwrap decorated objects for YD01 validation check (#541).
  * Fix bug with validation encoding (#550).
  * Add note about TOML regex; fix typo (#552).
  * DOC: Clarify recommendations regarding use of backticks
    (#525).

OBS-URL: https://build.opensuse.org/request/show/1225336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpydoc?expand=0&rev=16
2024-11-21 14:14:00 +00:00
ec8f4c6643 - update to 1.8.0:
* Unify CLIs (#537).
  * Move "Attributes" and "Methods" below "Parameters" (#571).
  * FIX: coroutines can have a return statement (#542).
  * Unwrap decorated objects for YD01 validation check (#541).
  * Fix bug with validation encoding (#550).
  * Add note about TOML regex; fix typo (#552).
  * DOC: Clarify recommendations regarding use of backticks
    (#525).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=18
2024-11-20 16:21:44 +00:00
5 changed files with 73 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:866e5ae5b6509dcf873fc6381120f5c31acf13b135636c1a81d68c166a95f921
size 87575

3
numpydoc-1.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fec64908fe041acc4b3afc2a32c49aab1540cf581876f5563d68bb129e27c5b
size 91451

View File

@@ -1,22 +0,0 @@
From 543dbb1a19e372593197b6bbaa7f37d6bfd8bf8e Mon Sep 17 00:00:00 2001
From: Chiara Marmo <chiara.marmo@universite-paris-saclay.fr>
Date: Tue, 9 Jan 2024 11:48:24 +0100
Subject: [PATCH 1/3] Filter DeprecationWarning.
---
numpydoc/tests/test_validate.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/numpydoc/tests/test_validate.py b/numpydoc/tests/test_validate.py
index d41e4bd0..0671684b 100644
--- a/numpydoc/tests/test_validate.py
+++ b/numpydoc/tests/test_validate.py
@@ -1348,6 +1348,7 @@ def test_bad_generic_functions(self, capsys, func):
assert isinstance(errors, list)
assert errors
+ @pytest.mark.filterwarnings("ignore::DeprecationWarning")
@pytest.mark.parametrize(
"klass,func,msgs",
[

View File

@@ -1,3 +1,66 @@
-------------------------------------------------------------------
Thu Jul 31 18:06:59 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Need to mention:
* Drop numpydoc-pr523-py312deprecation.patch
* Drop mockapp.patch
-------------------------------------------------------------------
Thu Jul 31 15:43:39 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- update to 1.9.0
* ignore some errors at module level (#593).
* Rework hook output to remove the table (#611).
* Switch to storing AST nodes on the stack for more accurate method signature check and easy access to parent nodes (#623).
* MAINT: Changed class constructor init GL08 reporting (#592).
* BUG: Correct functionality of numpydoc SS05 (#613).
* Specity the types of numpydoc_xref_ignore option (#631).
* DOC: Do not use types for *args, **kwargs (#585).
* mention conda-forge in installation docs (#595).
* Fix typo in validation.rst (#605).
* Fix broken link in format.rst (#628).
* CI: use hashes for actions' versions in publishing job (#579).
* Bump the actions group with 2 updates (#581).
* Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.2 in the actions group (#582).
* [pre-commit.ci] pre-commit autoupdate (#583).
* MAINT: Add _exception_on_warning to MockApp (#586).
* Bump the actions group across 1 directory with 2 updates (#590).
* don't pass maxsplit as positional arg (#596).
* [pre-commit.ci] pre-commit autoupdate (#598).
* Add Python 3.13 support (#599).
* Update readthedocs config (#600).
* Bump the actions group with 2 updates (#603).
* Bump the actions group with 3 updates (#609).
* [pre-commit.ci] pre-commit autoupdate (#614).
* Bump actions/download-artifact from 4.2.1 to 4.3.0 in the actions group (#620).
* Bump scientific-python/circleci-artifacts-redirector-action from 1.0.0 to 1.1.0 in the actions group (#627).
* Switch to dependency groups (#626).
* Fix pip setup command in github workflow (#629).
-------------------------------------------------------------------
Thu Feb 27 12:20:40 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Tue Feb 4 13:30:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add mockapp.patch to fix test failure with Sphinx 8.1
- Trim dependencies
-------------------------------------------------------------------
Wed Nov 20 16:21:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.8.0:
* Unify CLIs (#537).
* Move "Attributes" and "Methods" below "Parameters" (#571).
* FIX: coroutines can have a return statement (#542).
* Unwrap decorated objects for YD01 validation check (#541).
* Fix bug with validation encoding (#550).
* Add note about TOML regex; fix typo (#552).
* DOC: Clarify recommendations regarding use of backticks
(#525).
-------------------------------------------------------------------
Wed Apr 3 07:51:01 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-numpydoc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,9 @@
#
%{?sle15_python_module_pythons}
Name: python-numpydoc
Version: 1.7.0
Version: 1.9.0
Release: 0
Summary: Sphinx extension to support docstrings in Numpy format
License: BSD-3-Clause
@@ -26,24 +27,16 @@ URL: https://github.com/numpy/numpydoc
Source: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
# https://docs.python.org/3/objects.inv (changes from time to time, accessed 2024-02-29)
Source1: python-objects.inv
# PATCH-FIX-UPSTREAM numpydoc-pr523-py312deprecation.patch gh#numpy/numpydoc#523
Patch0: numpydoc-pr523-py312deprecation.patch
BuildRequires: %{python_module Jinja2 >= 2.10}
BuildRequires: %{python_module Sphinx >= 5}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tabulate >= 0.8.10}
BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-Jinja2 >= 2.10
Requires: python-Sphinx >= 5
Requires: python-tabulate >= 0.8.10
Requires: (python-tomli if python-base < 3.11)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
@@ -70,22 +63,22 @@ sed -i "\|https://docs.python.org/3| s|None|'%{SOURCE1}'|" numpydoc/tests/tinybu
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/validate-docstrings
%python_clone -a %{buildroot}%{_bindir}/numpydoc
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%post
%python_install_alternative validate-docstrings
%python_install_alternative numpydoc
%postun
%python_uninstall_alternative validate-docstrings
%python_uninstall_alternative numpydoc
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%python_alternative %{_bindir}/validate-docstrings
%python_alternative %{_bindir}/numpydoc
%{python_sitelib}/numpydoc/
%{python_sitelib}/numpydoc-%{version}.dist-info