From 3404a2c089d304ec107e9d8ea092fb4146d6e0b0 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 20 Jan 2020 09:19:43 +1100 Subject: [PATCH 1/2] DOC: reword release note to unbreak sphinx rendering --- doc/release/upcoming_changes/15217.deprecation.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/release/upcoming_changes/15217.deprecation.rst b/doc/release/upcoming_changes/15217.deprecation.rst index e9dd0995de49..d49de20b512f 100644 --- a/doc/release/upcoming_changes/15217.deprecation.rst +++ b/doc/release/upcoming_changes/15217.deprecation.rst @@ -1,11 +1,13 @@ Passing ``shape=0`` to factory functions in ``numpy.rec`` is deprecated ----------------------------------------------------------------------- -``0`` is treated as a special case by these functions, which aliases to -``None``. In future, ``0`` will not be a special case, and will be treated -as an array length like any other integer is. The affected functions are: +``0`` is treated as a special case and is aliased to ``None`` in the functions: * `numpy.core.records.fromarrays` * `numpy.core.records.fromrecords` * `numpy.core.records.fromstring` * `numpy.core.records.fromfile` + +In future, ``0`` will not be special cased, and will be treated as an array +length like any other integer. + From ca85d71839c2745df097cfe30f549c55ab9ae3d1 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 20 Jan 2020 09:42:59 +1100 Subject: [PATCH 2/2] DOC, BLD: sphinx 2.2.0 -> 2.3.1 to get rid of deprecation warning --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 772c3fbfda54..38695bdff2e1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: python3 -m venv venv ln -s $(which python3) venv/bin/python3.6 . venv/bin/activate - pip install cython sphinx==2.2.0 matplotlib ipython + pip install cython sphinx==2.3.1 matplotlib ipython sudo apt-get update sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-generic-extra latexmk texlive-xetex