sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.64k stars 2.13k forks source link

Faulty `WARNING: Definition list ends without a blank line; unexpected indent` #11026

Closed OverLordGoldDragon closed 1 year ago

OverLordGoldDragon commented 1 year ago

Describe the bug

Warning points to wrong line of wrong method.

In "How to reproduce" below, removing Y from

    s: int
        X
           Y
        X

of function B() removes the warning, yet the warning says

C:\dumdum\dummy_module\dumdum.py:docstring of dummy_module.dumdum.A:1: WARNING: Definition list ends 
without a blank line; unexpected unindent.

Note the example is almost completely minimal, meaning changing anything in the code of dumdum.py will remove or change it, despite having nothing to do with the suggested warning. However I found that only removing the Y eliminates warnings for any subsequent changes.

How to Reproduce

See full project:

$ git clone https://github.com/OverLordGoldDragon/dumdum
$ cd docs
$ sphinx-build . build

conf.py:

# -*- coding: utf-8 -*-
import sys
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent))

project = 'dummy-module'
release = version = '0.1.0'
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon']
exclude_patterns = ['build']
default_role = 'literal'
napoleon_custom_sections = ['T']

dummy_module/dumdum.py:

# -*- coding: utf-8 -*-
"""Yes."""

def A():
    """
    Returns
    -------
    E : int
        a

    T
    -
    b

        - c
        - d
          e
          f
          g
    """

def B():
    """
    Parameters
    ----------
    S : int
        A

    s: int
        X
           Y
        X
    """

Environment Information

text Platform: win32; (Windows-10-10.0.19045-SP0) Python version: 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:34:17) [MSC v.1929 64 bit (AMD64)]) Python implementation: CPython Sphinx version: 5.3.0 Docutils version: 0.17.1 Jinja2 version: 3.0.3

Sphinx extensions

['sphinx.ext.autodoc', 'sphinx.ext.napoleon']

Additional context

Windows 10, conda install -c conda-forge sphinx==5.3.0

