Skip to content

Commit f4cbb28

Browse files
committed
Bump numpy to 1.23.0
1 parent 5353563 commit f4cbb28

7 files changed

+13
-7
lines changed

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ coverage>=5.1
33
coverage-pyver-pragma>=0.2.1
44
html5lib>=1.1
55
importlib-metadata>=3.6.0
6-
numpy~=1.22.0; python_version >= "3.8"
6+
numpy~=1.23.0; python_version >= "3.8"
77
pytest>=6.0.0
88
pytest-cov>=2.8.1
99
pytest-datafiles>=2.0

tests/test_core.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ def test_get_sphinx_doc_url():
3131
with pytest.raises(ValueError, match="Documentation URL not found in data from PyPI."):
3232
get_sphinx_doc_url("sphinx-prompt")
3333

34-
assert get_sphinx_doc_url("numpy") in {"https://numpy.org/doc/1.22/", "https://numpy.org/doc/1.21/"}
34+
assert get_sphinx_doc_url("numpy") in {
35+
"https://numpy.org/doc/1.23/",
36+
"https://numpy.org/doc/1.22/",
37+
"https://numpy.org/doc/1.21/",
38+
}
39+
40+
assert get_sphinx_doc_url("matplotlib") == "https://matplotlib.org/"
3541

3642

3743
def test_get_sphinx_doc_url_wrapping():

tests/test_seeding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
expected_mapping_a = {
2323
"domdf-python-tools": ("https://domdf-python-tools.readthedocs.io/en/latest/", None),
24-
"numpy": ("https://numpy.org/doc/1.22/", None),
24+
"numpy": ("https://numpy.org/doc/1.23/", None),
2525
"packaging": ("https://packaging.pypa.io/en/latest/", None),
2626
"requests": ("https://docs.python-requests.org/en/latest/", None),
2727
"slumber": ("https://slumber.readthedocs.io/en/v0.6.0/", None),

tests/test_seeding_/test_sphinx_seed_intersphinx_mapping_mocked_example_requirements_a_flit_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ domdf-python-tools:
44
- - null
55
numpy:
66
- numpy
7-
- - https://numpy.org/doc/1.22/
7+
- - https://numpy.org/doc/1.23/
88
- - null
99
packaging:
1010
- packaging

tests/test_seeding_/test_sphinx_seed_intersphinx_mapping_mocked_example_requirements_a_pyproject_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ domdf-python-tools:
44
- - null
55
numpy:
66
- numpy
7-
- - https://numpy.org/doc/1.22/
7+
- - https://numpy.org/doc/1.23/
88
- - null
99
packaging:
1010
- packaging

tests/test_seeding_/test_sphinx_seed_intersphinx_mapping_mocked_example_requirements_a_pyproject_toml_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ domdf-python-tools:
44
- - null
55
numpy:
66
- numpy
7-
- - https://numpy.org/doc/1.22/
7+
- - https://numpy.org/doc/1.23/
88
- - null
99
packaging:
1010
- packaging

tests/test_seeding_/test_sphinx_seed_intersphinx_mapping_mocked_example_requirements_a_requirements_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ domdf-python-tools:
44
- - null
55
numpy:
66
- numpy
7-
- - https://numpy.org/doc/1.22/
7+
- - https://numpy.org/doc/1.23/
88
- - null
99
packaging:
1010
- packaging

0 commit comments

Comments
 (0)