1
0
Files
python-numpydoc/numpydoc-pr523-py312deprecation.patch

23 lines
755 B
Diff
Raw Permalink Normal View History

Accepting request 1153590 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.6.0 * Requires Python 3.8+ and Sphinx 5+. ## Closed issues * `numpydoc ignore` inline comment not recognized when using decorators #495 * Align pre-commit and Sphinx rule override syntax #466 * Use pyproject.toml #473 * circleci-artifacts-redirector-action error #469 * Incorporate a pre-commit hook for numpydoc validation #450 * PR06 fails when offending type name is used only as a substring #446 * style of [1] is strange in numpydoc docs #443 * Double click on function parameter selects parameter type as well #427 ## Merged pull requests * BUG: validator now handles properties #500 (sdiebolt) * Fix clean_backref for extensions that have backrefs to inline elements. #499 (mcmtroffaes) * BUG: validator now handles decorators #496 (sdiebolt) * TST: Test no-file for source #493 (larsoner) * Update pydata-sphinx-theme #490 (jarrodmillman) * Sync updates to generate_requirements.py from scikit-image #485 (mwtoews) * Generate requirements files from pyproject.toml #483 (mwtoews) * Add token for artifact redirector #470 (jarrodmillman) * Use rtd template (old method is deprecated) #468 (jarrodmillman) * Drop Python 3.7 #462 (jarrodmillman) * Require Sphinx 5+ #461 (jarrodmillman) * Pre-commit hook for running numpydoc validation #454 OBS-URL: https://build.opensuse.org/request/show/1153590 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpydoc?expand=0&rev=14
2024-03-01 18:07:17 +00:00
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",
[