conda info ``` active environment : jgpu-env active env location : D:\Anaconda\envs\jgpu-env shell level : 2 user config file : C:\Users\OverL\.condarc populated config files : C:\Users\OverL\.condarc conda version : 4.10.3 conda-build version : 3.18.11 python version : 3.8.3.final.0 virtual packages : __cuda=11.4=0 __win=0=0 __archspec=1=x86_64 base environment : D:\Anaconda (writable) conda av data dir : D:\Anaconda\etc\conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : D:\Anaconda\pkgs C:\Users\OverL\.conda\pkgs C:\Users\OverL\AppData\Local\conda\conda\pkgs envs directories : D:\Anaconda\envs C:\Users\OverL\.conda\envs C:\Users\OverL\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.10.3 requests/2.24.0 CPython/3.8.3 Windows/10 Windows/10.0.19041 administrator : False netrc file : C:\Users\OverL/.netrc offline mode : False ```
conda list ``` # packages in environment at D:\Anaconda\envs\jgpu-env: # # Name Version Build Channel absl-py 1.0.0 pyhd8ed1ab_0 conda-forge aiohttp 3.7.4.post0 py310he2412df_1 conda-forge aiosignal 1.2.0 pyhd8ed1ab_0 conda-forge alabaster 0.7.12 py_0 anaconda aom 3.3.0 h0e60522_1 conda-forge apeye 1.2.0 pypi_0 pypi appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argh 0.26.2 pyh9f0ad1d_1002 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py310he2412df_2 conda-forge argunparse 0.1.2 pypi_0 pypi arrow 1.2.2 pyhd8ed1ab_0 conda-forge astroid 2.11.2 py310h5588dad_1 conda-forge asttokens 2.0.5 pyhd8ed1ab_0 conda-forge astunparse 1.6.3 pyhd8ed1ab_0 conda-forge async-timeout 3.0.1 py_1000 conda-forge atomicwrites 1.4.0 pyh9f0ad1d_0 conda-forge attrs 21.4.0 pyhd8ed1ab_0 conda-forge audioread 2.1.9 py310h5588dad_3 conda-forge autodocsumm 0.2.9 pypi_0 pypi autopep8 1.6.0 pyhd8ed1ab_1 conda-forge babel 2.9.1 pyh44b312d_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.1 pyhd3eb1b0_0 anaconda backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge bcrypt 3.2.0 py310he2412df_3 conda-forge beautifulsoup4 4.11.1 pypi_0 pypi binaryornot 0.4.4 py_1 conda-forge black 22.10.0 py310h5588dad_2 conda-forge blas 1.0 mkl anaconda bleach 4.1.0 pyhd8ed1ab_0 conda-forge blinker 1.4 py_1 conda-forge blosc 1.21.0 h0e60522_0 conda-forge brotli 1.0.9 h8ffe710_7 conda-forge brotli-bin 1.0.9 h8ffe710_7 conda-forge brotlipy 0.7.0 py310he2412df_1004 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge c-blosc2 2.0.4 h09319c2_1 conda-forge ca-certificates 2022.10.11 haa95532_0 cachecontrol 0.12.11 pypi_0 pypi cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 5.0.0 pyhd8ed1ab_0 conda-forge cairo 1.16.0 h15b3021_1010 conda-forge certifi 2022.9.24 pyhd8ed1ab_0 conda-forge cffi 1.15.0 py310hcbf9ad4_0 conda-forge cfitsio 4.1.0 h5a969a9_0 conda-forge chardet 4.0.0 py310h5588dad_3 conda-forge charls 2.3.4 h39d44d4_0 conda-forge charset-normalizer 2.0.11 pyhd8ed1ab_0 conda-forge click 8.1.3 py310h5588dad_0 conda-forge cloudpickle 2.0.0 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pypi_0 pypi commonmark 0.9.1 py_0 anaconda conda 4.12.0 py310h5588dad_0 conda-forge conda-package-handling 1.8.1 py310h4f637d6_1 conda-forge configparser 5.2.0 pyhd8ed1ab_0 conda-forge contourpy 1.0.5 py310h232114e_0 conda-forge cookiecutter 1.7.3 pyh6c4a22f_1 conda-forge coverage 6.5.0 pypi_0 pypi cryptography 36.0.2 py310ha857299_1 conda-forge cssutils 2.6.0 pypi_0 pypi cuda 11.7.1 0 nvidia cuda-cccl 11.7.91 0 nvidia cuda-command-line-tools 11.7.1 0 nvidia cuda-compiler 11.7.1 0 nvidia cuda-cudart 11.7.99 0 nvidia cuda-cudart-dev 11.7.99 0 nvidia cuda-cuobjdump 11.7.91 0 nvidia cuda-cupti 11.7.101 0 nvidia cuda-cuxxfilt 11.7.91 0 nvidia cuda-demo-suite 11.8.86 0 nvidia cuda-documentation 11.8.86 0 nvidia cuda-libraries 11.7.1 0 nvidia cuda-libraries-dev 11.7.1 0 nvidia cuda-memcheck 11.8.86 0 nvidia cuda-nsight-compute 11.8.0 0 nvidia cuda-nvcc 11.7.99 0 nvidia cuda-nvdisasm 11.8.86 0 nvidia cuda-nvml-dev 11.7.91 0 nvidia cuda-nvprof 11.8.87 0 nvidia cuda-nvprune 11.7.91 0 nvidia cuda-nvrtc 11.7.99 0 nvidia cuda-nvrtc-dev 11.7.99 0 nvidia cuda-nvtx 11.7.91 0 nvidia cuda-nvvp 11.8.87 0 nvidia cuda-runtime 11.7.1 0 nvidia cuda-sanitizer-api 11.8.86 0 nvidia cuda-toolkit 11.7.1 0 nvidia cuda-tools 11.7.1 0 nvidia cuda-visual-tools 11.7.1 0 nvidia cudatoolkit 11.3.1 h59b6b97_2 anaconda cudnn 8.1.0.77 h3e0f4f4_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cython 0.29.32 py310h00ffb61_1 conda-forge cytoolz 0.11.2 py310he2412df_2 conda-forge dask-core 2022.4.0 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge debugpy 1.5.1 py310h8a704f9_1 conda-forge decorator 4.4.2 py_0 anaconda defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge deprecated 1.2.13 pyh6c4a22f_0 conda-forge dict2css 0.3.0 pypi_0 pypi diff-match-patch 20200713 pyh9f0ad1d_0 conda-forge dill 0.3.4 pyhd8ed1ab_0 conda-forge discord-py 2.1.0 pypi_0 pypi doce 0.2.dev0 dev_0 docker-pycreds 0.4.0 py_0 anaconda docstring-to-markdown 0.10 pyhd8ed1ab_0 conda-forge docutils 0.17.1 py310h5588dad_1 conda-forge domdf-python-tools 3.5.0 pypi_0 pypi dummm 0.1.2 pypi_0 pypi dumspin 0.1.2 pypi_0 pypi editorconfig 0.12.3 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge etils 0.9.0 pypi_0 pypi exceptiongroup 1.0.0 pyhd8ed1ab_0 conda-forge executing 0.8.2 pyhd8ed1ab_0 conda-forge expat 2.5.0 h1537add_0 conda-forge ffmpeg 4.3.1 ha925a31_0 conda-forge fire 0.4.0 pyh44b312d_0 conda-forge flake8 5.0.4 pyhd8ed1ab_0 conda-forge flatbuffers 2.0 pypi_0 pypi flit-core 3.7.1 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.14.0 hce3cb01_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.29.1 py310he2412df_0 conda-forge freetype 2.12.1 h546665d_0 conda-forge fribidi 1.0.10 h8d14728_0 conda-forge frozenlist 1.3.0 py310he2412df_1 conda-forge fsspec 2022.1.0 pyhd8ed1ab_0 conda-forge future 0.18.2 py310h5588dad_5 conda-forge gast 0.4.0 pypi_0 pypi getopt-win32 0.1 h8ffe710_0 conda-forge gettext 0.19.8.1 ha2e2712_1008 conda-forge giflib 5.2.1 h8d14728_2 conda-forge gin-config 0.5.0 pypi_0 pypi gitdb 4.0.7 pyhd3eb1b0_0 anaconda gitpython 3.1.27 pyhd8ed1ab_0 conda-forge google-auth 2.6.0 pyh6c4a22f_1 conda-forge google-auth-oauthlib 0.4.6 pyhd8ed1ab_0 conda-forge google-pasta 0.2.0 pyh8c360ce_0 conda-forge gprof2dot 2022.7.29 pypi_0 pypi graphite2 1.3.13 1000 conda-forge graphviz 4.0.0 had6c3a3_0 conda-forge greenlet 2.0.1 pypi_0 pypi grpcio 1.43.0 py310ha05212b_0 conda-forge gts 0.7.6 h7c369d9_2 conda-forge h5py 3.6.0 nompi_py310h00cbb18_100 conda-forge harfbuzz 4.2.0 hc1763ed_0 conda-forge hdf5 1.12.1 nompi_h2a0e4a3_104 conda-forge html5lib 1.1 pypi_0 pypi icu 69.1 h0e60522_0 conda-forge idna 3.3 pyhd8ed1ab_0 conda-forge imagecodecs 2022.2.22 py310h7653d06_3 conda-forge imageio 2.15.0 pyhcf75d05_0 conda-forge imageio-ffmpeg 0.4.5 pyhd8ed1ab_0 conda-forge imagesize 1.3.0 pyhd8ed1ab_0 conda-forge importlib-metadata 4.11.3 py310h5588dad_1 conda-forge importlib-resources 3.3.1 pyhd8ed1ab_0 conda-forge importlib_metadata 4.11.3 hd8ed1ab_1 conda-forge importlib_resources 5.6.0 pyhd8ed1ab_0 conda-forge inflection 0.5.1 pyh9f0ad1d_0 conda-forge iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge intel-openmp 2022.0.0 h57928b3_3663 conda-forge intervaltree 3.1.0 py_0 anaconda ipykernel 6.17.1 pyh025b116_0 conda-forge ipython 7.32.0 py310h5588dad_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 7.6.5 pyhd8ed1ab_0 conda-forge isort 5.10.1 pyhd8ed1ab_0 conda-forge jams 0.3.4 pypi_0 pypi jbig 2.1 h8d14728_2003 conda-forge jedi 0.18.1 py310h5588dad_1 conda-forge jellyfish 0.9.0 py310he2412df_1 conda-forge jinja2 3.0.3 pyhd8ed1ab_0 conda-forge jinja2-time 0.2.0 pyhd8ed1ab_3 conda-forge joblib 1.1.0 pyhd8ed1ab_0 conda-forge jpeg 9e h8ffe710_0 conda-forge jsbeautifier 1.14.0 pyhd8ed1ab_1 conda-forge jsonschema 4.4.0 pyhd8ed1ab_0 conda-forge jupyter 1.0.0 py310h5588dad_7 conda-forge jupyter-cache 0.5.0 pypi_0 pypi jupyter_client 7.4.4 pyhd8ed1ab_0 conda-forge jupyter_console 6.4.3 pyhd8ed1ab_0 conda-forge jupyter_core 4.9.2 py310h5588dad_0 conda-forge jupyterlab_pygments 0.2.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 1.1.0 pyhd8ed1ab_0 conda-forge jxrlib 1.1 hfa6e2cd_2 conda-forge kaleido-core 0.2.1 h8ffe710_0 conda-forge keras 2.10.0 pypi_0 pypi keras-preprocessing 1.1.2 pypi_0 pypi keyring 23.4.0 py310h5588dad_2 conda-forge kiwisolver 1.3.2 py310h476a331_1 conda-forge krb5 1.19.3 h1176d77_0 conda-forge kymatio 0.4.0.dev0 pypi_0 pypi lazy-object-proxy 1.7.1 py310he2412df_1 conda-forge lcms2 2.12 h2a16943_0 conda-forge lerc 3.0 h0e60522_0 conda-forge libaec 1.0.6 h39d44d4_0 conda-forge libarchive 3.5.2 hb45042f_1 conda-forge libavif 0.10.0 h8ffe710_1 conda-forge libblas 3.9.0 12_win64_mkl conda-forge libbrotlicommon 1.0.9 h8ffe710_7 conda-forge libbrotlidec 1.0.9 h8ffe710_7 conda-forge libbrotlienc 1.0.9 h8ffe710_7 conda-forge libcblas 3.9.0 12_win64_mkl conda-forge libclang 13.0.0 pypi_0 pypi libcublas 11.11.3.6 0 nvidia libcublas-dev 11.11.3.6 0 nvidia libcufft 10.9.0.58 0 nvidia libcufft-dev 10.9.0.58 0 nvidia libcurand 10.3.0.86 0 nvidia libcurand-dev 10.3.0.86 0 nvidia libcurl 7.82.0 h789b8ee_0 conda-forge libcusolver 11.4.1.48 0 nvidia libcusolver-dev 11.4.1.48 0 nvidia libcusparse 11.7.5.86 0 nvidia libcusparse-dev 11.7.5.86 0 nvidia libdeflate 1.10 h8ffe710_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libflac 1.3.4 h0e60522_0 conda-forge libgd 2.3.3 h217ff3b_2 conda-forge libglib 2.72.1 h3be07f2_0 conda-forge libiconv 1.16 he774522_0 conda-forge liblapack 3.9.0 12_win64_mkl conda-forge libmamba 0.22.1 h81a967f_1 conda-forge libmambapy 0.22.1 py310hd80b381_1 conda-forge libnpp 11.8.0.86 0 nvidia libnpp-dev 11.8.0.86 0 nvidia libnvjpeg 11.9.0.86 0 nvidia libnvjpeg-dev 11.9.0.86 0 nvidia libogg 1.3.5 h2bbff1b_1 anaconda libopus 1.3.1 h8ffe710_1 conda-forge libpng 1.6.37 ha81a0f5_2 conda-forge libprotobuf 3.19.4 h7755175_0 conda-forge librosa 0.9.0 pyhd8ed1ab_0 conda-forge libsndfile 1.0.31 h0e60522_1 conda-forge libsodium 1.0.18 h62dcd97_1 conda-forge libsolv 0.7.20 h23ce68f_0 anaconda libspatialindex 1.9.3 h39d44d4_4 conda-forge libssh2 1.10.0 h680486a_2 conda-forge libtiff 4.3.0 hc4061b1_3 conda-forge libuv 1.40.0 he774522_0 anaconda libvorbis 1.3.7 ha925a31_0 conda-forge libwebp 1.2.2 h57928b3_0 conda-forge libwebp-base 1.2.2 h8ffe710_1 conda-forge libxcb 1.13 hcd874cb_1004 conda-forge libxml2 2.9.12 hf5bbc77_2 conda-forge libzlib 1.2.13 hcfcfb64_4 conda-forge libzopfli 1.0.3 ha925a31_0 anaconda llvmlite 0.39.1 py310hb84602e_1 conda-forge locket 0.2.1 py310haa95532_2 anaconda lockfile 0.12.2 pypi_0 pypi lz4-c 1.9.3 h8ffe710_1 conda-forge lzo 2.10 hfa6e2cd_1000 conda-forge m2r2 0.3.3 pyhd8ed1ab_0 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge mamba 0.22.1 py310h9376f3e_1 conda-forge markdown 3.3.6 pyhd8ed1ab_0 conda-forge markdown-it-py 2.1.0 pypi_0 pypi markupsafe 2.0.1 py310he2412df_1 conda-forge mathjax 2.7.7 h57928b3_3 conda-forge matplotlib 3.6.1 py310h5588dad_0 conda-forge matplotlib-base 3.6.1 py310h51140c5_0 conda-forge matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge mccabe 0.7.0 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.3.1 pypi_0 pypi mdurl 0.1.2 pypi_0 pypi menuinst 1.4.18 py310h5588dad_1 conda-forge mido 1.2.10 pyhd8ed1ab_0 conda-forge mir-eval 0.7 pypi_0 pypi mirdata 0.3.6 pypi_0 pypi mistune 0.8.4 py310he2412df_1005 conda-forge mkl 2021.4.0 h0e2418a_729 conda-forge mkl-service 2.4.0 py310hcf6e17e_0 conda-forge mkl_fft 1.3.1 py310ha0764ea_0 anaconda mkl_random 1.2.2 py310hc02be91_0 anaconda moviepy 1.0.1 py_0 conda-forge msgpack 1.0.4 pypi_0 pypi msys2-conda-epoch 20160418 1 conda-forge multidict 6.0.2 py310he2412df_1 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mypy_extensions 0.4.3 py310h5588dad_5 conda-forge myst-nb 0.17.1 pypi_0 pypi myst-parser 0.18.1 pypi_0 pypi natsort 8.2.0 pypi_0 pypi nbclient 0.5.10 pyhd8ed1ab_1 conda-forge nbconvert 6.4.1 py310h5588dad_0 conda-forge nbformat 5.1.3 pyhd8ed1ab_0 conda-forge nbsphinx 0.8.9 pypi_0 pypi nest-asyncio 1.5.4 pyhd8ed1ab_0 conda-forge networkx 2.6.3 pyhd8ed1ab_1 conda-forge nnaudio 0.3.1 pypi_0 pypi notebook 6.4.8 pyha770c72_0 conda-forge nsight-compute 2022.3.0.22 0 nvidia numba 0.56.3 py310h19bcfe9_0 conda-forge numexpr 2.8.1 py310hb57aa6b_1 anaconda numpy 1.21.5 pypi_0 pypi numpydoc 1.2.1 pyhd8ed1ab_2 conda-forge oauthlib 3.2.0 pyhd8ed1ab_0 conda-forge opencv-python 4.6.0.66 pypi_0 pypi openjpeg 2.4.0 hb211442_1 conda-forge openssl 1.1.1s hcfcfb64_1 conda-forge opt-einsum 3.3.0 pypi_0 pypi packaging 21.3 pyhd8ed1ab_0 conda-forge pandas 1.4.0 py310hf5e1058_0 conda-forge pandoc 2.17.1.1 h57928b3_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge pango 1.50.7 h66df5b2_0 conda-forge paramiko 2.10.3 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge partd 1.2.0 pyhd8ed1ab_0 conda-forge pathspec 0.9.0 pyhd8ed1ab_0 conda-forge pathtools 0.1.2 py_1 anaconda patsy 0.5.2 pyhd8ed1ab_0 conda-forge pcre 8.45 h0e60522_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.0.1 py310h767b3fd_2 conda-forge pip 22.1.2 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h8ffe710_0 conda-forge platformdirs 2.4.1 pyhd8ed1ab_1 conda-forge plotly 5.10.0 py_0 plotly pluggy 1.0.0 py310h5588dad_3 conda-forge pooch 1.6.0 pyhd8ed1ab_0 conda-forge poyo 0.5.0 py_0 conda-forge pretty-midi 0.2.9 pypi_0 pypi proglog 0.1.9 py_0 conda-forge prometheus_client 0.14.1 pyhd8ed1ab_0 conda-forge promise 2.3 py310h5588dad_5 conda-forge prompt-toolkit 3.0.27 pyha770c72_0 conda-forge prompt_toolkit 3.0.27 hd8ed1ab_0 conda-forge protobuf 3.19.4 py310h8a704f9_0 conda-forge psutil 5.9.0 py310he2412df_1 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge py 1.11.0 pyh6c4a22f_0 conda-forge pyasn1 0.4.8 py_0 anaconda pyasn1-modules 0.2.8 py_0 anaconda pybind11-abi 4 hd8ed1ab_3 conda-forge pycodestyle 2.9.1 pyhd8ed1ab_0 conda-forge pycosat 0.6.3 py310he2412df_1010 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pydata-sphinx-theme 0.8.1 pypi_0 pypi pydeprecate 0.3.1 pyhd8ed1ab_0 conda-forge pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge pyflakes 2.5.0 pyhd8ed1ab_0 conda-forge pygments 2.13.0 pypi_0 pypi pyjwt 2.3.0 pyhd8ed1ab_1 conda-forge pylint 2.13.5 pyhd8ed1ab_0 conda-forge pylint-venv 2.3.0 pyhd8ed1ab_0 conda-forge pyls-spyder 0.4.0 pyhd8ed1ab_0 conda-forge pynacl 1.5.0 py310h4f637d6_1 conda-forge pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.7 pyhd8ed1ab_0 conda-forge pypiwin32 223 pypi_0 pypi pyqt 5.12.3 py310h5588dad_8 conda-forge pyqt-impl 5.12.3 py310h8a704f9_8 conda-forge pyqt5-sip 4.19.18 py310h8a704f9_8 conda-forge pyqtchart 5.12 py310h8a704f9_8 conda-forge pyqtwebengine 5.12.1 py310h8a704f9_8 conda-forge pyrsistent 0.18.1 py310he2412df_1 conda-forge pysimplegui 4.60.3 pypi_0 pypi pysocks 1.7.1 py310h5588dad_5 conda-forge pysoundfile 0.10.3.post1 pyhd3deb0d_0 conda-forge pytest 7.2.0 pyhd8ed1ab_2 conda-forge pytest-cov 4.0.0 pypi_0 pypi pytest-profiling 1.7.0 pypi_0 pypi python 3.10.4 h9a09f29_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-kaleido 0.2.1 pyhd8ed1ab_0 conda-forge python-lsp-black 1.2.1 pyhd8ed1ab_0 conda-forge python-lsp-jsonrpc 1.0.0 pyhd8ed1ab_0 conda-forge python-lsp-server 1.6.0 hd8ed1ab_0 conda-forge python-lsp-server-base 1.6.0 pyhd8ed1ab_0 conda-forge python-slugify 6.1.1 pyhd8ed1ab_0 conda-forge python_abi 3.10 2_cp310 conda-forge pythonmagick 0.9.19 pypi_0 pypi pytorch 1.13.0 py3.10_cuda11.7_cudnn8_0 pytorch pytorch-cuda 11.7 h67b0de4_0 pytorch pytorch-lightning 1.7.7 pyhd8ed1ab_0 conda-forge pytorch-mutex 1.0 cuda pytorch pytz 2021.3 pyhd8ed1ab_0 conda-forge pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pywavelets 1.3.0 py310h9b08ddd_2 conda-forge pywin32 303 py310he2412df_0 conda-forge pywin32-ctypes 0.2.0 py310h5588dad_1005 conda-forge pywinpty 2.0.5 py310h00ffb61_1 conda-forge pyyaml 6.0 py310he2412df_4 conda-forge pyzmq 24.0.1 py310hcd737a0_1 conda-forge qdarkstyle 3.0.2 pyhd8ed1ab_0 conda-forge qstylizer 0.2.2 pyhd8ed1ab_0 conda-forge qt 5.12.9 h556501e_6 conda-forge qtawesome 1.2.1 pyhd8ed1ab_0 conda-forge qtconsole 5.4.0 pyhd8ed1ab_0 conda-forge qtconsole-base 5.4.0 pyha770c72_0 conda-forge qtpy 2.2.1 pyhd8ed1ab_0 conda-forge reproc 14.2.4 hd77b12b_1 anaconda reproc-cpp 14.2.4 hd77b12b_1 anaconda requests 2.27.1 pyhd8ed1ab_0 conda-forge requests-oauthlib 1.3.1 pyhd8ed1ab_0 conda-forge resampy 0.2.2 py_0 conda-forge rich 12.2.0 pyhd8ed1ab_0 conda-forge rope 1.0.0 pyhd8ed1ab_0 conda-forge rsa 4.8 pyhd8ed1ab_0 conda-forge rtree 1.0.0 py310h1cbd46b_1 conda-forge ruamel-yaml 0.17.21 pypi_0 pypi ruamel-yaml-clib 0.2.7 pypi_0 pypi ruamel_yaml 0.15.100 py310h2bbff1b_0 anaconda scikit-learn 1.0.2 py310h4dafddf_0 conda-forge scipy 1.8.0 py310h33db832_1 conda-forge seaborn 0.11.2 hd8ed1ab_0 conda-forge seaborn-base 0.11.2 pyhd8ed1ab_0 conda-forge semver 2.13.0 pyh9f0ad1d_0 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge sentry-sdk 1.5.6 pyhd8ed1ab_0 conda-forge setproctitle 1.2.2 py310he2412df_1 conda-forge setuptools 65.5.0 pyhd8ed1ab_0 conda-forge shortuuid 1.0.8 py310h5588dad_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge smart-open 5.2.1 pypi_0 pypi smmap 4.0.0 pyhd3eb1b0_0 anaconda snappy 1.1.8 ha925a31_3 conda-forge snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.2.post1 pypi_0 pypi sphinx 5.3.0 pypi_0 pypi sphinx-autodoc-typehints 1.19.5 pypi_0 pypi sphinx-book-theme 0.3.3 pypi_0 pypi sphinx-copybutton 0.5.1 pypi_0 pypi sphinx-gallery 0.12.0.dev0 pypi_0 pypi sphinx-jinja2-compat 0.2.0 pypi_0 pypi sphinx-prompt 1.5.0 pypi_0 pypi sphinx-remove-toctrees 0.0.3 pypi_0 pypi sphinx-rtd-theme 1.0.0 pypi_0 pypi sphinx-tabs 3.4.0 pypi_0 pypi sphinx-toolbox 3.2.0 pypi_0 pypi sphinxcontrib-applehelp 1.0.2 py_0 anaconda sphinxcontrib-devhelp 1.0.2 py_0 anaconda sphinxcontrib-htmlhelp 2.0.0 pyhd8ed1ab_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 anaconda sphinxcontrib-qthelp 1.0.3 py_0 anaconda sphinxcontrib-serializinghtml 1.1.5 pyhd8ed1ab_2 conda-forge spyder 5.4.0 py310h5588dad_0 conda-forge spyder-kernels 2.4.0 py310h5588dad_0 conda-forge sqlalchemy 1.4.44 pypi_0 pypi sqlite 3.38.2 h2bbff1b_0 anaconda statsmodels 0.13.2 py310h2873277_0 conda-forge tables 3.7.0 pypi_0 pypi tabulate 0.9.0 pypi_0 pypi tbb 2021.5.0 h2d74725_1 conda-forge tenacity 8.0.1 py310haa95532_1 tensorboard 2.10.1 pyhd8ed1ab_0 conda-forge tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.1 pyhd8ed1ab_0 conda-forge tensorflow-cpu 2.10.0 pypi_0 pypi tensorflow-estimator 2.10.0 pypi_0 pypi tensorflow-intel 2.10.0 pypi_0 pypi tensorflow-io-gcs-filesystem 0.24.0 pypi_0 pypi termcolor 1.1.0 py_2 conda-forge terminado 0.13.1 py310h5588dad_0 conda-forge testpath 0.5.0 pyhd8ed1ab_0 conda-forge texext 0.6.7 pypi_0 pypi text-unidecode 1.3 py_0 anaconda textdistance 4.2.2 pyhd8ed1ab_0 conda-forge tf-estimator-nightly 2.8.0.dev2021122109 pypi_0 pypi threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge three-merge 0.1.1 pyh9f0ad1d_0 conda-forge tifffile 2022.2.9 pyhd8ed1ab_0 conda-forge tinycss2 1.1.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 1.2.2 pyhd8ed1ab_0 conda-forge toolz 0.11.2 pyhd8ed1ab_0 conda-forge torchaudio 0.13.0 pypi_0 pypi torchinfo 1.6.5 pyhd8ed1ab_0 conda-forge torchmetrics 0.9.2 pyhd8ed1ab_0 conda-forge torchsummary 1.5.1 pypi_0 pypi torchvision 0.14.0 pypi_0 pypi tornado 6.2 py310h8d17308_1 conda-forge tqdm 4.62.3 pyhd8ed1ab_0 conda-forge traitlets 5.1.1 pyhd8ed1ab_0 conda-forge typed-ast 1.5.2 py310he2412df_0 conda-forge typing-extensions 4.0.1 hd8ed1ab_0 conda-forge typing_extensions 4.0.1 pyha770c72_0 conda-forge tzdata 2022a h191b570_0 conda-forge ucrt 10.0.20348.0 h57928b3_0 conda-forge ujson 5.2.0 py310h8a704f9_1 conda-forge unicodedata2 14.0.0 py310he2412df_1 conda-forge unidecode 1.3.4 pyhd8ed1ab_0 conda-forge urllib3 1.26.8 pyhd8ed1ab_1 conda-forge vc 14.2 hc4473a8_6 conda-forge version-query 1.1.0 pypi_0 pypi vs2015_runtime 14.29.30139 h890b9b1_8 conda-forge wandb 0.13.4 pyhd8ed1ab_0 conda-forge watchdog 2.1.7 py310h5588dad_1 conda-forge wavespin 0.1.2 pypi_0 pypi wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge werkzeug 2.0.3 pyhd8ed1ab_1 conda-forge whatthepatch 1.0.2 pyhd8ed1ab_0 conda-forge wheel 0.37.1 pyhd8ed1ab_0 conda-forge widgetsnbextension 3.5.2 py310h5588dad_1 conda-forge win10toast 0.9 pypi_0 pypi win_inet_pton 1.1.0 py310h5588dad_4 conda-forge winpty 0.4.3 4 anaconda wrapt 1.13.3 py310he2412df_1 conda-forge xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge xorg-libice 1.0.10 hcd874cb_0 conda-forge xorg-libsm 1.2.3 hcd874cb_1000 conda-forge xorg-libx11 1.7.2 hcd874cb_0 conda-forge xorg-libxau 1.0.9 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xorg-libxext 1.3.4 hcd874cb_1 conda-forge xorg-libxpm 3.5.13 hcd874cb_0 conda-forge xorg-libxt 1.2.1 hcd874cb_2 conda-forge xorg-xextproto 7.3.0 hcd874cb_1002 conda-forge xorg-xproto 7.0.31 hcd874cb_1007 conda-forge xz 5.2.5 h62dcd97_1 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yaml-cpp 0.6.3 ha925a31_4 conda-forge yapf 0.32.0 pyhd8ed1ab_0 conda-forge yarl 1.7.2 py310he2412df_2 conda-forge yaspin 2.1.0 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zfp 0.5.5 h0e60522_8 conda-forge zipp 3.7.0 pyhd8ed1ab_1 conda-forge zlib 1.2.13 hcfcfb64_4 conda-forge zstd 1.5.2 h6255e5f_0 conda-forge ```
pip freeze ``` absl-py @ file:///home/conda/feedstock_root/build_artifacts/absl-py_1637088766493/work aiohttp @ file:///D:/bld/aiohttp_1636085447426/work aiosignal @ file:///home/conda/feedstock_root/build_artifacts/aiosignal_1636093929600/work alabaster==0.7.12 apeye==1.2.0 appdirs @ file:///home/conda/feedstock_root/build_artifacts/appdirs_1603108395799/work argh @ file:///home/conda/feedstock_root/build_artifacts/argh_1595627874344/work argon2-cffi @ file:///home/conda/feedstock_root/build_artifacts/argon2-cffi_1640817743617/work argon2-cffi-bindings @ file:///D:/bld/argon2-cffi-bindings_1649500527917/work argunparse==0.1.2 arrow @ file:///home/conda/feedstock_root/build_artifacts/arrow_1643313750486/work astroid @ file:///D:/bld/astroid_1649384956558/work asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1618968359944/work astunparse @ file:///home/conda/feedstock_root/build_artifacts/astunparse_1610696312422/work async-timeout==3.0.1 atomicwrites @ file:///home/conda/feedstock_root/build_artifacts/atomicwrites_1588182545583/work attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1640799537051/work audioread @ file:///D:/bld/audioread_1649550375476/work autodocsumm==0.2.9 autopep8 @ file:///home/conda/feedstock_root/build_artifacts/autopep8_1635267974115/work Babel @ file:///home/conda/feedstock_root/build_artifacts/babel_1619719576210/work backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work backports.functools-lru-cache @ file:///home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work bcrypt @ file:///D:/bld/bcrypt_1649165179217/work beautifulsoup4==4.11.1 binaryornot==0.4.4 black @ file:///D:/bld/black-recipe_1666900162923/work bleach @ file:///home/conda/feedstock_root/build_artifacts/bleach_1629908509068/work blinker==1.4 brotlipy @ file:///D:/bld/brotlipy_1648854347500/work CacheControl==0.12.11 cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work cachetools @ file:///home/conda/feedstock_root/build_artifacts/cachetools_1640686991047/work certifi==2022.9.24 cffi @ file:///D:/bld/cffi_1636046270630/work chardet @ file:///D:/bld/chardet_1649184403858/work charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1643649795184/work click @ file:///D:/bld/click_1651215332191/work cloudpickle @ file:///home/conda/feedstock_root/build_artifacts/cloudpickle_1631273254894/work colorama==0.4.6 commonmark==0.9.1 conda==4.12.0 conda-package-handling @ file:///D:/bld/conda-package-handling_1649385228593/work configparser @ file:///home/conda/feedstock_root/build_artifacts/configparser_1638573090458/work contourpy @ file:///D:/bld/contourpy_1662135324760/work cookiecutter @ file:///home/conda/feedstock_root/build_artifacts/cookiecutter_1643669229020/work coverage==6.5.0 cryptography @ file:///D:/bld/cryptography_1649035392887/work cssutils==2.6.0 cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work Cython @ file:///D:/bld/cython_1666737130539/work cytoolz==0.11.2 dask @ file:///home/conda/feedstock_root/build_artifacts/dask-core_1648827921498/work dataclasses @ file:///home/conda/feedstock_root/build_artifacts/dataclasses_1628958434797/work debugpy @ file:///D:/bld/debugpy_1649574472947/work decorator==4.4.2 defusedxml @ file:///home/conda/feedstock_root/build_artifacts/defusedxml_1615232257335/work Deprecated @ file:///home/conda/feedstock_root/build_artifacts/deprecated_1632758190537/work dict2css==0.3.0 diff-match-patch @ file:///home/conda/feedstock_root/build_artifacts/diff-match-patch_1594679019945/work dill @ file:///home/conda/feedstock_root/build_artifacts/dill_1623610058511/work discord.py==2.1.0 -e git+https://github.com/mathieulagrange/doce.git@3ad246067c6a8ac829899e7e888f4debbad80629#egg=doce docker-pycreds==0.4.0 docstring-to-markdown @ file:///home/conda/feedstock_root/build_artifacts/docstring-to-markdown_1637247638475/work docutils @ file:///D:/bld/docutils_1637111430921/work domdf-python-tools==3.5.0 -e git+https://github.com/OverLordGoldDragon/dumdum.git@2407d69d16492db9ae52320ef81c112e96539b29#egg=dummm -e git+https://github.com/gptanon/wavespon.git@532616002856aefa93a22a39edb1914b7eee7428#egg=DumSpin EditorConfig @ file:///home/conda/feedstock_root/build_artifacts/editorconfig_1636044710028/work entrypoints @ file:///home/conda/feedstock_root/build_artifacts/entrypoints_1643888246732/work etils==0.9.0 exceptiongroup @ file:///home/conda/feedstock_root/build_artifacts/exceptiongroup_1666864795589/work executing @ file:///home/conda/feedstock_root/build_artifacts/executing_1633213722787/work fire @ file:///home/conda/feedstock_root/build_artifacts/fire_1611345183397/work flake8 @ file:///home/conda/feedstock_root/build_artifacts/flake8_1659645013175/work flatbuffers==2.0 flit_core @ file:///home/conda/feedstock_root/build_artifacts/flit-core_1645629044586/work/source/flit_core fonttools @ file:///D:/bld/fonttools_1643722706834/work frozenlist @ file:///D:/bld/frozenlist_1648771850906/work fsspec @ file:///home/conda/feedstock_root/build_artifacts/fsspec_1641933807587/work future @ file:///D:/bld/future_1649010314844/work gast==0.4.0 gin-config==0.5.0 gitdb @ file:///tmp/build/80754af9/gitdb_1617117951232/work GitPython @ file:///home/conda/feedstock_root/build_artifacts/gitpython_1645531658201/work google-auth @ file:///home/conda/feedstock_root/build_artifacts/google-auth_1644503159426/work google-auth-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/google-auth-oauthlib_1630497468950/work google-pasta==0.2.0 gprof2dot==2022.7.29 greenlet==2.0.1 grpcio @ file:///D:/bld/grpcio_1639716073684/work h5py @ file:///D:/bld/h5py_1637965026596/work html5lib==1.1 idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1642433548627/work imagecodecs @ file:///D:/bld/imagecodecs_1649435271471/work imageio @ file:///home/conda/feedstock_root/build_artifacts/imageio_1644584688491/work imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1629987409325/work imagesize @ file:///home/conda/feedstock_root/build_artifacts/imagesize_1636492669893/work importlib-metadata @ file:///D:/bld/importlib-metadata_1648728561044/work importlib-resources @ file:///home/conda/feedstock_root/build_artifacts/importlib_resources_1648277295813/work inflection @ file:///home/conda/feedstock_root/build_artifacts/inflection_1598089801258/work iniconfig @ file:///home/conda/feedstock_root/build_artifacts/iniconfig_1603384189793/work intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work ipykernel @ file:///D:/bld/ipykernel_1668027251175/work ipython @ file:///D:/bld/ipython_1645889032989/work ipython-genutils==0.2.0 ipywidgets @ file:///home/conda/feedstock_root/build_artifacts/ipywidgets_1631590360471/work isort @ file:///home/conda/feedstock_root/build_artifacts/isort_1636447814597/work jams==0.3.4 jedi @ file:///D:/bld/jedi_1649067336192/work jellyfish @ file:///D:/bld/jellyfish_1649404950665/work Jinja2 @ file:///home/conda/feedstock_root/build_artifacts/jinja2_1636510082894/work jinja2-time @ file:///home/conda/feedstock_root/build_artifacts/jinja2-time_1646750632133/work joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1633637554808/work jsbeautifier @ file:///home/conda/feedstock_root/build_artifacts/jsbeautifier_1636074006843/work jsonschema @ file:///home/conda/feedstock_root/build_artifacts/jsonschema-meta_1642000296051/work jupyter @ file:///D:/bld/jupyter_1637233334138/work jupyter-cache==0.5.0 jupyter-console @ file:///home/conda/feedstock_root/build_artifacts/jupyter_console_1646669715337/work jupyter-core @ file:///D:/bld/jupyter_core_1645024565859/work jupyter_client @ file:///home/conda/feedstock_root/build_artifacts/jupyter_client_1666722996119/work jupyterlab-pygments @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_pygments_1649431904336/work jupyterlab-widgets @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_widgets_1647446862951/work kaleido @ file:///home/conda/feedstock_root/build_artifacts/python-kaleido_1615204619408/work keras==2.10.0 Keras-Preprocessing==1.1.2 keyring @ file:///D:/bld/keyring_1643122257328/work kiwisolver @ file:///D:/bld/kiwisolver_1635836898804/work kymatio @ git+https://github.com/kymatio/kymatio@a175292e5cc8d8194f5fea86ed36116b66f72c31 lazy-object-proxy @ file:///D:/bld/lazy-object-proxy_1649033326177/work libclang==13.0.0 libmambapy @ file:///D:/bld/mamba-split_1649138580245/work/libmambapy librosa @ file:///home/conda/feedstock_root/build_artifacts/librosa_1644244080933/work llvmlite==0.39.1 locket @ file:///C:/ci/locket_1647006260021/work lockfile==0.12.2 m2r2 @ file:///home/conda/feedstock_root/build_artifacts/m2r2_1660256583296/work mamba @ file:///D:/bld/mamba-split_1649138580245/work/mamba Markdown @ file:///home/conda/feedstock_root/build_artifacts/markdown_1637220118004/work markdown-it-py==2.1.0 MarkupSafe @ file:///D:/bld/markupsafe_1635833738092/work matplotlib @ file:///D:/bld/matplotlib-suite_1665498794443/work matplotlib-inline @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-inline_1631080358261/work mccabe @ file:///home/conda/feedstock_root/build_artifacts/mccabe_1643049622439/work mdit-py-plugins==0.3.1 mdurl==0.1.2 menuinst @ file:///D:/bld/menuinst_1636828787074/work mido @ file:///home/conda/feedstock_root/build_artifacts/mido_1628891227174/work mir-eval==0.7 mirdata==0.3.6 mistune @ file:///D:/bld/mistune_1635844812333/work mkl-fft==1.3.1 mkl-random @ file:///C:/ci/mkl_random_1639994255005/work mkl-service==2.4.0 moviepy==1.0.1 msgpack==1.0.4 multidict @ file:///D:/bld/multidict_1648882563599/work munkres==1.1.4 mypy-extensions @ file:///D:/bld/mypy_extensions_1649013486700/work myst-nb==0.17.1 myst-parser==0.18.1 natsort==8.2.0 nbclient @ file:///home/conda/feedstock_root/build_artifacts/nbclient_1642144614450/work nbconvert @ file:///D:/bld/nbconvert_1643238119654/work nbformat @ file:///home/conda/feedstock_root/build_artifacts/nbformat_1617383142101/work nbsphinx==0.8.9 nest-asyncio @ file:///home/conda/feedstock_root/build_artifacts/nest-asyncio_1638419302549/work networkx @ file:///home/conda/feedstock_root/build_artifacts/networkx_1635253012265/work nnAudio==0.3.1 notebook @ file:///home/conda/feedstock_root/build_artifacts/notebook_1643149609895/work numba @ file:///D:/bld/numba_1665771604821/work numexpr @ file:///C:/ci_310/numexpr_1642084889105/work numpy @ file:///D:/bld/numpy_1668919338279/work numpydoc @ file:///home/conda/feedstock_root/build_artifacts/numpydoc_1648752625857/work oauthlib @ file:///home/conda/feedstock_root/build_artifacts/oauthlib_1643507977997/work opencv-python==4.6.0.66 opt-einsum==3.3.0 packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1637239678211/work pandas @ file:///D:/bld/pandas_1642871741660/work pandocfilters @ file:///home/conda/feedstock_root/build_artifacts/pandocfilters_1631603243851/work paramiko @ file:///home/conda/feedstock_root/build_artifacts/paramiko_1647675418170/work parso @ file:///home/conda/feedstock_root/build_artifacts/parso_1638334955874/work partd @ file:///home/conda/feedstock_root/build_artifacts/partd_1617910651905/work pathspec @ file:///home/conda/feedstock_root/build_artifacts/pathspec_1626613672358/work pathtools==0.1.2 patsy @ file:///home/conda/feedstock_root/build_artifacts/patsy_1632667180946/work pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1602535608087/work pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1602536217715/work Pillow @ file:///D:/bld/pillow_1645323448137/work platformdirs @ file:///home/conda/feedstock_root/build_artifacts/platformdirs_1644222440849/work plotly @ file:///opt/conda/envs/env/conda-bld/plotly_1660225103991/work/packages/python/plotly/dist/plotly-5.10.0.tar.gz pluggy @ file:///D:/bld/pluggy_1648772793723/work pooch @ file:///home/conda/feedstock_root/build_artifacts/pooch_1643032624649/work poyo==0.5.0 pretty-midi==0.2.9 proglog==0.1.9 prometheus-client @ file:///home/conda/feedstock_root/build_artifacts/prometheus_client_1649447152425/work promise @ file:///D:/bld/promise_1636078293961/work prompt-toolkit @ file:///home/conda/feedstock_root/build_artifacts/prompt-toolkit_1644497866770/work protobuf==3.19.4 psutil @ file:///D:/bld/psutil_1648873130737/work ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1609419310487/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl py @ file:///home/conda/feedstock_root/build_artifacts/py_1636301881863/work pyasn1==0.4.8 pyasn1-modules==0.2.8 pycodestyle @ file:///home/conda/feedstock_root/build_artifacts/pycodestyle_1659638152915/work pycosat @ file:///D:/bld/pycosat_1649384999348/work pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work pydata-sphinx-theme==0.8.1 pyDeprecate @ file:///home/conda/feedstock_root/build_artifacts/pydeprecate_1622496226936/work pydocstyle @ file:///home/conda/feedstock_root/build_artifacts/pydocstyle_1621377123289/work pyflakes @ file:///home/conda/feedstock_root/build_artifacts/pyflakes_1659210156976/work Pygments==2.13.0 PyJWT @ file:///home/conda/feedstock_root/build_artifacts/pyjwt_1638819640841/work pylint @ file:///home/conda/feedstock_root/build_artifacts/pylint_1649340159108/work pylint-venv @ file:///home/conda/feedstock_root/build_artifacts/pylint-venv_1656263679357/work pyls-spyder @ file:///home/conda/feedstock_root/build_artifacts/pyls-spyder_1619747398504/work PyNaCl @ file:///D:/bld/pynacl_1649520152220/work pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1643496850550/work pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1642753572664/work pypiwin32==223 PyQt5==5.12.3 PyQt5_sip==4.19.18 PyQtChart==5.12 PyQtWebEngine==5.12.1 pyrsistent @ file:///D:/bld/pyrsistent_1649013512562/work PySimpleGUI==4.60.3 PySocks @ file:///D:/bld/pysocks_1648857426124/work pytest==7.2.0 pytest-cov==4.0.0 pytest-profiling==1.7.0 python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work python-lsp-black @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-black_1649795569828/work python-lsp-jsonrpc @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-jsonrpc_1618530352985/work python-lsp-server @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-server-meta_1667491645580/work python-slugify @ file:///home/conda/feedstock_root/build_artifacts/python-slugify_1645990991155/work PythonMagick @ file:///C:/Desktop/School/Deep%20Learning/DL_Code/wavespon/examples/PythonMagick-0.9.19-cp310-cp310-win_amd64.whl pytorch-lightning @ file:///home/conda/feedstock_root/build_artifacts/pytorch-lightning_1663971289049/work pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1633452062248/work pyu2f @ file:///home/conda/feedstock_root/build_artifacts/pyu2f_1604248910016/work PyWavelets @ file:///D:/bld/pywavelets_1666837856110/work pywin32==303 pywin32-ctypes @ file:///D:/bld/pywin32-ctypes_1648607976563/work pywinpty @ file:///D:/bld/pywinpty_1649088350877/work/target/wheels/pywinpty-2.0.5-cp310-none-win_amd64.whl PyYAML @ file:///D:/bld/pyyaml_1648757288117/work pyzmq @ file:///D:/bld/pyzmq_1666828590571/work QDarkStyle @ file:///home/conda/feedstock_root/build_artifacts/qdarkstyle_1617328841504/work qstylizer @ file:///home/conda/feedstock_root/build_artifacts/qstylizer_1662244505808/work/dist/qstylizer-0.2.2-py2.py3-none-any.whl QtAwesome @ file:///home/conda/feedstock_root/build_artifacts/qtawesome_1666638781418/work qtconsole @ file:///home/conda/feedstock_root/build_artifacts/qtconsole-base_1667404144336/work QtPy @ file:///home/conda/feedstock_root/build_artifacts/qtpy_1664834420615/work requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1641580202195/work requests-oauthlib @ file:///home/conda/feedstock_root/build_artifacts/requests-oauthlib_1643557462909/work resampy==0.2.2 rich @ file:///home/conda/feedstock_root/build_artifacts/rich_1649204039957/work rope @ file:///home/conda/feedstock_root/build_artifacts/rope_1649361964224/work rsa @ file:///home/conda/feedstock_root/build_artifacts/rsa_1637781155505/work Rtree @ file:///D:/bld/rtree_1649367817754/work ruamel-yaml-conda @ file:///C:/ci_310/ruamel_yaml_1642091173481/work ruamel.yaml==0.17.21 ruamel.yaml.clib==0.2.7 scikit-learn @ file:///D:/bld/scikit-learn_1640464383253/work scipy @ file:///C:/bld/scipy_1644357599835/work seaborn @ file:///home/conda/feedstock_root/build_artifacts/seaborn-split_1629095986539/work semver @ file:///home/conda/feedstock_root/build_artifacts/semver_1603697772578/work Send2Trash @ file:///home/conda/feedstock_root/build_artifacts/send2trash_1628511208346/work sentry-sdk @ file:///home/conda/feedstock_root/build_artifacts/sentry-sdk_1645545793808/work setproctitle @ file:///D:/bld/setproctitle_1635864397716/work shortuuid @ file:///D:/bld/shortuuid_1636643871194/work six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work smart-open==5.2.1 smmap @ file:///tmp/build/80754af9/smmap_1611694433573/work snowballstemmer @ file:///home/conda/feedstock_root/build_artifacts/snowballstemmer_1637143057757/work sortedcontainers @ file:///home/conda/feedstock_root/build_artifacts/sortedcontainers_1621217038088/work SoundFile @ file:///home/conda/feedstock_root/build_artifacts/pysoundfile_1607011569782/work soupsieve==2.3.2.post1 Sphinx==5.3.0 sphinx-book-theme==0.3.3 sphinx-copybutton==0.5.1 sphinx-gallery @ git+https://github.com/sphinx-gallery/sphinx-gallery@e2ecb35d9049d0df0a1db4f6d15be817745cd565 sphinx-jinja2-compat==0.2.0 sphinx-prompt==1.5.0 sphinx-remove-toctrees==0.0.3 sphinx-rtd-theme==1.0.0 sphinx-tabs==3.4.0 sphinx-toolbox==3.2.0 sphinx_autodoc_typehints==1.19.5 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-htmlhelp_1621704829796/work sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-serializinghtml_1649380998999/work spyder @ file:///D:/bld/spyder_1667851050917/work spyder-kernels @ file:///D:/bld/spyder-kernels_1667489764576/work SQLAlchemy==1.4.44 statsmodels @ file:///D:/bld/statsmodels_1644535944524/work tables==3.7.0 tabulate==0.9.0 tenacity @ file:///C:/Windows/TEMP/abs_980d07a6-8e21-4174-9c17-7296219678ads7dhdov_/croots/recipe/tenacity_1657899108023/work tensorboard @ file:///home/conda/feedstock_root/build_artifacts/tensorboard_1664238338171/work/tensorboard-2.10.1-py3-none-any.whl tensorboard-data-server==0.6.1 tensorboard-plugin-wit @ file:///home/conda/feedstock_root/build_artifacts/tensorboard-plugin-wit_1641458951060/work/tensorboard_plugin_wit-1.8.1-py3-none-any.whl tensorflow-cpu==2.10.0 tensorflow-estimator==2.10.0 tensorflow-io-gcs-filesystem==0.24.0 tensorflow_intel==2.10.0 termcolor==1.1.0 terminado @ file:///D:/bld/terminado_1643296747585/work testpath @ file:///home/conda/feedstock_root/build_artifacts/testpath_1621261527237/work texext==0.6.7 text-unidecode==1.3 textdistance @ file:///home/conda/feedstock_root/build_artifacts/textdistance_1635354148551/work tf-estimator-nightly==2.8.0.dev2021122109 threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1643647933166/work three-merge @ file:///home/conda/feedstock_root/build_artifacts/three-merge_1595515817927/work tifffile @ file:///home/conda/feedstock_root/build_artifacts/tifffile_1644583309565/work tinycss2 @ file:///home/conda/feedstock_root/build_artifacts/tinycss2_1637612658783/work toml @ file:///home/conda/feedstock_root/build_artifacts/toml_1604308577558/work tomli @ file:///home/conda/feedstock_root/build_artifacts/tomli_1635181214134/work toolz @ file:///home/conda/feedstock_root/build_artifacts/toolz_1636177962100/work torch==1.13.0 torchaudio==0.13.0 torchinfo @ file:///home/conda/feedstock_root/build_artifacts/torchinfo_1648248783115/work torchmetrics @ file:///home/conda/feedstock_root/build_artifacts/torchmetrics_1656568368092/work torchsummary==1.5.1 torchvision==0.14.0 tornado @ file:///D:/bld/tornado_1666788744359/work tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1632160078689/work traitlets @ file:///home/conda/feedstock_root/build_artifacts/traitlets_1635260543454/work typed-ast @ file:///D:/bld/typed-ast_1643046055864/work typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1638334978229/work ujson @ file:///D:/bld/ujson_1649355011829/work unicodedata2 @ file:///D:/bld/unicodedata2_1649112137711/work Unidecode @ file:///home/conda/feedstock_root/build_artifacts/unidecode_1646918762405/work urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1641584929973/work version-query==1.1.0 wandb @ file:///home/conda/feedstock_root/build_artifacts/wandb_1665091899188/work watchdog @ file:///D:/bld/watchdog_1648931983337/work -e git+https://github.com/gptanon/wttest.git@27e62bce2428c7208349efc59a1933e625586839#egg=WaveSpin wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1600965781394/work webencodings==0.5.1 Werkzeug @ file:///home/conda/feedstock_root/build_artifacts/werkzeug_1644332431572/work whatthepatch @ file:///home/conda/feedstock_root/build_artifacts/whatthepatch_1657393321074/work widgetsnbextension @ file:///D:/bld/widgetsnbextension_1637174334890/work win-inet-pton @ file:///D:/bld/win_inet_pton_1648771897787/work win10toast==0.9 wrapt @ file:///D:/bld/wrapt_1635836590868/work yapf @ file:///home/conda/feedstock_root/build_artifacts/yapf_1641487982943/work yarl @ file:///D:/bld/yarl_1648966692031/work yaspin @ file:///home/conda/feedstock_root/build_artifacts/yaspin_1630004424954/work zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1643828507773/work ```
OverLordGoldDragon commented 1 year ago

Another case: same problem, different warning:

# -*- coding: utf-8 -*-
"""Yes."""

def A():
    """*a b"""

points to module's, not A's, dosctring:

C:\dumdum\dummy_module\dumdum.py:docstring of dummy_module.dumdum.py:docstring of dummy_module.dumdum:1:
 WARNING: Inline emphasis start-string without end-string.
kinow commented 1 year ago

Had the same problem in my code base: https://earth.bsc.es/gitlab/es/autosubmit/-/merge_requests/316#note_199986

After seeing this issue, I searched for :.*:\s*\n to locate the :lines-like-this: and started looking for any unindented lines, until I found the culprit line in a function that was not the one reported by Sphinx/docutils.

Cheers -Bruno

parthea commented 1 year ago

My initial thought is that changes in indentation level (unindent) need to be separated by blank lines.

The following passes

    s: int
        X
           Y

        X
kinow commented 1 year ago

I reproduced the example described at the top comment this morning, using Sphinx 6.1.3, the latest available at PyPI ATOW.

(venv) (base) kinow@ranma:~/Development/python/workspace/dumdum/docs$ PYTHONPATH=.. sphinx-build -W -E . build
Running Sphinx v6.1.3
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 2 source files that are out of date
updating environment: [new config] 2 added, 0 changed, 0 removed
reading sources... [100%] index                                                                                                                                                                     

Warning, treated as error:
/home/kinow/Development/python/workspace/dumdum/dummy_module/dumdum.py:docstring of dummy_module.dumdum.A:1:Definition list ends without a blank line; unexpected unindent.

Then, on the same project, I installed Sphinx from a clone of this repository, latest commit

commit 6809ca7d04da47f8780647296961934cdc07e14a (HEAD -> master, upstream/master, upstream/HEAD)
Author: Jean-François B <2589111+jfbu@users.noreply.github.com>
Date:   Fri Mar 31 23:58:48 2023 +0200

    Fix error message wording in builders/latex/transforms.py

    And make it and the two other ones there translatable strings.
    Using .format for the f-string.

and the bug was gone :bug: :hammer: :boom:

(venv) (base) kinow@ranma:~/Development/python/workspace/dumdum/docs$ PYTHONPATH=.. sphinx-build -W -E . build
Running Sphinx v6.2.0+/6809ca7d0
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 2 source files that are out of date
updating environment: [new config] 2 added, 0 changed, 0 removed
reading sources... [100%] index                                                                                                                                                                     

Warning, treated as error:
/home/kinow/Development/python/workspace/dumdum/dummy_module/dumdum.py:docstring of dummy_module.dumdum.B:6:Definition list ends without a blank line; unexpected unindent.

Using git bisect to find which commit fixed it

Using git bisect, and re-installing sphinx and then trying the command again:

(venv) (base) kinow@ranma:~/Development/python/workspace/sphinx$ git bisect start --term-new=fixed --term-old=unfixed
(venv) (base) kinow@ranma:~/Development/python/workspace/sphinx$ git bisect fixed master
(venv) (base) kinow@ranma:~/Development/python/workspace/sphinx$ git bisect unfixed v6.1.3
Bisecting: 80 revisions left to test after this (roughly 6 steps)
[75da848573f8c057affb72a0c7b443f027bace64] LaTeX: streamline matters related to pict2e availability
(venv) (base) kinow@ranma:~/Development/python/workspace/sphinx$ pip uninstall sphinx -y && pip install -e .
# another session, same venv, dumdum project
PYTHONPATH=.. sphinx-build -W -E . build
# visually inspect the line reported, then tell bisect whether it's fixed or unfixed

Eventually the git bisect session ends with the following commit being the one that fixed it: https://github.com/sphinx-doc/sphinx/commit/8de6638697b8c785f8022e1f526b549e74d033d1

venv) (base) kinow@ranma:~/Development/python/workspace/sphinx$ git bisect unfixed
8de6638697b8c785f8022e1f526b549e74d033d1 is the first fixed commit
commit 8de6638697b8c785f8022e1f526b549e74d033d1
Author: Jeremy Maitin-Shepard <jbms@google.com>
Date:   Tue Feb 14 21:45:28 2023 -0800

    Add ``content_offset`` parameter to ``nested_parse_with_titles`` (#11147)

    Previously, ``nested_parse_with_titles`` always passed ``0`` as the input
    offset when invoking ``nested_parse``.  When parsing the content of a
    directive, as is a common use case for ``nested_parse_with_titles``,
    this leads to incorrect source file/line number information, as it
    does not take into account the directive's ``content_offset``, which is
    always non-zero.

    This issue affects *all* object descriptions due to GH-10887.  It also
    affects the ``sphinx.ext.ifconfig`` extension.

    The ``py:module`` and ``js:module`` directives employed a workaround for
    this issue, by wrapping the calls to ``nested_parse_with_title`` with
    ``switch_source_input``.  That worked, but was more complicated (and
    likely less efficient) than necessary.

    This commit adds an optional ``content_offset`` parameter to
    ``nested_parse_with_titles``, and fixes callers to pass the appropriate
    content offset when needed.

    This commit eliminates the now-unnecessary calls to
    ``switch_source_input`` and instead specifies the correct ``content_offset``.

 CHANGES                                    |  2 ++
 sphinx/directives/__init__.py              |  2 +-
 sphinx/domains/javascript.py               |  9 ++++-----
 sphinx/domains/python.py                   |  9 ++++-----
 sphinx/ext/autodoc/__init__.py             |  3 +--
 sphinx/ext/ifconfig.py                     |  2 +-
 sphinx/util/nodes.py                       |  5 +++--
 tests/test_directive_object_description.py | 14 ++++++++++++++
 tests/test_domain_js.py                    | 13 +++++++++++++
 tests/test_domain_py.py                    | 12 ++++++++++++
 tests/test_ext_ifconfig.py                 | 17 +++++++++++++++++
 11 files changed, 72 insertions(+), 16 deletions(-)

So I believe this issue can be included in the 6.2.0 release as fixed :tada: , with credits (and our thanks :bow: ) to @jbms.

Cheers, Bruno

picnixz commented 1 year ago