0s autopkgtest [20:43:57]: starting date and time: 2024-11-23 20:43:57+0000 0s autopkgtest [20:43:57]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:43:57]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2dlzlta9/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-lsp-server --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 -- lxd -r lxd-armhf-10.145.243.242 lxd-armhf-10.145.243.242:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [20:44:51]: testbed dpkg architecture: armhf 56s autopkgtest [20:44:53]: testbed apt version: 2.9.8 56s autopkgtest [20:44:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 64s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.2 kB] 64s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [925 kB] 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 64s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [61.7 kB] 64s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 64s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [721 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 65s Fetched 1865 kB in 2s (1136 kB/s) 65s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 108s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 108s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 108s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 108s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 109s Reading package lists... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Calculating upgrade... 110s The following packages will be upgraded: 110s bash debconf debconf-i18n dracut-install libpython3-stdlib pinentry-curses 110s python3 python3-blinker python3-debconf python3-minimal vim-common vim-tiny 110s xxd 111s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 2311 kB of archives. 111s After this operation, 4096 B of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu2 [37.5 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-0ubuntu2 [40.0 kB] 111s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 112s Preconfiguring packages ... 112s Fetched 2311 kB in 1s (3061 kB/s) 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 112s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 112s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 112s Setting up bash (5.2.32-1ubuntu2) ... 112s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 112s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 112s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Setting up python3-minimal (3.12.7-1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 112s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 112s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 112s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 112s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 112s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 112s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 112s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 112s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 112s Setting up debconf (1.5.87ubuntu1) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 113s Preparing to unpack .../0-vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 113s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../1-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 113s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../2-xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 113s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../3-dracut-install_105-2ubuntu2_armhf.deb ... 113s Unpacking dracut-install (105-2ubuntu2) over (105-1ubuntu1) ... 113s Preparing to unpack .../4-pinentry-curses_1.3.1-0ubuntu2_armhf.deb ... 113s Unpacking pinentry-curses (1.3.1-0ubuntu2) over (1.2.1-3ubuntu5) ... 113s Preparing to unpack .../5-python3-blinker_1.9.0-1_all.deb ... 113s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 113s Setting up pinentry-curses (1.3.1-0ubuntu2) ... 113s Setting up debconf-i18n (1.5.87ubuntu1) ... 113s Setting up xxd (2:9.1.0861-1ubuntu1) ... 113s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 113s Setting up dracut-install (105-2ubuntu2) ... 113s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 113s Setting up python3 (3.12.7-1) ... 113s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 113s Setting up python3-blinker (1.9.0-1) ... 113s Setting up python3-debconf (1.5.87ubuntu1) ... 114s Processing triggers for debianutils (5.21) ... 114s Processing triggers for install-info (7.1.1-1) ... 114s Processing triggers for man-db (2.13.0-1) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s autopkgtest [20:45:55]: rebooting testbed after setup commands that affected boot 186s autopkgtest [20:47:03]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 213s autopkgtest [20:47:30]: @@@@@@@@@@@@@@@@@@@@ apt-source python-lsp-server 223s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-lsp-server 1.10.1-1 (dsc) [2872 B] 223s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-lsp-server 1.10.1-1 (tar) [105 kB] 223s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-lsp-server 1.10.1-1 (diff) [4308 B] 223s gpgv: Signature made Mon Mar 25 10:07:13 2024 UTC 223s gpgv: using RSA key 73B299CBD4EEADDCC017E87A5BFFDCC258E69433 223s gpgv: issuer "jspricke@debian.org" 223s gpgv: Can't check signature: No public key 223s dpkg-source: warning: cannot verify inline signature for ./python-lsp-server_1.10.1-1.dsc: no acceptable signature found 223s autopkgtest [20:47:40]: testing package python-lsp-server version 1.10.1-1 225s autopkgtest [20:47:42]: build not needed 228s autopkgtest [20:47:45]: test pybuild-autopkgtest: preparing testbed 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 241s The following additional packages will be installed: 241s autoconf automake autopoint autotools-dev blt build-essential cpp cpp-14 241s cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 241s dh-autoreconf dh-python dh-strip-nondeterminism dwz flake8 fontconfig 241s fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lyx g++ g++-14 241s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 241s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 241s libarchive-zip-perl libasan8 libavahi-client3 libavahi-common-data 241s libavahi-common3 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 241s libcups2t64 libdebhelper-perl libdeflate0 libdouble-conversion3 241s libdrm-amdgpu1 libdrm-radeon1 libegl-mesa0 libegl1 241s libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 241s libgcc-14-dev libgfortran5 libglapi-mesa libgles2 libglvnd0 libgomp1 241s libgraphite2-3 libharfbuzz0b libice6 libimagequant0 libinput-bin libinput10 241s libisl23 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui 241s libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 liblerc4 241s libllvm19 libmd4c0 libmpc3 libmtdev1t64 libopenjp2-7 libpcre2-16-0 241s libpython3.12t64 libpython3.13-minimal libpython3.13-stdlib libqhull-r8.0 241s libqt5core5t64 libqt5dbus5t64 libqt5designer5 libqt5gui5t64 libqt5help5 241s libqt5network5t64 libqt5printsupport5t64 libqt5sql5t64 libqt5test5t64 241s libqt5widgets5t64 libqt5xml5t64 libraqm0 libsharpyuv0 libsm6 241s libstdc++-14-dev libtcl8.6 libtiff6 libtk8.6 libtool libubsan1 241s libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 241s libwebpdemux2 libwebpmux3 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 241s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 241s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 241s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 241s libxft2 libxkbcommon-x11-0 libxrender1 libxshmfence1 libxslt1.1 libxss1 241s linux-libc-dev m4 mesa-libgallium po-debconf pybuild-plugin-autopkgtest 241s pybuild-plugin-pyproject pylint python-matplotlib-data python3-all 241s python3-appdirs python3-astroid python3-autopep8 python3-brotli 241s python3-build python3-contourpy python3-cycler python3-dateutil 241s python3-decorator python3-dill python3-docstring-to-markdown python3-flake8 241s python3-flaky python3-fonttools python3-fs python3-importlib-metadata 241s python3-iniconfig python3-installer python3-isort python3-jedi 241s python3-kiwisolver python3-logilab-common python3-lxml python3-lz4 241s python3-matplotlib python3-mccabe python3-mpmath python3-mypy-extensions 241s python3-numpy python3-packaging python3-pandas python3-pandas-lib 241s python3-parso python3-pep8 python3-pil python3-pil.imagetk 241s python3-platformdirs python3-pluggy python3-pycodestyle python3-pydocstyle 241s python3-pyflakes python3-pylsp python3-pylsp-jsonrpc python3-pyproject-hooks 241s python3-pyqt5 python3-pyqt5.sip python3-pytest python3-pytoolconfig 241s python3-rope python3-scipy python3-setuptools-scm python3-six 241s python3-snowballstemmer python3-sympy python3-tk python3-toml python3-tomli 241s python3-tomlkit python3-typeshed python3-tz python3-ufolib2 python3-ujson 241s python3-whatthepatch python3-wheel python3-yapf python3.12-tk python3.13 241s python3.13-minimal python3.13-tk rpcsvc-proto tk8.6-blt2.5 unicode-data 241s x11-common 241s Suggested packages: 241s autoconf-archive gnu-standards autoconf-doc blt-demo cpp-doc gcc-14-locales 241s cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb 241s gcc-doc gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 241s libc-devtools glibc-doc cups-common libjs-jquery-ui-docs liblcms2-utils 241s libthai0 qgnomeplatform-qt5 qt5-image-formats-plugins libstdc++-14-doc 241s tcl8.6 tk8.6 libtool-doc gfortran | fortran95-compiler gcj-jdk libwacom-bin 241s m4-doc libmail-box-perl python3-pip python3-venv python-build-doc 241s python-cycler-doc python3-objgraph python-installer-doc python-lxml-doc 241s cm-super-minimal dvipng ffmpeg fonts-staypuft ghostscript gir1.2-gtk-3.0 241s inkscape ipython3 librsvg2-common python-matplotlib-doc python3-cairocffi 241s python3-gi-cairo python3-gobject python3-sip python3-tornado 241s texlive-extra-utils texlive-latex-extra python-mpmath-doc python3-gmpy2 241s gfortran python-numpy-doc python3-dev python-pandas-doc python3-statsmodels 241s python-pil-doc python-scipy-doc python3-stemmer texlive-fonts-extra 241s python-sympy-doc tix python3-tk-dbg python3.13-venv python3.13-doc 241s binfmt-support 241s Recommended packages: 241s manpages manpages-dev libarchive-cpio-perl javascript-common 241s qttranslations5-l10n libqt5svg5 qt5-gtk-platformtheme qtwayland5 libcups2 241s libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc | libqt5sql5-psql 241s | libqt5sql5-tds | libqt5sql5-ibase libltdl-dev libmail-sendmail-perl 241s python3-bs4 python3-cssselect python3-html5lib python3-bottleneck 241s python3-numexpr python3-odf python3-openpyxl python3-tables pycodestyle 241s python3-olefile pyflakes3 git-core mercurial python3-svn isympy-common 241s The following NEW packages will be installed: 241s autoconf automake autopkgtest-satdep autopoint autotools-dev blt 241s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 241s cpp-arm-linux-gnueabihf debhelper debugedit dh-autoreconf dh-python 241s dh-strip-nondeterminism dwz flake8 fontconfig fontconfig-config 241s fonts-dejavu-core fonts-dejavu-mono fonts-lyx g++ g++-14 241s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 241s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 241s libarchive-zip-perl libasan8 libavahi-client3 libavahi-common-data 241s libavahi-common3 libblas3 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 241s libcups2t64 libdebhelper-perl libdeflate0 libdouble-conversion3 241s libdrm-amdgpu1 libdrm-radeon1 libegl-mesa0 libegl1 241s libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 241s libgcc-14-dev libgfortran5 libglapi-mesa libgles2 libglvnd0 libgomp1 241s libgraphite2-3 libharfbuzz0b libice6 libimagequant0 libinput-bin libinput10 241s libisl23 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui 241s libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 liblerc4 241s libllvm19 libmd4c0 libmpc3 libmtdev1t64 libopenjp2-7 libpcre2-16-0 241s libpython3.12t64 libpython3.13-minimal libpython3.13-stdlib libqhull-r8.0 241s libqt5core5t64 libqt5dbus5t64 libqt5designer5 libqt5gui5t64 libqt5help5 241s libqt5network5t64 libqt5printsupport5t64 libqt5sql5t64 libqt5test5t64 241s libqt5widgets5t64 libqt5xml5t64 libraqm0 libsharpyuv0 libsm6 241s libstdc++-14-dev libtcl8.6 libtiff6 libtk8.6 libtool libubsan1 241s libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 241s libwebpdemux2 libwebpmux3 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 241s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 241s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 241s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 241s libxft2 libxkbcommon-x11-0 libxrender1 libxshmfence1 libxslt1.1 libxss1 241s linux-libc-dev m4 mesa-libgallium po-debconf pybuild-plugin-autopkgtest 241s pybuild-plugin-pyproject pylint python-matplotlib-data python3-all 241s python3-appdirs python3-astroid python3-autopep8 python3-brotli 241s python3-build python3-contourpy python3-cycler python3-dateutil 241s python3-decorator python3-dill python3-docstring-to-markdown python3-flake8 241s python3-flaky python3-fonttools python3-fs python3-importlib-metadata 241s python3-iniconfig python3-installer python3-isort python3-jedi 241s python3-kiwisolver python3-logilab-common python3-lxml python3-lz4 241s python3-matplotlib python3-mccabe python3-mpmath python3-mypy-extensions 241s python3-numpy python3-packaging python3-pandas python3-pandas-lib 241s python3-parso python3-pep8 python3-pil python3-pil.imagetk 242s python3-platformdirs python3-pluggy python3-pycodestyle python3-pydocstyle 242s python3-pyflakes python3-pylsp python3-pylsp-jsonrpc python3-pyproject-hooks 242s python3-pyqt5 python3-pyqt5.sip python3-pytest python3-pytoolconfig 242s python3-rope python3-scipy python3-setuptools-scm python3-six 242s python3-snowballstemmer python3-sympy python3-tk python3-toml python3-tomli 242s python3-tomlkit python3-typeshed python3-tz python3-ufolib2 python3-ujson 242s python3-whatthepatch python3-wheel python3-yapf python3.12-tk python3.13 242s python3.13-minimal python3.13-tk rpcsvc-proto tk8.6-blt2.5 unicode-data 242s x11-common 242s 0 upgraded, 222 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 186 MB/186 MB of archives. 242s After this operation, 699 MB of additional disk space will be used. 242s Get:1 /tmp/autopkgtest.lr74z2/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [936 B] 242s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 242s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 242s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 242s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 242s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 242s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 242s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 242s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libtcl8.6 armhf 8.6.15+dfsg-2 [909 kB] 242s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 242s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 242s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 242s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu2 [37.4 kB] 242s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu2 [113 kB] 242s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 242s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxft2 armhf 2.3.6-1build1 [37.4 kB] 242s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 242s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxss1 armhf 1:1.2.3-1build3 [6500 B] 242s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libtk8.6 armhf 8.6.15-1 [685 kB] 242s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf tk8.6-blt2.5 armhf 2.5.3+dfsg-7build1 [525 kB] 242s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf blt armhf 2.5.3+dfsg-7build1 [4840 B] 242s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 242s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 242s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 242s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 242s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 243s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 243s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 243s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 243s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 243s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 243s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 243s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 243s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 243s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 243s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 243s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 243s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 243s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 243s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 243s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 243s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 243s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 244s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 244s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 244s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 244s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 244s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 244s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-8 [166 kB] 244s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 244s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 244s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 244s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 244s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 244s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 244s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 244s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 244s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 244s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 244s Get:60 http://ftpmaster.internal/ubuntu plucky/universe armhf dh-python all 6.20241024 [112 kB] 244s Get:61 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mccabe all 0.7.0-1 [8678 B] 244s Get:62 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pycodestyle all 2.12.1-1 [30.1 kB] 244s Get:63 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyflakes all 3.2.0-2 [52.9 kB] 244s Get:64 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-flake8 all 7.1.1-2 [44.1 kB] 244s Get:65 http://ftpmaster.internal/ubuntu plucky/universe armhf flake8 all 7.1.1-2 [6444 B] 244s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig armhf 2.15.0-1.1ubuntu2 [189 kB] 244s Get:67 http://ftpmaster.internal/ubuntu plucky/universe armhf fonts-lyx all 2.4.2.1-1 [171 kB] 244s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libavahi-common-data armhf 0.8-13ubuntu6 [29.7 kB] 244s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libavahi-common3 armhf 0.8-13ubuntu6 [20.2 kB] 244s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf libavahi-client3 armhf 0.8-13ubuntu6 [24.2 kB] 244s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-3build2 [126 kB] 244s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libcups2t64 armhf 2.4.10-1ubuntu2 [239 kB] 244s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libdeflate0 armhf 1.22-1 [38.9 kB] 244s Get:74 http://ftpmaster.internal/ubuntu plucky/universe armhf libdouble-conversion3 armhf 3.3.0-1build1 [38.6 kB] 244s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-amdgpu1 armhf 2.4.123-1 [18.9 kB] 244s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB] 244s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.0-1 [29.4 kB] 244s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 244s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.2.3-1ubuntu1 [49.4 kB] 244s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.2-1ubuntu1 [27.8 MB] 245s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B] 245s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B] 245s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 245s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 245s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 245s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 245s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 245s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.2.3-1ubuntu1 [7895 kB] 245s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.2.3-1ubuntu1 [28.2 kB] 245s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-client0 armhf 1.23.0-1 [22.7 kB] 245s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 245s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf libegl-mesa0 armhf 24.2.3-1ubuntu1 [106 kB] 245s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 245s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libgraphite2-3 armhf 1.3.14-2ubuntu1 [64.8 kB] 245s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libharfbuzz0b armhf 10.0.1-1 [463 kB] 245s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 245s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libimagequant0 armhf 2.18.0-1build1 [31.1 kB] 245s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libwacom-common all 2.13.0-1 [98.6 kB] 245s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libwacom9 armhf 2.13.0-1 [22.3 kB] 245s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libinput-bin armhf 1.26.2-1 [25.2 kB] 245s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libmtdev1t64 armhf 1.1.6-1.2 [13.2 kB] 245s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libinput10 armhf 1.26.2-1 [119 kB] 245s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-turbo8 armhf 2.1.5-3ubuntu2 [127 kB] 246s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 246s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 246s Get:106 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] 246s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 246s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 246s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-3build2 [2086 kB] 246s Get:110 http://ftpmaster.internal/ubuntu plucky/universe armhf liblbfgsb0 armhf 3.0+dfsg.4-1build1 [27.4 kB] 246s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf liblcms2-2 armhf 2.16-2 [137 kB] 246s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf liblerc4 armhf 4.0.0+ds-5ubuntu1 [160 kB] 246s Get:113 http://ftpmaster.internal/ubuntu plucky/universe armhf libmd4c0 armhf 0.5.2-2 [38.2 kB] 246s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 246s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12t64 armhf 3.12.7-3 [2075 kB] 246s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 246s Get:117 http://ftpmaster.internal/ubuntu plucky/universe armhf libqhull-r8.0 armhf 2020.2-6build1 [173 kB] 246s Get:118 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5core5t64 armhf 5.15.15+dfsg-1ubuntu1 [1765 kB] 246s Get:119 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5dbus5t64 armhf 5.15.15+dfsg-1ubuntu1 [198 kB] 246s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 246s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf libegl1 armhf 1.7.0-1build1 [29.8 kB] 246s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libgles2 armhf 1.7.0-1build1 [18.0 kB] 246s Get:123 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5network5t64 armhf 5.15.15+dfsg-1ubuntu1 [654 kB] 246s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 246s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-icccm4 armhf 0.4.2-1 [9840 B] 246s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-util1 armhf 0.4.0-1build3 [9224 B] 246s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-image0 armhf 0.4.0-2build1 [9680 B] 246s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-keysyms1 armhf 0.4.0-1build4 [7260 B] 246s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-render0 armhf 1.17.0-2 [15.3 kB] 246s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-render-util0 armhf 0.3.9-1build4 [8648 B] 246s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shape0 armhf 1.17.0-2 [6030 B] 246s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xinerama0 armhf 1.17.0-2 [5212 B] 246s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xinput0 armhf 1.17.0-2 [29.5 kB] 246s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xkb1 armhf 1.17.0-2 [28.8 kB] 246s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon-x11-0 armhf 1.7.0-1 [13.8 kB] 246s Get:136 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5gui5t64 armhf 5.15.15+dfsg-1ubuntu1 [2971 kB] 246s Get:137 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5widgets5t64 armhf 5.15.15+dfsg-1ubuntu1 [2261 kB] 246s Get:138 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5xml5t64 armhf 5.15.15+dfsg-1ubuntu1 [108 kB] 246s Get:139 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5designer5 armhf 5.15.15-2 [2725 kB] 246s Get:140 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5sql5t64 armhf 5.15.15+dfsg-1ubuntu1 [108 kB] 246s Get:141 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5help5 armhf 5.15.15-2 [144 kB] 246s Get:142 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5printsupport5t64 armhf 5.15.15+dfsg-1ubuntu1 [192 kB] 247s Get:143 http://ftpmaster.internal/ubuntu plucky/universe armhf libqt5test5t64 armhf 5.15.15+dfsg-1ubuntu1 [135 kB] 247s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf libraqm0 armhf 0.10.1-1build1 [12.4 kB] 247s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libsharpyuv0 armhf 1.4.0-0.1 [16.3 kB] 247s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 247s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf libwebp7 armhf 1.4.0-0.1 [184 kB] 247s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu4 [179 kB] 247s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf libwebpdemux2 armhf 1.4.0-0.1 [11.8 kB] 247s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libwebpmux3 armhf 1.4.0-0.1 [22.5 kB] 247s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libxslt1.1 armhf 1.1.39-0exp1ubuntu1 [150 kB] 247s Get:152 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 247s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf python3-importlib-metadata all 8.5.0-1 [20.7 kB] 247s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 247s Get:155 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 247s Get:156 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomli all 2.0.1-2 [16.5 kB] 247s Get:157 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-toml all 0.10.2-1 [16.5 kB] 247s Get:158 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.45.0-1 [57.7 kB] 247s Get:159 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-build all 1.2.2-1 [31.0 kB] 247s Get:160 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 247s Get:161 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-pyproject all 6.20241024 [1728 B] 247s Get:162 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-astroid all 3.3.5-1 [174 kB] 247s Get:163 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-isort all 5.13.2-2 [59.3 kB] 247s Get:164 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mypy-extensions all 1.0.0-1 [6148 B] 247s Get:165 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-logilab-common all 2.0.0-1 [281 kB] 247s Get:166 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dill all 0.3.9-1 [84.5 kB] 247s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf python3-platformdirs all 4.3.6-1 [16.8 kB] 247s Get:168 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tomlkit all 0.13.2-1 [37.6 kB] 247s Get:169 http://ftpmaster.internal/ubuntu plucky/universe armhf pylint all 3.3.1-2 [345 kB] 247s Get:170 http://ftpmaster.internal/ubuntu plucky/universe armhf python-matplotlib-data all 3.8.3-3ubuntu1 [2928 kB] 247s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 247s Get:172 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 247s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-appdirs all 1.4.4-4 [10.9 kB] 247s Get:174 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pep8 all 1.7.1-11ubuntu1 [32.0 kB] 247s Get:175 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-autopep8 all 2.3.1-2 [48.5 kB] 247s Get:176 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-brotli armhf 1.1.0-2build3 [324 kB] 247s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11ubuntu1 [3975 kB] 247s Get:178 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-contourpy armhf 1.3.0-2build1 [238 kB] 247s Get:179 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-cycler all 0.12.1-1 [9716 B] 247s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 247s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 247s Get:182 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-docstring-to-markdown all 0.15-1 [11.3 kB] 247s Get:183 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-flaky all 3.8.1-2 [16.6 kB] 247s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tz all 2024.1-2 [31.4 kB] 247s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf python3-six all 1.16.0-7 [13.1 kB] 247s Get:186 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-fs all 2.4.16-4 [91.3 kB] 247s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lxml armhf 5.3.0-1build1 [1630 kB] 247s Get:188 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-lz4 armhf 4.0.2+dfsg-1build5 [25.5 kB] 247s Get:189 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-scipy armhf 1.13.1-5ubuntu1 [19.1 MB] 248s Get:190 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mpmath all 1.3.0-1 [425 kB] 248s Get:191 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sympy all 1.13.3-1 [4228 kB] 248s Get:192 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ufolib2 all 0.16.1+dfsg1-1 [33.4 kB] 248s Get:193 http://ftpmaster.internal/ubuntu plucky/universe armhf unicode-data all 15.1.0-1 [8878 kB] 248s Get:194 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-fonttools armhf 4.55.0-3 [1626 kB] 248s Get:195 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 248s Get:196 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-parso all 0.8.3-1 [67.2 kB] 248s Get:197 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 248s Get:198 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jedi all 0.19.1+ds1-1 [693 kB] 248s Get:199 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-kiwisolver armhf 1.4.7-2build1 [71.1 kB] 248s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libopenjp2-7 armhf 2.5.0-2ubuntu1 [170 kB] 248s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pil armhf 10.4.0-1ubuntu2 [446 kB] 248s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-tk armhf 3.12.7-3 [112 kB] 248s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-tk armhf 3.13.0-2 [103 kB] 248s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tk armhf 3.12.7-1 [9752 B] 248s Get:205 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pil.imagetk armhf 10.4.0-1ubuntu2 [8970 B] 248s Get:206 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-matplotlib armhf 3.8.3-3ubuntu1 [4597 kB] 249s Get:207 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pandas-lib armhf 2.2.3+dfsg-5ubuntu1 [7608 kB] 249s Get:208 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pandas all 2.2.3+dfsg-5ubuntu1 [3112 kB] 250s Get:209 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 250s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 250s Get:211 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pydocstyle all 6.3.0-1.1 [35.2 kB] 250s Get:212 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ujson armhf 5.10.0-1build1 [24.2 kB] 250s Get:213 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pylsp-jsonrpc all 1.1.2-1 [8494 B] 250s Get:214 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pylsp all 1.10.1-1 [56.5 kB] 250s Get:215 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyqt5.sip armhf 12.15.0-1build1 [58.5 kB] 250s Get:216 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyqt5 armhf 5.15.11+dfsg-1build1 [2206 kB] 250s Get:217 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 250s Get:218 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytoolconfig all 1.3.1-2 [11.3 kB] 250s Get:219 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-rope all 1.13.0-2 [159 kB] 250s Get:220 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-setuptools-scm all 8.1.0-1 [32.2 kB] 250s Get:221 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-yapf all 0.40.2-1 [166 kB] 250s Get:222 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-whatthepatch all 1.0.7-1 [12.0 kB] 250s Fetched 186 MB in 8s (22.5 MB/s) 251s Selecting previously unselected package libpython3.13-minimal:armhf. 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59616 files and directories currently installed.) 251s Preparing to unpack .../000-libpython3.13-minimal_3.13.0-2_armhf.deb ... 251s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 251s Selecting previously unselected package python3.13-minimal. 251s Preparing to unpack .../001-python3.13-minimal_3.13.0-2_armhf.deb ... 251s Unpacking python3.13-minimal (3.13.0-2) ... 251s Selecting previously unselected package m4. 251s Preparing to unpack .../002-m4_1.4.19-4build1_armhf.deb ... 251s Unpacking m4 (1.4.19-4build1) ... 251s Selecting previously unselected package autoconf. 251s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 251s Unpacking autoconf (2.72-3) ... 251s Selecting previously unselected package autotools-dev. 251s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 251s Unpacking autotools-dev (20220109.1) ... 251s Selecting previously unselected package automake. 251s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 251s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 251s Selecting previously unselected package autopoint. 251s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 251s Unpacking autopoint (0.22.5-2) ... 251s Selecting previously unselected package libtcl8.6:armhf. 251s Preparing to unpack .../007-libtcl8.6_8.6.15+dfsg-2_armhf.deb ... 251s Unpacking libtcl8.6:armhf (8.6.15+dfsg-2) ... 251s Selecting previously unselected package libfreetype6:armhf. 251s Preparing to unpack .../008-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 251s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 251s Selecting previously unselected package fonts-dejavu-mono. 251s Preparing to unpack .../009-fonts-dejavu-mono_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-mono (2.37-8) ... 251s Selecting previously unselected package fonts-dejavu-core. 251s Preparing to unpack .../010-fonts-dejavu-core_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-core (2.37-8) ... 251s Selecting previously unselected package fontconfig-config. 251s Preparing to unpack .../011-fontconfig-config_2.15.0-1.1ubuntu2_armhf.deb ... 251s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 251s Selecting previously unselected package libfontconfig1:armhf. 251s Preparing to unpack .../012-libfontconfig1_2.15.0-1.1ubuntu2_armhf.deb ... 251s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 251s Selecting previously unselected package libxrender1:armhf. 251s Preparing to unpack .../013-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 251s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 251s Selecting previously unselected package libxft2:armhf. 251s Preparing to unpack .../014-libxft2_2.3.6-1build1_armhf.deb ... 251s Unpacking libxft2:armhf (2.3.6-1build1) ... 251s Selecting previously unselected package x11-common. 251s Preparing to unpack .../015-x11-common_1%3a7.7+23ubuntu3_all.deb ... 252s Unpacking x11-common (1:7.7+23ubuntu3) ... 252s Selecting previously unselected package libxss1:armhf. 252s Preparing to unpack .../016-libxss1_1%3a1.2.3-1build3_armhf.deb ... 252s Unpacking libxss1:armhf (1:1.2.3-1build3) ... 252s Selecting previously unselected package libtk8.6:armhf. 252s Preparing to unpack .../017-libtk8.6_8.6.15-1_armhf.deb ... 252s Unpacking libtk8.6:armhf (8.6.15-1) ... 252s Selecting previously unselected package tk8.6-blt2.5. 252s Preparing to unpack .../018-tk8.6-blt2.5_2.5.3+dfsg-7build1_armhf.deb ... 252s Unpacking tk8.6-blt2.5 (2.5.3+dfsg-7build1) ... 252s Selecting previously unselected package blt. 252s Preparing to unpack .../019-blt_2.5.3+dfsg-7build1_armhf.deb ... 252s Unpacking blt (2.5.3+dfsg-7build1) ... 252s Selecting previously unselected package libc-dev-bin. 252s Preparing to unpack .../020-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 252s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 252s Selecting previously unselected package linux-libc-dev:armhf. 252s Preparing to unpack .../021-linux-libc-dev_6.11.0-8.8_armhf.deb ... 252s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 252s Selecting previously unselected package libcrypt-dev:armhf. 252s Preparing to unpack .../022-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 252s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 252s Selecting previously unselected package rpcsvc-proto. 252s Preparing to unpack .../023-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 252s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 252s Selecting previously unselected package libc6-dev:armhf. 252s Preparing to unpack .../024-libc6-dev_2.40-1ubuntu3_armhf.deb ... 252s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 252s Selecting previously unselected package libisl23:armhf. 252s Preparing to unpack .../025-libisl23_0.27-1_armhf.deb ... 252s Unpacking libisl23:armhf (0.27-1) ... 252s Selecting previously unselected package libmpc3:armhf. 252s Preparing to unpack .../026-libmpc3_1.3.1-1build2_armhf.deb ... 252s Unpacking libmpc3:armhf (1.3.1-1build2) ... 252s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 252s Preparing to unpack .../027-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 252s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package cpp-14. 253s Preparing to unpack .../028-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package cpp-arm-linux-gnueabihf. 253s Preparing to unpack .../029-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 253s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 253s Selecting previously unselected package cpp. 253s Preparing to unpack .../030-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 253s Unpacking cpp (4:14.1.0-2ubuntu1) ... 253s Selecting previously unselected package libcc1-0:armhf. 253s Preparing to unpack .../031-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package libgomp1:armhf. 253s Preparing to unpack .../032-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package libasan8:armhf. 253s Preparing to unpack .../033-libasan8_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package libubsan1:armhf. 253s Preparing to unpack .../034-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package libgcc-14-dev:armhf. 253s Preparing to unpack .../035-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 253s Preparing to unpack .../036-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package gcc-14. 253s Preparing to unpack .../037-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 253s Selecting previously unselected package gcc-arm-linux-gnueabihf. 253s Preparing to unpack .../038-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 253s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 253s Selecting previously unselected package gcc. 253s Preparing to unpack .../039-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 253s Unpacking gcc (4:14.1.0-2ubuntu1) ... 253s Selecting previously unselected package libstdc++-14-dev:armhf. 253s Preparing to unpack .../040-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 253s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 254s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 254s Preparing to unpack .../041-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 254s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 254s Selecting previously unselected package g++-14. 254s Preparing to unpack .../042-g++-14_14.2.0-8ubuntu1_armhf.deb ... 254s Unpacking g++-14 (14.2.0-8ubuntu1) ... 254s Selecting previously unselected package g++-arm-linux-gnueabihf. 254s Preparing to unpack .../043-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 254s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 254s Selecting previously unselected package g++. 254s Preparing to unpack .../044-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 254s Unpacking g++ (4:14.1.0-2ubuntu1) ... 254s Selecting previously unselected package build-essential. 254s Preparing to unpack .../045-build-essential_12.10ubuntu1_armhf.deb ... 254s Unpacking build-essential (12.10ubuntu1) ... 254s Selecting previously unselected package libdebhelper-perl. 254s Preparing to unpack .../046-libdebhelper-perl_13.20ubuntu1_all.deb ... 254s Unpacking libdebhelper-perl (13.20ubuntu1) ... 254s Selecting previously unselected package libtool. 254s Preparing to unpack .../047-libtool_2.4.7-8_all.deb ... 254s Unpacking libtool (2.4.7-8) ... 254s Selecting previously unselected package dh-autoreconf. 254s Preparing to unpack .../048-dh-autoreconf_20_all.deb ... 254s Unpacking dh-autoreconf (20) ... 254s Selecting previously unselected package libarchive-zip-perl. 254s Preparing to unpack .../049-libarchive-zip-perl_1.68-1_all.deb ... 254s Unpacking libarchive-zip-perl (1.68-1) ... 254s Selecting previously unselected package libfile-stripnondeterminism-perl. 254s Preparing to unpack .../050-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 254s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 254s Selecting previously unselected package dh-strip-nondeterminism. 254s Preparing to unpack .../051-dh-strip-nondeterminism_1.14.0-1_all.deb ... 254s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 254s Selecting previously unselected package debugedit. 254s Preparing to unpack .../052-debugedit_1%3a5.1-1_armhf.deb ... 254s Unpacking debugedit (1:5.1-1) ... 254s Selecting previously unselected package dwz. 254s Preparing to unpack .../053-dwz_0.15-1build6_armhf.deb ... 254s Unpacking dwz (0.15-1build6) ... 254s Selecting previously unselected package gettext. 254s Preparing to unpack .../054-gettext_0.22.5-2_armhf.deb ... 254s Unpacking gettext (0.22.5-2) ... 254s Selecting previously unselected package intltool-debian. 254s Preparing to unpack .../055-intltool-debian_0.35.0+20060710.6_all.deb ... 254s Unpacking intltool-debian (0.35.0+20060710.6) ... 254s Selecting previously unselected package po-debconf. 254s Preparing to unpack .../056-po-debconf_1.0.21+nmu1_all.deb ... 254s Unpacking po-debconf (1.0.21+nmu1) ... 254s Selecting previously unselected package debhelper. 254s Preparing to unpack .../057-debhelper_13.20ubuntu1_all.deb ... 254s Unpacking debhelper (13.20ubuntu1) ... 254s Selecting previously unselected package dh-python. 254s Preparing to unpack .../058-dh-python_6.20241024_all.deb ... 254s Unpacking dh-python (6.20241024) ... 254s Selecting previously unselected package python3-mccabe. 255s Preparing to unpack .../059-python3-mccabe_0.7.0-1_all.deb ... 255s Unpacking python3-mccabe (0.7.0-1) ... 255s Selecting previously unselected package python3-pycodestyle. 255s Preparing to unpack .../060-python3-pycodestyle_2.12.1-1_all.deb ... 255s Unpacking python3-pycodestyle (2.12.1-1) ... 255s Selecting previously unselected package python3-pyflakes. 255s Preparing to unpack .../061-python3-pyflakes_3.2.0-2_all.deb ... 255s Unpacking python3-pyflakes (3.2.0-2) ... 255s Selecting previously unselected package python3-flake8. 255s Preparing to unpack .../062-python3-flake8_7.1.1-2_all.deb ... 255s Unpacking python3-flake8 (7.1.1-2) ... 255s Selecting previously unselected package flake8. 255s Preparing to unpack .../063-flake8_7.1.1-2_all.deb ... 255s Unpacking flake8 (7.1.1-2) ... 255s Selecting previously unselected package fontconfig. 255s Preparing to unpack .../064-fontconfig_2.15.0-1.1ubuntu2_armhf.deb ... 255s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 255s Selecting previously unselected package fonts-lyx. 255s Preparing to unpack .../065-fonts-lyx_2.4.2.1-1_all.deb ... 255s Unpacking fonts-lyx (2.4.2.1-1) ... 255s Selecting previously unselected package libavahi-common-data:armhf. 255s Preparing to unpack .../066-libavahi-common-data_0.8-13ubuntu6_armhf.deb ... 255s Unpacking libavahi-common-data:armhf (0.8-13ubuntu6) ... 255s Selecting previously unselected package libavahi-common3:armhf. 255s Preparing to unpack .../067-libavahi-common3_0.8-13ubuntu6_armhf.deb ... 255s Unpacking libavahi-common3:armhf (0.8-13ubuntu6) ... 255s Selecting previously unselected package libavahi-client3:armhf. 255s Preparing to unpack .../068-libavahi-client3_0.8-13ubuntu6_armhf.deb ... 255s Unpacking libavahi-client3:armhf (0.8-13ubuntu6) ... 255s Selecting previously unselected package libblas3:armhf. 255s Preparing to unpack .../069-libblas3_3.12.0-3build2_armhf.deb ... 255s Unpacking libblas3:armhf (3.12.0-3build2) ... 255s Selecting previously unselected package libcups2t64:armhf. 255s Preparing to unpack .../070-libcups2t64_2.4.10-1ubuntu2_armhf.deb ... 255s Unpacking libcups2t64:armhf (2.4.10-1ubuntu2) ... 255s Selecting previously unselected package libdeflate0:armhf. 255s Preparing to unpack .../071-libdeflate0_1.22-1_armhf.deb ... 255s Unpacking libdeflate0:armhf (1.22-1) ... 255s Selecting previously unselected package libdouble-conversion3:armhf. 255s Preparing to unpack .../072-libdouble-conversion3_3.3.0-1build1_armhf.deb ... 255s Unpacking libdouble-conversion3:armhf (3.3.0-1build1) ... 255s Selecting previously unselected package libdrm-amdgpu1:armhf. 255s Preparing to unpack .../073-libdrm-amdgpu1_2.4.123-1_armhf.deb ... 255s Unpacking libdrm-amdgpu1:armhf (2.4.123-1) ... 255s Selecting previously unselected package libdrm-radeon1:armhf. 255s Preparing to unpack .../074-libdrm-radeon1_2.4.123-1_armhf.deb ... 255s Unpacking libdrm-radeon1:armhf (2.4.123-1) ... 255s Selecting previously unselected package libwayland-server0:armhf. 255s Preparing to unpack .../075-libwayland-server0_1.23.0-1_armhf.deb ... 255s Unpacking libwayland-server0:armhf (1.23.0-1) ... 255s Selecting previously unselected package libxcb-randr0:armhf. 255s Preparing to unpack .../076-libxcb-randr0_1.17.0-2_armhf.deb ... 255s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 255s Selecting previously unselected package libglapi-mesa:armhf. 255s Preparing to unpack .../077-libglapi-mesa_24.2.3-1ubuntu1_armhf.deb ... 255s Unpacking libglapi-mesa:armhf (24.2.3-1ubuntu1) ... 255s Selecting previously unselected package libllvm19:armhf. 255s Preparing to unpack .../078-libllvm19_1%3a19.1.2-1ubuntu1_armhf.deb ... 255s Unpacking libllvm19:armhf (1:19.1.2-1ubuntu1) ... 256s Selecting previously unselected package libx11-xcb1:armhf. 256s Preparing to unpack .../079-libx11-xcb1_2%3a1.8.10-2_armhf.deb ... 256s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ... 256s Selecting previously unselected package libxcb-dri2-0:armhf. 256s Preparing to unpack .../080-libxcb-dri2-0_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ... 256s Selecting previously unselected package libxcb-dri3-0:armhf. 256s Preparing to unpack .../081-libxcb-dri3-0_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 256s Selecting previously unselected package libxcb-present0:armhf. 256s Preparing to unpack .../082-libxcb-present0_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-present0:armhf (1.17.0-2) ... 256s Selecting previously unselected package libxcb-sync1:armhf. 256s Preparing to unpack .../083-libxcb-sync1_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 256s Selecting previously unselected package libxcb-xfixes0:armhf. 256s Preparing to unpack .../084-libxcb-xfixes0_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 256s Selecting previously unselected package libxshmfence1:armhf. 256s Preparing to unpack .../085-libxshmfence1_1.3-1build5_armhf.deb ... 256s Unpacking libxshmfence1:armhf (1.3-1build5) ... 256s Selecting previously unselected package mesa-libgallium:armhf. 256s Preparing to unpack .../086-mesa-libgallium_24.2.3-1ubuntu1_armhf.deb ... 256s Unpacking mesa-libgallium:armhf (24.2.3-1ubuntu1) ... 256s Selecting previously unselected package libgbm1:armhf. 256s Preparing to unpack .../087-libgbm1_24.2.3-1ubuntu1_armhf.deb ... 256s Unpacking libgbm1:armhf (24.2.3-1ubuntu1) ... 256s Selecting previously unselected package libwayland-client0:armhf. 256s Preparing to unpack .../088-libwayland-client0_1.23.0-1_armhf.deb ... 256s Unpacking libwayland-client0:armhf (1.23.0-1) ... 256s Selecting previously unselected package libxcb-shm0:armhf. 256s Preparing to unpack .../089-libxcb-shm0_1.17.0-2_armhf.deb ... 256s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 256s Selecting previously unselected package libegl-mesa0:armhf. 256s Preparing to unpack .../090-libegl-mesa0_24.2.3-1ubuntu1_armhf.deb ... 256s Unpacking libegl-mesa0:armhf (24.2.3-1ubuntu1) ... 256s Selecting previously unselected package libgfortran5:armhf. 256s Preparing to unpack .../091-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 256s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 257s Selecting previously unselected package libgraphite2-3:armhf. 257s Preparing to unpack .../092-libgraphite2-3_1.3.14-2ubuntu1_armhf.deb ... 257s Unpacking libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 257s Selecting previously unselected package libharfbuzz0b:armhf. 257s Preparing to unpack .../093-libharfbuzz0b_10.0.1-1_armhf.deb ... 257s Unpacking libharfbuzz0b:armhf (10.0.1-1) ... 257s Selecting previously unselected package libice6:armhf. 257s Preparing to unpack .../094-libice6_2%3a1.1.1-1_armhf.deb ... 257s Unpacking libice6:armhf (2:1.1.1-1) ... 257s Selecting previously unselected package libimagequant0:armhf. 257s Preparing to unpack .../095-libimagequant0_2.18.0-1build1_armhf.deb ... 257s Unpacking libimagequant0:armhf (2.18.0-1build1) ... 257s Selecting previously unselected package libwacom-common. 257s Preparing to unpack .../096-libwacom-common_2.13.0-1_all.deb ... 257s Unpacking libwacom-common (2.13.0-1) ... 257s Selecting previously unselected package libwacom9:armhf. 257s Preparing to unpack .../097-libwacom9_2.13.0-1_armhf.deb ... 257s Unpacking libwacom9:armhf (2.13.0-1) ... 257s Selecting previously unselected package libinput-bin. 257s Preparing to unpack .../098-libinput-bin_1.26.2-1_armhf.deb ... 257s Unpacking libinput-bin (1.26.2-1) ... 257s Selecting previously unselected package libmtdev1t64:armhf. 257s Preparing to unpack .../099-libmtdev1t64_1.1.6-1.2_armhf.deb ... 257s Unpacking libmtdev1t64:armhf (1.1.6-1.2) ... 257s Selecting previously unselected package libinput10:armhf. 257s Preparing to unpack .../100-libinput10_1.26.2-1_armhf.deb ... 257s Unpacking libinput10:armhf (1.26.2-1) ... 257s Selecting previously unselected package libjpeg-turbo8:armhf. 257s Preparing to unpack .../101-libjpeg-turbo8_2.1.5-3ubuntu2_armhf.deb ... 257s Unpacking libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 257s Selecting previously unselected package libjpeg8:armhf. 257s Preparing to unpack .../102-libjpeg8_8c-2ubuntu11_armhf.deb ... 257s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 257s Selecting previously unselected package libjs-jquery. 257s Preparing to unpack .../103-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 257s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 257s Selecting previously unselected package libjs-jquery-ui. 257s Preparing to unpack .../104-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... 257s Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... 257s Selecting previously unselected package libjs-underscore. 257s Preparing to unpack .../105-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 257s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 257s Selecting previously unselected package libjs-sphinxdoc. 257s Preparing to unpack .../106-libjs-sphinxdoc_7.4.7-4_all.deb ... 257s Unpacking libjs-sphinxdoc (7.4.7-4) ... 257s Selecting previously unselected package liblapack3:armhf. 257s Preparing to unpack .../107-liblapack3_3.12.0-3build2_armhf.deb ... 257s Unpacking liblapack3:armhf (3.12.0-3build2) ... 258s Selecting previously unselected package liblbfgsb0:armhf. 258s Preparing to unpack .../108-liblbfgsb0_3.0+dfsg.4-1build1_armhf.deb ... 258s Unpacking liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 258s Selecting previously unselected package liblcms2-2:armhf. 258s Preparing to unpack .../109-liblcms2-2_2.16-2_armhf.deb ... 258s Unpacking liblcms2-2:armhf (2.16-2) ... 258s Selecting previously unselected package liblerc4:armhf. 258s Preparing to unpack .../110-liblerc4_4.0.0+ds-5ubuntu1_armhf.deb ... 258s Unpacking liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 258s Selecting previously unselected package libmd4c0:armhf. 258s Preparing to unpack .../111-libmd4c0_0.5.2-2_armhf.deb ... 258s Unpacking libmd4c0:armhf (0.5.2-2) ... 258s Selecting previously unselected package libpcre2-16-0:armhf. 258s Preparing to unpack .../112-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 258s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 258s Selecting previously unselected package libpython3.12t64:armhf. 258s Preparing to unpack .../113-libpython3.12t64_3.12.7-3_armhf.deb ... 258s Unpacking libpython3.12t64:armhf (3.12.7-3) ... 258s Selecting previously unselected package libpython3.13-stdlib:armhf. 258s Preparing to unpack .../114-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 258s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 258s Selecting previously unselected package libqhull-r8.0:armhf. 258s Preparing to unpack .../115-libqhull-r8.0_2020.2-6build1_armhf.deb ... 258s Unpacking libqhull-r8.0:armhf (2020.2-6build1) ... 258s Selecting previously unselected package libqt5core5t64:armhf. 258s Preparing to unpack .../116-libqt5core5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 258s Unpacking libqt5core5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 258s Selecting previously unselected package libqt5dbus5t64:armhf. 258s Preparing to unpack .../117-libqt5dbus5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 258s Unpacking libqt5dbus5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 258s Selecting previously unselected package libglvnd0:armhf. 258s Preparing to unpack .../118-libglvnd0_1.7.0-1build1_armhf.deb ... 258s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 258s Selecting previously unselected package libegl1:armhf. 258s Preparing to unpack .../119-libegl1_1.7.0-1build1_armhf.deb ... 258s Unpacking libegl1:armhf (1.7.0-1build1) ... 258s Selecting previously unselected package libgles2:armhf. 258s Preparing to unpack .../120-libgles2_1.7.0-1build1_armhf.deb ... 258s Unpacking libgles2:armhf (1.7.0-1build1) ... 258s Selecting previously unselected package libqt5network5t64:armhf. 258s Preparing to unpack .../121-libqt5network5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 258s Unpacking libqt5network5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 258s Selecting previously unselected package libsm6:armhf. 258s Preparing to unpack .../122-libsm6_2%3a1.2.4-1_armhf.deb ... 258s Unpacking libsm6:armhf (2:1.2.4-1) ... 258s Selecting previously unselected package libxcb-icccm4:armhf. 258s Preparing to unpack .../123-libxcb-icccm4_0.4.2-1_armhf.deb ... 258s Unpacking libxcb-icccm4:armhf (0.4.2-1) ... 258s Selecting previously unselected package libxcb-util1:armhf. 258s Preparing to unpack .../124-libxcb-util1_0.4.0-1build3_armhf.deb ... 258s Unpacking libxcb-util1:armhf (0.4.0-1build3) ... 258s Selecting previously unselected package libxcb-image0:armhf. 258s Preparing to unpack .../125-libxcb-image0_0.4.0-2build1_armhf.deb ... 258s Unpacking libxcb-image0:armhf (0.4.0-2build1) ... 258s Selecting previously unselected package libxcb-keysyms1:armhf. 258s Preparing to unpack .../126-libxcb-keysyms1_0.4.0-1build4_armhf.deb ... 258s Unpacking libxcb-keysyms1:armhf (0.4.0-1build4) ... 258s Selecting previously unselected package libxcb-render0:armhf. 258s Preparing to unpack .../127-libxcb-render0_1.17.0-2_armhf.deb ... 258s Unpacking libxcb-render0:armhf (1.17.0-2) ... 258s Selecting previously unselected package libxcb-render-util0:armhf. 258s Preparing to unpack .../128-libxcb-render-util0_0.3.9-1build4_armhf.deb ... 258s Unpacking libxcb-render-util0:armhf (0.3.9-1build4) ... 258s Selecting previously unselected package libxcb-shape0:armhf. 258s Preparing to unpack .../129-libxcb-shape0_1.17.0-2_armhf.deb ... 258s Unpacking libxcb-shape0:armhf (1.17.0-2) ... 258s Selecting previously unselected package libxcb-xinerama0:armhf. 258s Preparing to unpack .../130-libxcb-xinerama0_1.17.0-2_armhf.deb ... 258s Unpacking libxcb-xinerama0:armhf (1.17.0-2) ... 258s Selecting previously unselected package libxcb-xinput0:armhf. 258s Preparing to unpack .../131-libxcb-xinput0_1.17.0-2_armhf.deb ... 258s Unpacking libxcb-xinput0:armhf (1.17.0-2) ... 259s Selecting previously unselected package libxcb-xkb1:armhf. 259s Preparing to unpack .../132-libxcb-xkb1_1.17.0-2_armhf.deb ... 259s Unpacking libxcb-xkb1:armhf (1.17.0-2) ... 259s Selecting previously unselected package libxkbcommon-x11-0:armhf. 259s Preparing to unpack .../133-libxkbcommon-x11-0_1.7.0-1_armhf.deb ... 259s Unpacking libxkbcommon-x11-0:armhf (1.7.0-1) ... 259s Selecting previously unselected package libqt5gui5t64:armhf. 259s Preparing to unpack .../134-libqt5gui5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5gui5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libqt5widgets5t64:armhf. 259s Preparing to unpack .../135-libqt5widgets5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5widgets5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libqt5xml5t64:armhf. 259s Preparing to unpack .../136-libqt5xml5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5xml5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libqt5designer5:armhf. 259s Preparing to unpack .../137-libqt5designer5_5.15.15-2_armhf.deb ... 259s Unpacking libqt5designer5:armhf (5.15.15-2) ... 259s Selecting previously unselected package libqt5sql5t64:armhf. 259s Preparing to unpack .../138-libqt5sql5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5sql5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libqt5help5:armhf. 259s Preparing to unpack .../139-libqt5help5_5.15.15-2_armhf.deb ... 259s Unpacking libqt5help5:armhf (5.15.15-2) ... 259s Selecting previously unselected package libqt5printsupport5t64:armhf. 259s Preparing to unpack .../140-libqt5printsupport5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5printsupport5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libqt5test5t64:armhf. 259s Preparing to unpack .../141-libqt5test5t64_5.15.15+dfsg-1ubuntu1_armhf.deb ... 259s Unpacking libqt5test5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 259s Selecting previously unselected package libraqm0:armhf. 259s Preparing to unpack .../142-libraqm0_0.10.1-1build1_armhf.deb ... 259s Unpacking libraqm0:armhf (0.10.1-1build1) ... 259s Selecting previously unselected package libsharpyuv0:armhf. 259s Preparing to unpack .../143-libsharpyuv0_1.4.0-0.1_armhf.deb ... 259s Unpacking libsharpyuv0:armhf (1.4.0-0.1) ... 259s Selecting previously unselected package libjbig0:armhf. 259s Preparing to unpack .../144-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 259s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 259s Selecting previously unselected package libwebp7:armhf. 259s Preparing to unpack .../145-libwebp7_1.4.0-0.1_armhf.deb ... 259s Unpacking libwebp7:armhf (1.4.0-0.1) ... 259s Selecting previously unselected package libtiff6:armhf. 259s Preparing to unpack .../146-libtiff6_4.5.1+git230720-4ubuntu4_armhf.deb ... 259s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 259s Selecting previously unselected package libwebpdemux2:armhf. 259s Preparing to unpack .../147-libwebpdemux2_1.4.0-0.1_armhf.deb ... 259s Unpacking libwebpdemux2:armhf (1.4.0-0.1) ... 259s Selecting previously unselected package libwebpmux3:armhf. 259s Preparing to unpack .../148-libwebpmux3_1.4.0-0.1_armhf.deb ... 259s Unpacking libwebpmux3:armhf (1.4.0-0.1) ... 259s Selecting previously unselected package libxslt1.1:armhf. 259s Preparing to unpack .../149-libxslt1.1_1.1.39-0exp1ubuntu1_armhf.deb ... 259s Unpacking libxslt1.1:armhf (1.1.39-0exp1ubuntu1) ... 259s Selecting previously unselected package pybuild-plugin-autopkgtest. 259s Preparing to unpack .../150-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 259s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 259s Selecting previously unselected package python3-importlib-metadata. 259s Preparing to unpack .../151-python3-importlib-metadata_8.5.0-1_all.deb ... 259s Unpacking python3-importlib-metadata (8.5.0-1) ... 259s Selecting previously unselected package python3-packaging. 259s Preparing to unpack .../152-python3-packaging_24.2-1_all.deb ... 259s Unpacking python3-packaging (24.2-1) ... 259s Selecting previously unselected package python3-pyproject-hooks. 259s Preparing to unpack .../153-python3-pyproject-hooks_1.2.0-1_all.deb ... 259s Unpacking python3-pyproject-hooks (1.2.0-1) ... 259s Selecting previously unselected package python3-tomli. 259s Preparing to unpack .../154-python3-tomli_2.0.1-2_all.deb ... 259s Unpacking python3-tomli (2.0.1-2) ... 259s Selecting previously unselected package python3-toml. 259s Preparing to unpack .../155-python3-toml_0.10.2-1_all.deb ... 259s Unpacking python3-toml (0.10.2-1) ... 259s Selecting previously unselected package python3-wheel. 259s Preparing to unpack .../156-python3-wheel_0.45.0-1_all.deb ... 259s Unpacking python3-wheel (0.45.0-1) ... 259s Selecting previously unselected package python3-build. 259s Preparing to unpack .../157-python3-build_1.2.2-1_all.deb ... 259s Unpacking python3-build (1.2.2-1) ... 259s Selecting previously unselected package python3-installer. 259s Preparing to unpack .../158-python3-installer_0.7.0+dfsg1-3_all.deb ... 259s Unpacking python3-installer (0.7.0+dfsg1-3) ... 259s Selecting previously unselected package pybuild-plugin-pyproject. 259s Preparing to unpack .../159-pybuild-plugin-pyproject_6.20241024_all.deb ... 259s Unpacking pybuild-plugin-pyproject (6.20241024) ... 260s Selecting previously unselected package python3-astroid. 260s Preparing to unpack .../160-python3-astroid_3.3.5-1_all.deb ... 260s Unpacking python3-astroid (3.3.5-1) ... 260s Selecting previously unselected package python3-isort. 260s Preparing to unpack .../161-python3-isort_5.13.2-2_all.deb ... 260s Unpacking python3-isort (5.13.2-2) ... 260s Selecting previously unselected package python3-mypy-extensions. 260s Preparing to unpack .../162-python3-mypy-extensions_1.0.0-1_all.deb ... 260s Unpacking python3-mypy-extensions (1.0.0-1) ... 260s Selecting previously unselected package python3-logilab-common. 260s Preparing to unpack .../163-python3-logilab-common_2.0.0-1_all.deb ... 260s Unpacking python3-logilab-common (2.0.0-1) ... 260s Selecting previously unselected package python3-dill. 260s Preparing to unpack .../164-python3-dill_0.3.9-1_all.deb ... 260s Unpacking python3-dill (0.3.9-1) ... 260s Selecting previously unselected package python3-platformdirs. 260s Preparing to unpack .../165-python3-platformdirs_4.3.6-1_all.deb ... 260s Unpacking python3-platformdirs (4.3.6-1) ... 260s Selecting previously unselected package python3-tomlkit. 260s Preparing to unpack .../166-python3-tomlkit_0.13.2-1_all.deb ... 260s Unpacking python3-tomlkit (0.13.2-1) ... 260s Selecting previously unselected package pylint. 260s Preparing to unpack .../167-pylint_3.3.1-2_all.deb ... 260s Unpacking pylint (3.3.1-2) ... 260s Selecting previously unselected package python-matplotlib-data. 260s Preparing to unpack .../168-python-matplotlib-data_3.8.3-3ubuntu1_all.deb ... 260s Unpacking python-matplotlib-data (3.8.3-3ubuntu1) ... 260s Selecting previously unselected package python3.13. 260s Preparing to unpack .../169-python3.13_3.13.0-2_armhf.deb ... 260s Unpacking python3.13 (3.13.0-2) ... 260s Selecting previously unselected package python3-all. 260s Preparing to unpack .../170-python3-all_3.12.7-1_armhf.deb ... 260s Unpacking python3-all (3.12.7-1) ... 260s Selecting previously unselected package python3-appdirs. 260s Preparing to unpack .../171-python3-appdirs_1.4.4-4_all.deb ... 260s Unpacking python3-appdirs (1.4.4-4) ... 260s Selecting previously unselected package python3-pep8. 260s Preparing to unpack .../172-python3-pep8_1.7.1-11ubuntu1_all.deb ... 260s Unpacking python3-pep8 (1.7.1-11ubuntu1) ... 260s Selecting previously unselected package python3-autopep8. 260s Preparing to unpack .../173-python3-autopep8_2.3.1-2_all.deb ... 260s Unpacking python3-autopep8 (2.3.1-2) ... 260s Selecting previously unselected package python3-brotli. 260s Preparing to unpack .../174-python3-brotli_1.1.0-2build3_armhf.deb ... 260s Unpacking python3-brotli (1.1.0-2build3) ... 260s Selecting previously unselected package python3-numpy. 260s Preparing to unpack .../175-python3-numpy_1%3a1.26.4+ds-11ubuntu1_armhf.deb ... 260s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 260s Selecting previously unselected package python3-contourpy. 260s Preparing to unpack .../176-python3-contourpy_1.3.0-2build1_armhf.deb ... 260s Unpacking python3-contourpy (1.3.0-2build1) ... 260s Selecting previously unselected package python3-cycler. 260s Preparing to unpack .../177-python3-cycler_0.12.1-1_all.deb ... 260s Unpacking python3-cycler (0.12.1-1) ... 260s Selecting previously unselected package python3-dateutil. 260s Preparing to unpack .../178-python3-dateutil_2.9.0-3_all.deb ... 260s Unpacking python3-dateutil (2.9.0-3) ... 260s Selecting previously unselected package python3-decorator. 261s Preparing to unpack .../179-python3-decorator_5.1.1-5_all.deb ... 261s Unpacking python3-decorator (5.1.1-5) ... 261s Selecting previously unselected package python3-docstring-to-markdown. 261s Preparing to unpack .../180-python3-docstring-to-markdown_0.15-1_all.deb ... 261s Unpacking python3-docstring-to-markdown (0.15-1) ... 261s Selecting previously unselected package python3-flaky. 261s Preparing to unpack .../181-python3-flaky_3.8.1-2_all.deb ... 261s Unpacking python3-flaky (3.8.1-2) ... 261s Selecting previously unselected package python3-tz. 261s Preparing to unpack .../182-python3-tz_2024.1-2_all.deb ... 261s Unpacking python3-tz (2024.1-2) ... 261s Selecting previously unselected package python3-six. 261s Preparing to unpack .../183-python3-six_1.16.0-7_all.deb ... 261s Unpacking python3-six (1.16.0-7) ... 261s Selecting previously unselected package python3-fs. 261s Preparing to unpack .../184-python3-fs_2.4.16-4_all.deb ... 261s Unpacking python3-fs (2.4.16-4) ... 261s Selecting previously unselected package python3-lxml:armhf. 261s Preparing to unpack .../185-python3-lxml_5.3.0-1build1_armhf.deb ... 261s Unpacking python3-lxml:armhf (5.3.0-1build1) ... 261s Selecting previously unselected package python3-lz4. 261s Preparing to unpack .../186-python3-lz4_4.0.2+dfsg-1build5_armhf.deb ... 261s Unpacking python3-lz4 (4.0.2+dfsg-1build5) ... 261s Selecting previously unselected package python3-scipy. 261s Preparing to unpack .../187-python3-scipy_1.13.1-5ubuntu1_armhf.deb ... 261s Unpacking python3-scipy (1.13.1-5ubuntu1) ... 261s Selecting previously unselected package python3-mpmath. 261s Preparing to unpack .../188-python3-mpmath_1.3.0-1_all.deb ... 261s Unpacking python3-mpmath (1.3.0-1) ... 261s Selecting previously unselected package python3-sympy. 262s Preparing to unpack .../189-python3-sympy_1.13.3-1_all.deb ... 262s Unpacking python3-sympy (1.13.3-1) ... 262s Selecting previously unselected package python3-ufolib2. 262s Preparing to unpack .../190-python3-ufolib2_0.16.1+dfsg1-1_all.deb ... 262s Unpacking python3-ufolib2 (0.16.1+dfsg1-1) ... 262s Selecting previously unselected package unicode-data. 262s Preparing to unpack .../191-unicode-data_15.1.0-1_all.deb ... 262s Unpacking unicode-data (15.1.0-1) ... 262s Selecting previously unselected package python3-fonttools. 262s Preparing to unpack .../192-python3-fonttools_4.55.0-3_armhf.deb ... 262s Unpacking python3-fonttools (4.55.0-3) ... 262s Selecting previously unselected package python3-iniconfig. 262s Preparing to unpack .../193-python3-iniconfig_1.1.1-2_all.deb ... 262s Unpacking python3-iniconfig (1.1.1-2) ... 262s Selecting previously unselected package python3-parso. 262s Preparing to unpack .../194-python3-parso_0.8.3-1_all.deb ... 262s Unpacking python3-parso (0.8.3-1) ... 262s Selecting previously unselected package python3-typeshed. 262s Preparing to unpack .../195-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 262s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 263s Selecting previously unselected package python3-jedi. 263s Preparing to unpack .../196-python3-jedi_0.19.1+ds1-1_all.deb ... 263s Unpacking python3-jedi (0.19.1+ds1-1) ... 263s Selecting previously unselected package python3-kiwisolver. 263s Preparing to unpack .../197-python3-kiwisolver_1.4.7-2build1_armhf.deb ... 263s Unpacking python3-kiwisolver (1.4.7-2build1) ... 263s Selecting previously unselected package libopenjp2-7:armhf. 263s Preparing to unpack .../198-libopenjp2-7_2.5.0-2ubuntu1_armhf.deb ... 263s Unpacking libopenjp2-7:armhf (2.5.0-2ubuntu1) ... 263s Selecting previously unselected package python3-pil:armhf. 263s Preparing to unpack .../199-python3-pil_10.4.0-1ubuntu2_armhf.deb ... 263s Unpacking python3-pil:armhf (10.4.0-1ubuntu2) ... 263s Selecting previously unselected package python3.12-tk. 263s Preparing to unpack .../200-python3.12-tk_3.12.7-3_armhf.deb ... 263s Unpacking python3.12-tk (3.12.7-3) ... 263s Selecting previously unselected package python3.13-tk. 263s Preparing to unpack .../201-python3.13-tk_3.13.0-2_armhf.deb ... 263s Unpacking python3.13-tk (3.13.0-2) ... 263s Selecting previously unselected package python3-tk:armhf. 263s Preparing to unpack .../202-python3-tk_3.12.7-1_armhf.deb ... 263s Unpacking python3-tk:armhf (3.12.7-1) ... 263s Selecting previously unselected package python3-pil.imagetk:armhf. 263s Preparing to unpack .../203-python3-pil.imagetk_10.4.0-1ubuntu2_armhf.deb ... 263s Unpacking python3-pil.imagetk:armhf (10.4.0-1ubuntu2) ... 264s Selecting previously unselected package python3-matplotlib. 264s Preparing to unpack .../204-python3-matplotlib_3.8.3-3ubuntu1_armhf.deb ... 264s Unpacking python3-matplotlib (3.8.3-3ubuntu1) ... 264s Selecting previously unselected package python3-pandas-lib:armhf. 264s Preparing to unpack .../205-python3-pandas-lib_2.2.3+dfsg-5ubuntu1_armhf.deb ... 264s Unpacking python3-pandas-lib:armhf (2.2.3+dfsg-5ubuntu1) ... 264s Selecting previously unselected package python3-pandas. 264s Preparing to unpack .../206-python3-pandas_2.2.3+dfsg-5ubuntu1_all.deb ... 264s Unpacking python3-pandas (2.2.3+dfsg-5ubuntu1) ... 264s Selecting previously unselected package python3-pluggy. 264s Preparing to unpack .../207-python3-pluggy_1.5.0-1_all.deb ... 264s Unpacking python3-pluggy (1.5.0-1) ... 264s Selecting previously unselected package python3-snowballstemmer. 264s Preparing to unpack .../208-python3-snowballstemmer_2.2.0-4build1_all.deb ... 264s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 264s Selecting previously unselected package python3-pydocstyle. 264s Preparing to unpack .../209-python3-pydocstyle_6.3.0-1.1_all.deb ... 264s Unpacking python3-pydocstyle (6.3.0-1.1) ... 264s Selecting previously unselected package python3-ujson:armhf. 264s Preparing to unpack .../210-python3-ujson_5.10.0-1build1_armhf.deb ... 264s Unpacking python3-ujson:armhf (5.10.0-1build1) ... 264s Selecting previously unselected package python3-pylsp-jsonrpc. 264s Preparing to unpack .../211-python3-pylsp-jsonrpc_1.1.2-1_all.deb ... 264s Unpacking python3-pylsp-jsonrpc (1.1.2-1) ... 264s Selecting previously unselected package python3-pylsp. 264s Preparing to unpack .../212-python3-pylsp_1.10.1-1_all.deb ... 264s Unpacking python3-pylsp (1.10.1-1) ... 264s Selecting previously unselected package python3-pyqt5.sip. 264s Preparing to unpack .../213-python3-pyqt5.sip_12.15.0-1build1_armhf.deb ... 264s Unpacking python3-pyqt5.sip (12.15.0-1build1) ... 265s Selecting previously unselected package python3-pyqt5. 265s Preparing to unpack .../214-python3-pyqt5_5.15.11+dfsg-1build1_armhf.deb ... 265s Unpacking python3-pyqt5 (5.15.11+dfsg-1build1) ... 265s Selecting previously unselected package python3-pytest. 265s Preparing to unpack .../215-python3-pytest_8.3.3-1_all.deb ... 265s Unpacking python3-pytest (8.3.3-1) ... 265s Selecting previously unselected package python3-pytoolconfig. 265s Preparing to unpack .../216-python3-pytoolconfig_1.3.1-2_all.deb ... 265s Unpacking python3-pytoolconfig (1.3.1-2) ... 265s Selecting previously unselected package python3-rope. 265s Preparing to unpack .../217-python3-rope_1.13.0-2_all.deb ... 265s Unpacking python3-rope (1.13.0-2) ... 265s Selecting previously unselected package python3-setuptools-scm. 265s Preparing to unpack .../218-python3-setuptools-scm_8.1.0-1_all.deb ... 265s Unpacking python3-setuptools-scm (8.1.0-1) ... 265s Selecting previously unselected package python3-yapf. 265s Preparing to unpack .../219-python3-yapf_0.40.2-1_all.deb ... 265s Unpacking python3-yapf (0.40.2-1) ... 265s Selecting previously unselected package python3-whatthepatch. 265s Preparing to unpack .../220-python3-whatthepatch_1.0.7-1_all.deb ... 265s Unpacking python3-whatthepatch (1.0.7-1) ... 265s Selecting previously unselected package autopkgtest-satdep. 265s Preparing to unpack .../221-1-autopkgtest-satdep.deb ... 265s Unpacking autopkgtest-satdep (0) ... 265s Setting up dh-python (6.20241024) ... 265s Setting up libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 265s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 265s Setting up liblcms2-2:armhf (2.16-2) ... 265s Setting up python3-iniconfig (1.1.1-2) ... 266s Setting up libllvm19:armhf (1:19.1.2-1ubuntu1) ... 266s Setting up libsharpyuv0:armhf (1.4.0-0.1) ... 266s Setting up libwayland-server0:armhf (1.23.0-1) ... 266s Setting up libx11-xcb1:armhf (2:1.8.10-2) ... 266s Setting up libdouble-conversion3:armhf (3.3.0-1build1) ... 266s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 266s Setting up liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 266s Setting up python3-importlib-metadata (8.5.0-1) ... 266s Setting up python3-tomli (2.0.1-2) ... 266s Setting up libxcb-xinput0:armhf (1.17.0-2) ... 266s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 266s Setting up python3-parso (0.8.3-1) ... 266s Setting up python3-lz4 (4.0.2+dfsg-1build5) ... 266s Setting up libxcb-render0:armhf (1.17.0-2) ... 266s Setting up libarchive-zip-perl (1.68-1) ... 266s Setting up libdrm-radeon1:armhf (2.4.123-1) ... 266s Setting up libglvnd0:armhf (1.7.0-1build1) ... 266s Setting up fonts-lyx (2.4.2.1-1) ... 266s Setting up python3-mypy-extensions (1.0.0-1) ... 266s Setting up libdebhelper-perl (13.20ubuntu1) ... 266s Setting up python3-pyflakes (3.2.0-2) ... 267s Setting up libxcb-keysyms1:armhf (0.4.0-1build4) ... 267s Setting up libxcb-shape0:armhf (1.17.0-2) ... 267s Setting up x11-common (1:7.7+23ubuntu3) ... 267s Setting up libdeflate0:armhf (1.22-1) ... 267s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 267s Setting up m4 (1.4.19-4build1) ... 267s Setting up libqhull-r8.0:armhf (2020.2-6build1) ... 267s Setting up libxcb-render-util0:armhf (0.3.9-1build4) ... 267s Setting up libxcb-shm0:armhf (1.17.0-2) ... 267s Setting up libxcb-icccm4:armhf (0.4.2-1) ... 267s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 267s Setting up python3-wheel (0.45.0-1) ... 267s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 267s Setting up python3-ujson:armhf (5.10.0-1build1) ... 267s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 267s Setting up python3-platformdirs (4.3.6-1) ... 267s Setting up python3-tz (2024.1-2) ... 267s Setting up libxcb-util1:armhf (0.4.0-1build3) ... 267s Setting up libxcb-xkb1:armhf (1.17.0-2) ... 267s Setting up libxcb-image0:armhf (0.4.0-2build1) ... 267s Setting up libxcb-present0:armhf (1.17.0-2) ... 267s Setting up unicode-data (15.1.0-1) ... 267s Setting up python3-yapf (0.40.2-1) ... 268s Setting up python3-six (1.16.0-7) ... 268s Setting up libpython3.12t64:armhf (3.12.7-3) ... 268s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 268s Setting up libqt5core5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 268s Setting up python3-decorator (5.1.1-5) ... 268s Setting up python3-pycodestyle (2.12.1-1) ... 269s Setting up autotools-dev (20220109.1) ... 269s Setting up libblas3:armhf (3.12.0-3build2) ... 269s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 269s Setting up python3-packaging (24.2-1) ... 269s Setting up libxcb-xinerama0:armhf (1.17.0-2) ... 269s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 269s Setting up libgles2:armhf (1.7.0-1build1) ... 269s Setting up python3-flaky (3.8.1-2) ... 269s Setting up python3-pyproject-hooks (1.2.0-1) ... 269s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 269s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 269s Setting up libxcb-sync1:armhf (1.17.0-2) ... 269s Setting up python3-snowballstemmer (2.2.0-4build1) ... 270s Setting up python3-dill (0.3.9-1) ... 270s Setting up python3-brotli (1.1.0-2build3) ... 270s Setting up libavahi-common-data:armhf (0.8-13ubuntu6) ... 270s Setting up python3-cycler (0.12.1-1) ... 271s Setting up libimagequant0:armhf (2.18.0-1build1) ... 271s Setting up libxkbcommon-x11-0:armhf (1.7.0-1) ... 271s Setting up fonts-dejavu-mono (2.37-8) ... 271s Setting up python3-kiwisolver (1.4.7-2build1) ... 271s Setting up libmpc3:armhf (1.3.1-1build2) ... 271s Setting up libtcl8.6:armhf (8.6.15+dfsg-2) ... 271s Setting up autopoint (0.22.5-2) ... 271s Setting up fonts-dejavu-core (2.37-8) ... 271s Setting up python3-whatthepatch (1.0.7-1) ... 271s Setting up libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 271s Setting up libglapi-mesa:armhf (24.2.3-1ubuntu1) ... 271s Setting up python3-toml (0.10.2-1) ... 271s Setting up python3-installer (0.7.0+dfsg1-3) ... 271s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 271s Setting up autoconf (2.72-3) ... 271s Setting up python3-isort (5.13.2-2) ... 272s Setting up python3-pluggy (1.5.0-1) ... 272s Setting up libwebp7:armhf (1.4.0-0.1) ... 272s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 272s Setting up libxcb-dri2-0:armhf (1.17.0-2) ... 272s Setting up python3-pyqt5.sip (12.15.0-1build1) ... 272s Setting up dwz (0.15-1build6) ... 272s Setting up libmtdev1t64:armhf (1.1.6-1.2) ... 272s Setting up python3-astroid (3.3.5-1) ... 273s Setting up libxshmfence1:armhf (1.3-1build5) ... 273s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 273s Setting up libxcb-randr0:armhf (1.17.0-2) ... 273s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 273s Setting up libxslt1.1:armhf (1.1.39-0exp1ubuntu1) ... 273s Setting up libqt5sql5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 273s Setting up debugedit (1:5.1-1) ... 273s Setting up libmd4c0:armhf (0.5.2-2) ... 273s Setting up python3-pydocstyle (6.3.0-1.1) ... 273s Setting up libopenjp2-7:armhf (2.5.0-2ubuntu1) ... 273s Setting up python3.13-minimal (3.13.0-2) ... 274s Setting up libharfbuzz0b:armhf (10.0.1-1) ... 274s Setting up python3-dateutil (2.9.0-3) ... 274s Setting up python3-mccabe (0.7.0-1) ... 274s Setting up libxss1:armhf (1:1.2.3-1build3) ... 274s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 274s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 274s Setting up python3-mpmath (1.3.0-1) ... 275s Setting up libisl23:armhf (0.27-1) ... 275s Setting up python3-build (1.2.2-1) ... 275s Setting up libc-dev-bin (2.40-1ubuntu3) ... 275s Setting up python3-docstring-to-markdown (0.15-1) ... 276s Setting up python-matplotlib-data (3.8.3-3ubuntu1) ... 276s Setting up python3-tomlkit (0.13.2-1) ... 276s Setting up libwebpmux3:armhf (1.4.0-0.1) ... 276s Setting up python3-appdirs (1.4.4-4) ... 276s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 276s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 276s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 276s Setting up python3-pep8 (1.7.1-11ubuntu1) ... 276s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 276s Setting up libdrm-amdgpu1:armhf (2.4.123-1) ... 276s Setting up libwacom-common (2.13.0-1) ... 276s Setting up libwayland-client0:armhf (1.23.0-1) ... 276s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 276s Setting up automake (1:1.16.5-1.3ubuntu1) ... 276s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 276s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 276s Setting up python3-sympy (1.13.3-1) ... 290s Setting up libice6:armhf (2:1.1.1-1) ... 290s Setting up mesa-libgallium:armhf (24.2.3-1ubuntu1) ... 290s Setting up liblapack3:armhf (3.12.0-3build2) ... 290s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 290s Setting up libqt5dbus5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 290s Setting up gettext (0.22.5-2) ... 290s Setting up python3-jedi (0.19.1+ds1-1) ... 291s Setting up libgbm1:armhf (24.2.3-1ubuntu1) ... 291s Setting up python3.13 (3.13.0-2) ... 292s Setting up libwacom9:armhf (2.13.0-1) ... 292s Setting up pybuild-plugin-pyproject (6.20241024) ... 292s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 292s Setting up python3-pytest (8.3.3-1) ... 293s Setting up libwebpdemux2:armhf (1.4.0-0.1) ... 293s Setting up libqt5network5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 293s Setting up libavahi-common3:armhf (0.8-13ubuntu6) ... 293s Setting up python3-autopep8 (2.3.1-2) ... 293s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 293s Setting up libqt5xml5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 293s Setting up python3-all (3.12.7-1) ... 293s Setting up python3-pylsp-jsonrpc (1.1.2-1) ... 293s Setting up libqt5test5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 293s Setting up python3-pytoolconfig (1.3.1-2) ... 294s Setting up python3-setuptools-scm (8.1.0-1) ... 294s Setting up libinput-bin (1.26.2-1) ... 294s Setting up intltool-debian (0.35.0+20060710.6) ... 294s Setting up python3-flake8 (7.1.1-2) ... 294s Setting up python3-fs (2.4.16-4) ... 294s Setting up libegl-mesa0:armhf (24.2.3-1ubuntu1) ... 294s Setting up python3-pylsp (1.10.1-1) ... 295s Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... 295s Setting up python3-rope (1.13.0-2) ... 295s Setting up libraqm0:armhf (0.10.1-1build1) ... 295s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 299s Setting up libjs-sphinxdoc (7.4.7-4) ... 299s Setting up cpp-14 (14.2.0-8ubuntu1) ... 299s Setting up dh-strip-nondeterminism (1.14.0-1) ... 299s Setting up python3-lxml:armhf (5.3.0-1build1) ... 299s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 299s Setting up libegl1:armhf (1.7.0-1build1) ... 299s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 299s Setting up python3-contourpy (1.3.0-2build1) ... 300s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 300s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 300s Setting up libsm6:armhf (2:1.2.4-1) ... 300s Setting up libavahi-client3:armhf (0.8-13ubuntu6) ... 300s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 300s Setting up liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 300s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 300s Setting up libinput10:armhf (1.26.2-1) ... 300s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 300s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 302s Regenerating fonts cache... done. 302s Setting up libxft2:armhf (2.3.6-1build1) ... 302s Setting up python3-scipy (1.13.1-5ubuntu1) ... 309s Setting up python3-logilab-common (2.0.0-1) ... 309s Setting up po-debconf (1.0.21+nmu1) ... 309s Setting up libtk8.6:armhf (8.6.15-1) ... 309s Setting up python3-pandas-lib:armhf (2.2.3+dfsg-5ubuntu1) ... 309s Setting up python3.12-tk (3.12.7-3) ... 309s Setting up flake8 (7.1.1-2) ... 309s Setting up python3.13-tk (3.13.0-2) ... 309s Setting up gcc-14 (14.2.0-8ubuntu1) ... 309s Setting up python3-pil:armhf (10.4.0-1ubuntu2) ... 310s Setting up libqt5gui5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 310s Setting up python3-pandas (2.2.3+dfsg-5ubuntu1) ... 321s Setting up cpp (4:14.1.0-2ubuntu1) ... 321s Setting up g++-14 (14.2.0-8ubuntu1) ... 321s Setting up libcups2t64:armhf (2.4.10-1ubuntu2) ... 321s Setting up pylint (3.3.1-2) ... 321s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 321s Setting up tk8.6-blt2.5 (2.5.3+dfsg-7build1) ... 321s Setting up libtool (2.4.7-8) ... 321s Setting up libqt5widgets5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 321s Setting up blt (2.5.3+dfsg-7build1) ... 321s Setting up python3-tk:armhf (3.12.7-1) ... 321s Setting up libqt5help5:armhf (5.15.15-2) ... 321s Setting up gcc (4:14.1.0-2ubuntu1) ... 321s Setting up dh-autoreconf (20) ... 321s Setting up python3-pil.imagetk:armhf (10.4.0-1ubuntu2) ... 322s Setting up g++ (4:14.1.0-2ubuntu1) ... 322s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 322s Setting up build-essential (12.10ubuntu1) ... 322s Setting up libqt5printsupport5t64:armhf (5.15.15+dfsg-1ubuntu1) ... 322s Setting up libqt5designer5:armhf (5.15.15-2) ... 322s Setting up debhelper (13.20ubuntu1) ... 322s Setting up python3-pyqt5 (5.15.11+dfsg-1build1) ... 322s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 322s Setting up python3-ufolib2 (0.16.1+dfsg1-1) ... 322s Setting up python3-fonttools (4.55.0-3) ... 324s Setting up python3-matplotlib (3.8.3-3ubuntu1) ... 327s Setting up autopkgtest-satdep (0) ... 327s Processing triggers for libc-bin (2.40-1ubuntu3) ... 327s Processing triggers for systemd (256.5-2ubuntu4) ... 327s Processing triggers for man-db (2.13.0-1) ... 329s Processing triggers for udev (256.5-2ubuntu4) ... 329s Processing triggers for install-info (7.1.1-1) ... 361s (Reading database ... 83042 files and directories currently installed.) 361s Removing autopkgtest-satdep (0) ... 367s autopkgtest [20:50:04]: test pybuild-autopkgtest: pybuild-autopkgtest 367s autopkgtest [20:50:04]: test pybuild-autopkgtest: [----------------------- 370s pybuild-autopkgtest 370s I: pybuild base:311: cd /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_lint_free_pylint and not test_per_file_caching" 371s ============================= test session starts ============================== 371s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 371s rootdir: /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build 371s configfile: pyproject.toml 371s testpaths: test 371s plugins: typeguard-4.4.1, flaky-3.8.1 371s collected 199 items / 2 deselected / 197 selected 371s 387s test/plugins/test_autoimport.py EEEEEEEEEEEEFFFFFF...FFFFF [ 13%] 387s test/plugins/test_autopep8_format.py ...... [ 16%] 391s test/plugins/test_completion.py .FFFFFFFFFFF.FFFFFFFFFFFFFFFFsFF [ 32%] 391s test/plugins/test_definitions.py FFFFFFF [ 36%] 393s test/plugins/test_flake8_lint.py ........ [ 40%] 393s test/plugins/test_folding.py FF [ 41%] 393s test/plugins/test_highlight.py FF [ 42%] 393s test/plugins/test_hover.py FFF [ 43%] 393s test/plugins/test_jedi_rename.py F [ 44%] 393s test/plugins/test_mccabe_lint.py .. [ 45%] 393s test/plugins/test_pycodestyle_lint.py .... [ 47%] 394s test/plugins/test_pydocstyle_lint.py .... [ 49%] 394s test/plugins/test_pyflakes_lint.py .... [ 51%] 397s test/plugins/test_pylint_lint.py ... [ 52%] 398s test/plugins/test_references.py FF [ 53%] 398s test/plugins/test_rope_rename.py . [ 54%] 398s test/plugins/test_signature.py FFF... [ 57%] 398s test/plugins/test_symbols.py FFFs [ 59%] 399s test/plugins/test_yapf_format.py ......... [ 63%] 399s test/test_configuration.py .. [ 64%] 399s test/test_document.py ......... [ 69%] 399s test/test_language_server.py .ss. [ 71%] 405s test/test_notebook_document.py .....FF [ 75%] 405s test/test_text_edit.py .... [ 77%] 405s test/test_uris.py ...sss..ss.. [ 83%] 406s test/test_utils.py ........ [ 87%] 407s test/test_workspace.py ......................... [100%] 407s 407s ==================================== ERRORS ==================================== 407s __________ ERROR at setup of test_autoimport_completion[completions0] __________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:08,464 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:08,464 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:08,464 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:08,464 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:08,464 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:08,465 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:08,465 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:08,465 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:08,466 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,466 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,466 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:08,466 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:08,466 UTC - INFO - pylsp.config.config - Updated settings to {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}, 'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s 2024-11-23 20:50:08,467 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:08,467 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}, 'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s 2024-11-23 20:50:08,585 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting array 0/1 0% 407s 2024-11-23 20:50:09,117 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting setuptools.tests.test_register 0/1848 0% 407s 2024-11-23 20:50:09,620 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting numpy.matrixlib.tests 0/2809 0% 407s 2024-11-23 20:50:10,136 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting sympy.physics.mechanics.tests 0/4718 0% 407s 2024-11-23 20:50:10,636 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting matplotlib.tests.test_cbook 0/5776 0% 407s 2024-11-23 20:50:14,184 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting whatthepatch.snippets 1/7548 0% 407s 2024-11-23 20:50:14,684 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting whatthepatch.snippets 3990/7548 52% 407s 2024-11-23 20:50:15,184 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting whatthepatch.snippets 6575/7548 87% 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,413 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,414 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,414 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,415 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,415 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,415 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,415 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,415 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,435 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,436 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,436 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,436 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,436 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,437 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,437 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,437 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,437 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,438 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,438 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:192 Updated settings to {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}, 'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}, 'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}} 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting array 0/1 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting setuptools.tests.test_register 0/1848 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting numpy.matrixlib.tests 0/2809 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting sympy.physics.mechanics.tests 0/4718 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting matplotlib.tests.test_cbook 0/5776 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting whatthepatch.snippets 1/7548 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting whatthepatch.snippets 3990/7548 52% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting whatthepatch.snippets 6575/7548 87% 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ____________ ERROR at setup of test_autoimport_import[completions0] ____________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,500 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,501 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,501 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,501 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,502 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,502 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,502 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,502 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,521 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,522 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,522 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,522 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,523 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,523 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,523 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,523 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,523 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,524 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,524 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ___________ ERROR at setup of test_autoimport_pathlib[completions0] ____________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,568 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,568 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,568 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,569 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,569 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,570 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,570 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,570 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,570 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,570 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,590 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,590 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,590 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,590 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,591 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,591 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,591 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,591 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,591 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,591 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s _______ ERROR at setup of test_autoimport_import_with_name[completions0] _______ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,634 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,634 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,634 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,634 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,634 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,635 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,635 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,635 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,636 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,636 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,636 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,636 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,655 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,656 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,656 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,656 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,656 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,657 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,657 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,657 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,657 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,657 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,658 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ___________ ERROR at setup of test_autoimport_function[completions0] ___________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,702 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,702 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,702 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,702 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,702 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,702 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,702 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,702 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,722 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,723 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,723 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,723 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,723 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,723 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,723 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,724 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,724 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,724 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,724 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ____________ ERROR at setup of test_autoimport_class[completions0] _____________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,767 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,768 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,768 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,768 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,769 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,769 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,769 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,769 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,788 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,789 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,789 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,789 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,789 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,789 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,789 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,790 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,790 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,790 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,790 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s __________ ERROR at setup of test_autoimport_empty_line[completions0] __________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,835 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,836 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,836 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,836 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,836 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,837 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,837 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,837 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,856 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,857 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,857 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,857 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,857 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,857 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,857 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,858 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,858 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,858 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,858 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ________ ERROR at setup of test_autoimport_class_complete[completions0] ________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,901 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,902 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,902 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,902 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,903 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,903 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,903 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,903 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,922 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,923 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,923 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,923 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,924 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,924 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,924 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,924 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,924 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,925 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,925 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s _______ ERROR at setup of test_autoimport_class_incomplete[completions0] _______ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,972 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,973 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,973 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,973 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,974 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,974 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,974 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,974 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:15,993 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:15,994 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:15,994 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:15,994 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:15,995 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,995 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,995 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:15,995 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:15,995 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,996 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:15,996 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s _______ ERROR at setup of test_autoimport_function_typing[completions0] ________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:16,038 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,039 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,040 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,040 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,040 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,040 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,040 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,040 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,040 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,040 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,041 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,060 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,060 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,060 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,060 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,061 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,061 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,062 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,062 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,062 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,062 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,062 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,063 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,063 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,063 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ___ ERROR at setup of test_autoimport_function_typing_complete[completions0] ___ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,109 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,110 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,110 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,110 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,110 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,110 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,111 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,111 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,131 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,132 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,132 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,132 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,132 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,133 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,133 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,133 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,133 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,134 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,134 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ____ ERROR at setup of test_autoimport_function_typing_return[completions0] ____ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s autoimport_workspace = 407s request = > 407s 407s @pytest.fixture 407s def completions(config: Config, autoimport_workspace: Workspace, request): 407s document, position = request.param 407s com_position = {"line": 0, "character": position} 407s autoimport_workspace.put_document(DOC_URI, source=document) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s > yield pylsp_autoimport_completions( 407s config, autoimport_workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:69: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,177 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,178 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,178 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,178 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,179 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,179 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,179 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,179 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,199 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,200 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,200 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,200 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,200 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,201 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,201 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,201 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,202 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,202 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,202 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s =================================== FAILURES =================================== 407s _________________________ test_autoimport_defined_name _________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_autoimport_defined_name(config, workspace): 407s document = """List = "hi"\nLis""" 407s com_position = {"line": 1, "character": 3} 407s workspace.put_document(DOC_URI, source=document) 407s doc = workspace.get_document(DOC_URI) 407s > completions = pylsp_autoimport_completions( 407s config, workspace, doc, com_position, None 407s ) 407s 407s test/plugins/test_autoimport.py:173: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:247: in pylsp_completions 407s expr = parso.parse(line) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,246 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,247 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,247 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,247 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,247 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,247 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,248 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,248 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,267 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,268 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,268 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,268 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,268 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,269 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,269 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,269 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:16,270 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,270 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,270 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s __________________________ TestShouldInsert.test_dot ___________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s self = 407s 407s def test_dot(self): 407s > assert not should_insert("""str.""", 4) 407s 407s test/plugins/test_autoimport.py:182: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s test/plugins/test_autoimport.py:76: in should_insert 407s expr = parso.parse(phrase) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ______________________ TestShouldInsert.test_dot_partial _______________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s self = 407s 407s def test_dot_partial(self): 407s > assert not should_insert("""str.metho\n""", 9) 407s 407s test/plugins/test_autoimport.py:185: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s test/plugins/test_autoimport.py:76: in should_insert 407s expr = parso.parse(phrase) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ________________________ TestShouldInsert.test_comment _________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s self = 407s 407s def test_comment(self): 407s > assert not should_insert("""#""", 1) 407s 407s test/plugins/test_autoimport.py:188: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s test/plugins/test_autoimport.py:76: in should_insert 407s expr = parso.parse(phrase) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s _____________________ TestShouldInsert.test_comment_indent _____________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s self = 407s 407s def test_comment_indent(self): 407s > assert not should_insert(""" # """, 5) 407s 407s test/plugins/test_autoimport.py:191: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s test/plugins/test_autoimport.py:76: in should_insert 407s expr = parso.parse(phrase) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s __________________________ TestShouldInsert.test_from __________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s self = 407s 407s def test_from(self): 407s > assert not should_insert("""from """, 5) 407s 407s test/plugins/test_autoimport.py:194: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s test/plugins/test_autoimport.py:76: in should_insert 407s expr = parso.parse(phrase) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ________________________________ test_get_names ________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def test_get_names(): 407s source = """ 407s from a import s as e 407s import blah, bleh 407s hello = "str" 407s a, b = 1, 2 407s def someone(): 407s soemthing 407s class sfa: 407s sfiosifo 407s """ 407s > results = get_names(jedi.Script(code=source)) 407s 407s test/plugins/test_autoimport.py:231: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s __ test_autoimport_code_actions_get_correct_module_name[Undefined name `os`] ___ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s autoimport_workspace = 407s message = 'Undefined name `os`' 407s 407s @pytest.mark.parametrize( 407s "message", 407s ["Undefined name `os`", "F821 undefined name 'numpy'", "undefined name 'numpy'"], 407s ) 407s def test_autoimport_code_actions_get_correct_module_name(autoimport_workspace, message): 407s source = "os.path.join('a', 'b')" 407s autoimport_workspace.put_document(DOC_URI, source=source) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s diagnostic = { 407s "range": { 407s "start": {"line": 0, "character": 0}, 407s "end": {"line": 0, "character": 2}, 407s }, 407s "message": message, 407s } 407s > module_name = get_name_or_module(doc, diagnostic) 407s 407s test/plugins/test_autoimport.py:251: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:295: in get_name_or_module 407s parso.parse(document.lines[start["line"]]) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s _ test_autoimport_code_actions_get_correct_module_name[F821 undefined name 'numpy'] _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s autoimport_workspace = 407s message = "F821 undefined name 'numpy'" 407s 407s @pytest.mark.parametrize( 407s "message", 407s ["Undefined name `os`", "F821 undefined name 'numpy'", "undefined name 'numpy'"], 407s ) 407s def test_autoimport_code_actions_get_correct_module_name(autoimport_workspace, message): 407s source = "os.path.join('a', 'b')" 407s autoimport_workspace.put_document(DOC_URI, source=source) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s diagnostic = { 407s "range": { 407s "start": {"line": 0, "character": 0}, 407s "end": {"line": 0, "character": 2}, 407s }, 407s "message": message, 407s } 407s > module_name = get_name_or_module(doc, diagnostic) 407s 407s test/plugins/test_autoimport.py:251: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:295: in get_name_or_module 407s parso.parse(document.lines[start["line"]]) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s _ test_autoimport_code_actions_get_correct_module_name[undefined name 'numpy'] _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s autoimport_workspace = 407s message = "undefined name 'numpy'" 407s 407s @pytest.mark.parametrize( 407s "message", 407s ["Undefined name `os`", "F821 undefined name 'numpy'", "undefined name 'numpy'"], 407s ) 407s def test_autoimport_code_actions_get_correct_module_name(autoimport_workspace, message): 407s source = "os.path.join('a', 'b')" 407s autoimport_workspace.put_document(DOC_URI, source=source) 407s doc = autoimport_workspace.get_document(DOC_URI) 407s diagnostic = { 407s "range": { 407s "start": {"line": 0, "character": 0}, 407s "end": {"line": 0, "character": 2}, 407s }, 407s "message": message, 407s } 407s > module_name = get_name_or_module(doc, diagnostic) 407s 407s test/plugins/test_autoimport.py:251: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py:295: in get_name_or_module 407s parso.parse(document.lines[start["line"]]) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ______ test_autoimport_code_actions_and_completions_for_notebook_document ______ 407s 407s client_server_pair = (, ) 407s 407s @pytest.mark.skipif(IS_WIN, reason="Flaky on Windows") 407s def test_autoimport_code_actions_and_completions_for_notebook_document( 407s client_server_pair, 407s ): 407s client, server = client_server_pair 407s send_initialize_request( 407s client, 407s { 407s "pylsp": { 407s "plugins": { 407s "rope_autoimport": { 407s "memory": True, 407s "enabled": True, 407s "completions": {"enabled": True}, 407s }, 407s } 407s } 407s }, 407s ) 407s with patch.object(server._endpoint, "notify") as mock_notify: 407s # Expectations: 407s # 1. We receive an autoimport suggestion for "os" in the first cell because 407s # os is imported after that. 407s # 2. We don't receive an autoimport suggestion for "os" in the second cell because it's 407s # already imported in the second cell. 407s # 3. We don't receive an autoimport suggestion for "os" in the third cell because it's 407s # already imported in the second cell. 407s # 4. We receive an autoimport suggestion for "sys" because it's not already imported. 407s # 5. If diagnostics doesn't contain "undefined name ...", we send empty quick fix suggestions. 407s send_notebook_did_open(client, ["os", "import os\nos", "os", "sys"]) 407s wait_for_condition(lambda: mock_notify.call_count >= 4) 407s # We received diagnostics messages for every cell 407s assert all( 407s "textDocument/publishDiagnostics" in c.args 407s for c in mock_notify.call_args_list 407s ) 407s 407s rope_autoimport_settings = server.workspace._config.plugin_settings( 407s "rope_autoimport" 407s ) 407s assert rope_autoimport_settings.get("completions", {}).get("enabled", False) is True 407s assert rope_autoimport_settings.get("memory", False) is True 407s wait_for_condition(lambda: not cache.is_blocked()) 407s 407s # 1. 407s quick_fixes = server.code_actions("cell_1_uri", {}, make_context("os", 0, 0, 2)) 407s > assert any(s for s in quick_fixes if contains_autoimport_quickfix(s, "os")) 407s E assert False 407s E + where False = any(. at 0xece72418>) 407s 407s test/plugins/test_autoimport.py:320: AssertionError 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:16,614 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id d0243a16-7491-43dc-b770-11320567b726: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}}} 407s 2024-11-23 20:50:16,615 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': 'd0243a16-7491-43dc-b770-11320567b726', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}}}} 407s 2024-11-23 20:50:16,615 UTC - DEBUG - pylsp.python_lsp - Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}} 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:16,636 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:16,637 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:16,637 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:16,638 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:16,638 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,638 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,638 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,638 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , ] 407s 2024-11-23 20:50:16,638 UTC - DEBUG - pylsp.config.config - pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:16,639 UTC - DEBUG - pylsp.config.config - finish pylsp_dispatchers --> [] [hook] 407s 407s 2024-11-23 20:50:16,639 UTC - DEBUG - pylsp.config.config - pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:16,639 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,639 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:16,639 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:16,689 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting Working on plugins/test_pydocstyle_lint.py 1/31 3% 407s 2024-11-23 20:50:17,193 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting uaclient.api 0/1859 0% 407s 2024-11-23 20:50:17,694 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting sympy.plotting.backends 0/4424 0% 407s 2024-11-23 20:50:18,233 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting jedi 0/5386 0% 407s 2024-11-23 20:50:21,823 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting whatthepatch.snippets 1/7460 0% 407s 2024-11-23 20:50:22,323 UTC - DEBUG - pylsp.plugins._rope_task_handle - Reporting whatthepatch.snippets 4405/7460 59% 407s 2024-11-23 20:50:22,801 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module PIL 407s 2024-11-23 20:50:22,802 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module array 407s 2024-11-23 20:50:22,802 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module binascii 407s 2024-11-23 20:50:22,802 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module cmath 407s 2024-11-23 20:50:22,802 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module collections 407s 2024-11-23 20:50:22,802 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module datetime 407s 2024-11-23 20:50:22,803 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module errno 407s 2024-11-23 20:50:22,803 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module gc 407s 2024-11-23 20:50:22,803 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module itertools 407s 2024-11-23 20:50:22,803 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module marshal 407s 2024-11-23 20:50:22,803 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module math 407s 2024-11-23 20:50:23,037 UTC - DEBUG - matplotlib - matplotlib data path: /usr/share/matplotlib/mpl-data 407s 2024-11-23 20:50:23,042 UTC - DEBUG - matplotlib - CONFIGDIR=/tmp/autopkgtest.lr74z2/autopkgtest_tmp/.config/matplotlib 407s 2024-11-23 20:50:23,043 UTC - DEBUG - matplotlib - interactive is False 407s 2024-11-23 20:50:23,043 UTC - DEBUG - matplotlib - platform is linux 407s 2024-11-23 20:50:23,050 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module matplotlib 407s 2024-11-23 20:50:23,051 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mmap 407s 2024-11-23 20:50:23,084 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mpmath 407s 2024-11-23 20:50:23,084 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module numpy 407s 2024-11-23 20:50:23,085 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module operator 407s 2024-11-23 20:50:23,085 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os 407s 2024-11-23 20:50:23,085 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os.path 407s 2024-11-23 20:50:23,393 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module pandas 407s 2024-11-23 20:50:23,402 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module scipy 407s 2024-11-23 20:50:23,402 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module signal 407s 2024-11-23 20:50:23,746 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sympy 407s 2024-11-23 20:50:23,746 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sys 407s 2024-11-23 20:50:23,746 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module time 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module xxsubtype 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zipimport 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zlib 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.config.config - finish pylsp_initialize --> [] [hook] 407s 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.config.config - pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.config.config - finish pylsp_commands --> [] [hook] 407s 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.config.config - pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:23,747 UTC - DEBUG - pylsp.config.config - finish pylsp_experimental_capabilities --> [] [hook] 407s 407s 2024-11-23 20:50:23,747 UTC - INFO - pylsp.python_lsp - Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s 2024-11-23 20:50:23,748 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:23,748 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': 'd0243a16-7491-43dc-b770-11320567b726', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s 2024-11-23 20:50:23,748 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message d0243a16-7491-43dc-b770-11320567b726: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:23,749 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}, {'kind': 2, 'document': 'cell_3_uri'}, {'kind': 2, 'document': 'cell_4_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'import os\nos'}, {'uri': 'cell_3_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_4_uri', 'languageId': 'python', 'text': 'sys'}]} 407s 2024-11-23 20:50:23,749 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}, {'kind': 2, 'document': 'cell_3_uri'}, {'kind': 2, 'document': 'cell_4_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'import os\nos'}, {'uri': 'cell_3_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_4_uri', 'languageId': 'python', 'text': 'sys'}]}} 407s 2024-11-23 20:50:23,749 UTC - WARNING - pylsp._utils - Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:23,750 UTC - WARNING - pylsp._utils - Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:23,750 UTC - WARNING - pylsp._utils - Path cell_3_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:23,750 UTC - WARNING - pylsp._utils - Path cell_4_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:24,252 UTC - WARNING - pylsp._utils - Path 49236bf6-f8cf-499f-bc5d-fee60a0ac00e not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:24,252 UTC - DEBUG - pylsp.config.config - pylsp_lint [hook] 407s config: 407s workspace: 407s document: 49236bf6-f8cf-499f-bc5d-fee60a0ac00e 407s is_saved: True 407s 407s 2024-11-23 20:50:24,254 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,255 UTC - WARNING - pylsp._utils - Path 49236bf6-f8cf-499f-bc5d-fee60a0ac00e not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:24,255 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,255 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,256 UTC - DEBUG - pylsp.plugins.pycodestyle_lint - Got pycodestyle settings: {} 407s 2024-11-23 20:50:24,260 UTC - DEBUG - pylsp.plugins.mccabe_lint - Running mccabe lint with threshold: 15 407s 2024-11-23 20:50:24,261 UTC - DEBUG - pylsp.config.config - finish pylsp_lint --> [[{'source': 'pyflakes', 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 3}}, 'message': "undefined name 'os'", 'severity': 1}, {'source': 'pyflakes', 'range': {'start': {'line': 4, 'character': 0}, 'end': {'line': 4, 'character': 3}}, 'message': "undefined name 'sys'", 'severity': 1}], [{'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 0}, 'end': {'line': 1, 'character': 10}}, 'message': 'E402 module level import not at top of file', 'code': 'E402', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 4, 'character': 3}, 'end': {'line': 4, 'character': 3}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s 2024-11-23 20:50:24,350 UTC - DEBUG - pylsp.config.config - pylsp_code_actions [hook] 407s config: 407s workspace: 407s document: cell_1_uri 407s range: {} 407s context: {'diagnostics': [{'message': "undefined name 'os'", 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 2}}}]} 407s 407s 2024-11-23 20:50:24,350 UTC - DEBUG - pylsp.plugins.rope_autoimport - textDocument/codeAction: cell_1_uri {} {'diagnostics': [{'message': "undefined name 'os'", 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 2}}}]} 407s 2024-11-23 20:50:24,351 UTC - WARNING - pylsp.config.config - Failed to load hook pylsp_code_actions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py", line 342, in pylsp_code_actions 407s word = get_name_or_module(document, diagnostic) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py", line 295, in get_name_or_module 407s parso.parse(document.lines[start["line"]]) 407s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/__init__.py", line 57, in parse 407s grammar = load_grammar(version=version) 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id d0243a16-7491-43dc-b770-11320567b726: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': 'd0243a16-7491-43dc-b770-11320567b726', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}}}} 407s DEBUG pylsp.python_lsp:python_lsp.py:310 Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test {'pylsp': {'plugins': {'rope_autoimport': {'memory': True, 'enabled': True, 'completions': {'enabled': True}}}}} 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , ] 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_dispatchers --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting Working on plugins/test_pydocstyle_lint.py 1/31 3% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting uaclient.api 0/1859 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting sympy.plotting.backends 0/4424 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting jedi 0/5386 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting whatthepatch.snippets 1/7460 0% 407s DEBUG pylsp.plugins._rope_task_handle:_rope_task_handle.py:63 Reporting whatthepatch.snippets 4405/7460 59% 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module PIL 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module array 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module binascii 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module cmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module collections 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module datetime 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module errno 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module gc 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module itertools 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module marshal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module math 407s DEBUG matplotlib:__init__.py:337 matplotlib data path: /usr/share/matplotlib/mpl-data 407s DEBUG matplotlib:__init__.py:337 CONFIGDIR=/tmp/autopkgtest.lr74z2/autopkgtest_tmp/.config/matplotlib 407s DEBUG matplotlib:__init__.py:1502 interactive is False 407s DEBUG matplotlib:__init__.py:1503 platform is linux 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module matplotlib 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mmap 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mpmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module numpy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module operator 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os.path 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module pandas 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module scipy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module signal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sympy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sys 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module time 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module xxsubtype 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zipimport 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zlib 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_initialize --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_commands --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_experimental_capabilities --> [] [hook] 407s 407s INFO pylsp.python_lsp:python_lsp.py:298 Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': 'd0243a16-7491-43dc-b770-11320567b726', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message d0243a16-7491-43dc-b770-11320567b726: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}, {'kind': 2, 'document': 'cell_3_uri'}, {'kind': 2, 'document': 'cell_4_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'import os\nos'}, {'uri': 'cell_3_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_4_uri', 'languageId': 'python', 'text': 'sys'}]} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}, {'kind': 2, 'document': 'cell_3_uri'}, {'kind': 2, 'document': 'cell_4_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'import os\nos'}, {'uri': 'cell_3_uri', 'languageId': 'python', 'text': 'os'}, {'uri': 'cell_4_uri', 'languageId': 'python', 'text': 'sys'}]}} 407s WARNING pylsp._utils:_utils.py:91 Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path cell_3_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path cell_4_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path 49236bf6-f8cf-499f-bc5d-fee60a0ac00e not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_lint [hook] 407s config: 407s workspace: 407s document: 49236bf6-f8cf-499f-bc5d-fee60a0ac00e 407s is_saved: True 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s WARNING pylsp._utils:_utils.py:91 Path 49236bf6-f8cf-499f-bc5d-fee60a0ac00e not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'code_actions': {'enabled': True}, 'memory': True, 'enabled': True, 'completions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins.pycodestyle_lint:pycodestyle_lint.py:31 Got pycodestyle settings: {} 407s DEBUG pylsp.plugins.mccabe_lint:mccabe_lint.py:23 Running mccabe lint with threshold: 15 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_lint --> [[{'source': 'pyflakes', 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 3}}, 'message': "undefined name 'os'", 'severity': 1}, {'source': 'pyflakes', 'range': {'start': {'line': 4, 'character': 0}, 'end': {'line': 4, 'character': 3}}, 'message': "undefined name 'sys'", 'severity': 1}], [{'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 0}, 'end': {'line': 1, 'character': 10}}, 'message': 'E402 module level import not at top of file', 'code': 'E402', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 4, 'character': 3}, 'end': {'line': 4, 'character': 3}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_code_actions [hook] 407s config: 407s workspace: 407s document: cell_1_uri 407s range: {} 407s context: {'diagnostics': [{'message': "undefined name 'os'", 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 2}}}]} 407s 407s DEBUG pylsp.plugins.rope_autoimport:rope_autoimport.py:336 textDocument/codeAction: cell_1_uri {} {'diagnostics': [{'message': "undefined name 'os'", 'range': {'start': {'line': 0, 'character': 0}, 'end': {'line': 0, 'character': 2}}}]} 407s WARNING pylsp.config.config:config.py:41 Failed to load hook pylsp_code_actions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py", line 342, in pylsp_code_actions 407s word = get_name_or_module(document, diagnostic) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/rope_autoimport.py", line 295, in get_name_or_module 407s parso.parse(document.lines[start["line"]]) 407s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/__init__.py", line 57, in parse 407s grammar = load_grammar(version=version) 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s --------------------------- Captured stderr teardown --------------------------- 407s 2024-11-23 20:50:24,362 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 963c65c5-00fd-4948-bc30-a7c489035e46: shutdown None 407s 2024-11-23 20:50:24,362 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '963c65c5-00fd-4948-bc30-a7c489035e46', 'method': 'shutdown'} 407s 2024-11-23 20:50:24,364 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: None 407s 2024-11-23 20:50:24,365 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '963c65c5-00fd-4948-bc30-a7c489035e46', 'result': None} 407s 2024-11-23 20:50:24,365 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 963c65c5-00fd-4948-bc30-a7c489035e46: None 407s 2024-11-23 20:50:24,365 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: exit None 407s 2024-11-23 20:50:24,365 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s ---------------------------- Captured log teardown ----------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 963c65c5-00fd-4948-bc30-a7c489035e46: shutdown None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '963c65c5-00fd-4948-bc30-a7c489035e46', 'method': 'shutdown'} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '963c65c5-00fd-4948-bc30-a7c489035e46', 'result': None} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 963c65c5-00fd-4948-bc30-a7c489035e46: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: exit None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s _____________________ test_jedi_completion_type[variable] ______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='test = 1\ntes', position={'line': 1, 'character': 3}, label='test', expected=6) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,748 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,749 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,749 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,749 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,750 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,750 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,750 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,750 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,770 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,771 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,771 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,771 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,771 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,772 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,772 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,772 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:24,773 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,773 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,773 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:24,773 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,773 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,774 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________ test_jedi_completion_type[function] ______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='def test():\n pass\ntes', position={'line': 2, 'character': 3}, label='test()', expected=3) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,853 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,854 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,854 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,854 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,855 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,855 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,855 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,855 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,875 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,876 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,876 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,876 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,877 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,877 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,877 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,877 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:24,878 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,878 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,878 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:24,879 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,879 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,879 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________ test_jedi_completion_type[keyword] ______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='fro', position={'line': 0, 'character': 3}, label='from', expected=14) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,964 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,965 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,965 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,965 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,966 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,966 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,966 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,966 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:24,986 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:24,987 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:24,987 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:24,987 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:24,988 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,988 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,988 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:24,988 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:24,989 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,989 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,989 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:24,989 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,990 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:24,990 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________ test_jedi_completion_type[file] ________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='"/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test/plugins/test_completion."', position={'line': 0, 'character': 75}, label='test_completion.py"', expected=17) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,071 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,072 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,073 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,073 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,073 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,073 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,073 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,073 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,073 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,093 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,093 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,093 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,094 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,094 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,095 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,095 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,095 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,095 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,095 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,096 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,096 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,096 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:25,097 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,097 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,097 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________ test_jedi_completion_type[module] _______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='import statis', position={'line': 0, 'character': 13}, label='statistics', expected=9) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,174 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,175 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,175 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,175 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,176 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,176 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,176 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,176 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,196 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,197 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,197 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,197 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,197 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,197 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,197 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,197 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,197 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,197 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,197 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,198 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,198 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,199 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,199 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:25,199 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,199 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,199 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________ test_jedi_completion_type[class] _______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='KeyErr', position={'line': 0, 'character': 6}, label='KeyError', expected=7) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,279 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,280 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,280 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,280 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,281 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,281 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,281 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,281 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,301 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,302 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,302 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,302 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,302 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,302 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,303 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,303 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,303 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,304 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,304 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:25,304 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,304 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,304 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________ test_jedi_completion_type[property] ______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s case = TypeCase(document='class A:\n @property\n def test(self):\n pass\nA().tes', position={'line': 4, 'character': 5}, label='test', expected=10) 407s config = 407s workspace = 407s 407s @pytest.mark.parametrize("case", list(TYPE_CASES.values()), ids=list(TYPE_CASES.keys())) 407s def test_jedi_completion_type(case, config, workspace): 407s # property support was introduced in 0.18 407s if case.expected == lsp.CompletionItemKind.Property and JEDI_VERSION.startswith( 407s "0.17" 407s ): 407s return 407s 407s doc = Document(DOC_URI, workspace, case.document) 407s > items = pylsp_jedi_completions(config, doc, case.position) 407s 407s test/plugins/test_completion.py:129: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,382 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,383 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,383 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,383 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,383 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,383 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,383 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,383 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,383 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,383 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,383 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,384 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,403 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,404 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,404 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,404 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,405 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,405 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,405 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,405 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,406 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,406 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,406 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:25,406 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,407 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,407 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________________ test_jedi_completion _____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_completion(config, workspace): 407s # Over 'i' in os.path.isabs(...) 407s com_position = {"line": 1, "character": 15} 407s doc = Document(DOC_URI, workspace, DOC) 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:138: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,485 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,485 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,486 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,487 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,487 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,487 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,487 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,487 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,487 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,507 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,508 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,508 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,508 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,508 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,508 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,508 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,508 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,508 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,508 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,509 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,509 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,510 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,510 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:25,510 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,510 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,510 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________ test_jedi_completion_item_resolve _______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_completion_item_resolve(config, workspace): 407s # Over the blank line 407s com_position = {"line": 8, "character": 0} 407s doc = Document(DOC_URI, workspace, DOC) 407s config.update({"plugins": {"jedi_completion": {"resolve_at_most": math.inf}}}) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:153: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,595 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,596 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,596 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,596 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,596 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,597 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,597 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,597 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,617 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,617 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,617 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,618 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,618 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,618 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,618 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,619 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:25,619 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,619 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,619 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:25,619 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:25,620 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,620 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,620 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:25,620 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,620 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,621 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': inf}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________ test_jedi_completion_with_fuzzy_enabled ____________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_completion_with_fuzzy_enabled(config, workspace): 407s # Over 'i' in os.path.isabs(...) 407s config.update({"plugins": {"jedi_completion": {"fuzzy": True}}}) 407s com_position = {"line": 1, "character": 15} 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:178: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,700 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,701 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,701 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,701 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,702 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,702 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,702 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,702 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,725 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,726 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,726 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,726 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,726 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,726 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,727 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,727 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'fuzzy': True}}} 407s 2024-11-23 20:50:25,727 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'fuzzy': True}}} 407s 2024-11-23 20:50:25,728 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'fuzzy': True}}} 407s 2024-11-23 20:50:25,728 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,729 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,729 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'fuzzy': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'fuzzy': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'fuzzy': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________ test_jedi_completion_resolve_at_most _____________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_completion_resolve_at_most(config, workspace): 407s # Over 'i' in os.path.isabs(...) 407s com_position = {"line": 1, "character": 15} 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s # Do not resolve any labels 407s config.update({"plugins": {"jedi_completion": {"resolve_at_most": 0}}}) 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:198: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,824 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,825 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,825 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,825 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,825 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,826 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,826 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,826 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:25,848 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:25,849 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:25,849 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:25,849 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:25,850 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,850 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,850 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:25,850 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:25,851 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:25,851 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,851 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,851 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:25,851 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:25,852 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,852 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,852 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:25,852 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,852 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:25,853 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': 0}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_jedi_completion_ordering _________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_completion_ordering(config, workspace): 407s # Over the blank line 407s com_position = {"line": 8, "character": 0} 407s doc = Document(DOC_URI, workspace, DOC) 407s config.update({"plugins": {"jedi_completion": {"resolve_at_most": math.inf}}}) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:225: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,043 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,044 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,044 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,044 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,044 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,045 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,045 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,045 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,064 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,065 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,066 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,066 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,066 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,066 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,066 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,066 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,067 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:26,067 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,067 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,067 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:26,068 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:26,068 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,068 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,068 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s 2024-11-23 20:50:26,068 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,068 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,069 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': inf}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': inf}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_jedi_property_completion _________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_property_completion(config, workspace): 407s # Over the 'w' in 'print Hello().world' 407s com_position = {"line": 18, "character": 15} 407s doc = Document(DOC_URI, workspace, DOC) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:237: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,147 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,148 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,148 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,148 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,149 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,149 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,149 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,149 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,169 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,170 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,170 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,170 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,170 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,171 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,171 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,171 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,172 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,172 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,172 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:26,172 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,173 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,173 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________________ test_jedi_method_completion __________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_jedi_method_completion(config, workspace): 407s # Over the 'y' in 'print Hello().every' 407s com_position = {"line": 20, "character": 19} 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:255: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,368 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,370 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,370 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,370 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,370 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,370 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,370 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,370 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,390 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,391 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,392 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,392 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,392 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,392 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,392 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,392 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,392 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,393 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,393 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,393 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,394 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,394 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:26,394 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,394 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,394 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,394 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,395 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,395 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________________ test_pyqt_completion _____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s @pytest.mark.skipif( 407s PY2 or (sys.platform.startswith("linux") and os.environ.get("CI") is not None), 407s reason="Test in Python 3 and not on CIs on Linux because wheels don't work on them.", 407s ) 407s def test_pyqt_completion(config, workspace): 407s # Over 'QA' in 'from PyQt5.QtWidgets import QApplication' 407s doc_pyqt = "from PyQt5.QtWidgets import QA" 407s com_position = {"line": 0, "character": len(doc_pyqt)} 407s doc = Document(DOC_URI, workspace, doc_pyqt) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:289: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,480 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,480 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,480 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,480 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,481 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,481 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,482 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,482 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,482 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,482 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,482 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,503 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,504 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,504 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,504 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,504 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,504 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,504 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,504 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,504 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,504 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,504 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,505 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,505 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,506 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,506 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:26,506 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,506 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,506 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ____________________________ test_numpy_completions ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_numpy_completions(config, workspace): 407s doc_numpy = "import numpy as np; np." 407s com_position = {"line": 0, "character": len(doc_numpy)} 407s doc = Document(DOC_URI, workspace, doc_numpy) 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:298: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,592 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,593 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,593 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,594 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,594 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,594 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,594 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,594 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,615 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,616 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,616 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,616 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,617 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,617 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,617 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,617 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,618 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,618 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,618 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:26,619 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,619 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,619 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_pandas_completions ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_pandas_completions(config, workspace): 407s doc_pandas = "import pandas as pd; pd." 407s com_position = {"line": 0, "character": len(doc_pandas)} 407s doc = Document(DOC_URI, workspace, doc_pandas) 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:308: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,703 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,704 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,704 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,704 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,705 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,705 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,705 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,705 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,726 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,727 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,727 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,727 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,727 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,728 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,728 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,728 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,729 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,729 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,729 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:26,729 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,729 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,730 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________________ test_matplotlib_completions __________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_matplotlib_completions(config, workspace): 407s doc_mpl = "import matplotlib.pyplot as plt; plt." 407s com_position = {"line": 0, "character": len(doc_mpl)} 407s doc = Document(DOC_URI, workspace, doc_mpl) 407s > items = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:318: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,811 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,812 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,812 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,812 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,812 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,813 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,813 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,813 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,833 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,834 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,834 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,834 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,835 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,835 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,835 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,835 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,836 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,836 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,836 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:26,836 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,837 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,837 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_snippets_completion ___________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_snippets_completion(config, workspace): 407s doc_snippets = "from collections import defaultdict \na=defaultdict" 407s com_position = {"line": 0, "character": 35} 407s doc = Document(DOC_URI, workspace, doc_snippets) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:332: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:26,918 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,919 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,920 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,920 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,920 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,920 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,920 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,920 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,920 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,920 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,921 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:26,941 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:26,942 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:26,942 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:26,942 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:26,942 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,943 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,943 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:26,943 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:26,944 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,944 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,944 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,944 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,944 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:26,944 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,945 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,945 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:26,945 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,945 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:26,945 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________ test_snippets_completion_at_most _______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_snippets_completion_at_most(config, workspace): 407s doc_snippets = "from collections import defaultdict \na=defaultdict" 407s doc = Document(DOC_URI, workspace, doc_snippets) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s config.update({"plugins": {"jedi_completion": {"resolve_at_most": 0}}}) 407s 407s com_position = {"line": 1, "character": len(doc_snippets)} 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:351: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,030 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,031 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,031 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,031 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,031 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,032 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,032 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,032 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,053 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,053 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,053 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,054 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,054 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,054 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,055 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,055 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,055 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,055 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,055 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,055 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:27,055 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:27,056 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s 2024-11-23 20:50:27,056 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,057 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,057 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'resolve_at_most': 0}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'resolve_at_most': 0}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________ test_completion_with_class_objects ______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_completion_with_class_objects(config, workspace): 407s doc_text = "class FOOBAR(Object): pass\nFOOB" 407s com_position = {"line": 1, "character": 4} 407s doc = Document(DOC_URI, workspace, doc_text) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update( 407s { 407s "plugins": { 407s "jedi_completion": { 407s "include_params": True, 407s "include_class_objects": True, 407s } 407s } 407s } 407s ) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:373: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,135 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,136 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,136 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,136 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,136 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,137 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,137 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,137 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,157 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,158 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,158 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,158 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,158 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,158 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,158 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,158 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,158 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,158 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,159 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,159 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s 2024-11-23 20:50:27,159 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s 2024-11-23 20:50:27,160 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s 2024-11-23 20:50:27,160 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,161 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,161 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_class_objects': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ____________________ test_completion_with_function_objects _____________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_completion_with_function_objects(config, workspace): 407s doc_text = "def foobar(): pass\nfoob" 407s com_position = {"line": 1, "character": 4} 407s doc = Document(DOC_URI, workspace, doc_text) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update( 407s { 407s "plugins": { 407s "jedi_completion": { 407s "include_params": True, 407s "include_function_objects": True, 407s } 407s } 407s } 407s ) 407s > completions = pylsp_jedi_completions(config, doc, com_position) 407s 407s test/plugins/test_completion.py:400: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,244 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,245 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,245 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,245 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,245 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,246 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,246 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,246 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,266 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,266 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,266 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,267 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,267 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,267 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,267 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,268 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s 2024-11-23 20:50:27,268 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,268 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,268 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s 2024-11-23 20:50:27,268 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,269 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True, 'include_function_objects': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _____________________________ test_snippet_parsing _____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_snippet_parsing(config, workspace): 407s doc = "divmod" 407s completion_position = {"line": 0, "character": 6} 407s doc = Document(DOC_URI, workspace, doc) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s > completions = pylsp_jedi_completions(config, doc, completion_position) 407s 407s test/plugins/test_completion.py:418: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,347 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,348 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,348 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,348 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,349 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,349 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,349 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,349 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,368 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,368 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,368 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,369 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,369 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,370 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,370 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,370 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,370 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,370 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,371 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,371 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,371 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,371 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,372 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,372 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,372 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,372 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,372 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,372 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,373 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_multiline_import_snippets ________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_multiline_import_snippets(config, workspace): 407s document = "from datetime import(\n date,\n datetime)\na=date" 407s doc = Document(DOC_URI, workspace, document) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s 407s position = {"line": 1, "character": 5} 407s > completions = pylsp_jedi_completions(config, doc, position) 407s 407s test/plugins/test_completion.py:435: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,462 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,462 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,462 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,462 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,463 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,463 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,463 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,483 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,484 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,484 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,484 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,484 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,484 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,484 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,484 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,484 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,484 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,485 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,485 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,485 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,486 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,486 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,487 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,487 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_multiline_snippets ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_multiline_snippets(config, workspace): 407s document = "from datetime import\\\n date,\\\n datetime \na=date" 407s doc = Document(DOC_URI, workspace, document) 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s 407s position = {"line": 1, "character": 5} 407s > completions = pylsp_jedi_completions(config, doc, position) 407s 407s test/plugins/test_completion.py:452: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,566 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,566 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,567 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,568 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,568 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,568 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,568 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,568 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,568 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,588 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,589 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,589 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,589 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,589 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,590 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,590 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,590 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,590 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,591 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,591 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,592 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,592 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,592 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________________ test_multistatement_snippet __________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_multistatement_snippet(config, workspace): 407s config.capabilities["textDocument"] = { 407s "completion": {"completionItem": {"snippetSupport": True}} 407s } 407s config.update({"plugins": {"jedi_completion": {"include_params": True}}}) 407s 407s document = "a = 1; from datetime import date" 407s doc = Document(DOC_URI, workspace, document) 407s position = {"line": 0, "character": len(document)} 407s > completions = pylsp_jedi_completions(config, doc, position) 407s 407s test/plugins/test_completion.py:469: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,670 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,670 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,670 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,670 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,670 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,671 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,671 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,671 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,672 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,672 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,672 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,672 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,692 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,693 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,693 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,693 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,694 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,694 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,694 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,694 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,695 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,695 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,695 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,695 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,695 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:27,695 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,696 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,696 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s 2024-11-23 20:50:27,696 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,696 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,696 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_completion': {'include_params': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________ test_jedi_completion_extra_paths _______________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_jedi_completion_extra_pat0') 407s workspace = 407s 407s def test_jedi_completion_extra_paths(tmpdir, workspace): 407s # Create a tempfile with some content and pass to extra_paths 407s temp_doc_content = """ 407s def spam(): 407s pass 407s """ 407s p = tmpdir.mkdir("extra_path") 407s extra_paths = [str(p)] 407s p = p.join("foo.py") 407s p.write(temp_doc_content) 407s 407s # Content of doc to test completion 407s doc_content = """import foo 407s foo.s""" 407s doc = Document(DOC_URI, workspace, doc_content) 407s 407s # After 'foo.s' without extra paths 407s com_position = {"line": 1, "character": 5} 407s > completions = pylsp_jedi_completions(doc._config, doc, com_position) 407s 407s test/plugins/test_completion.py:497: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,780 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,780 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,780 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,780 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,781 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,781 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,782 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,782 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,782 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,782 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,782 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,783 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,784 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,784 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_document_path_completions ________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_document_path_completions0') 407s workspace_other_root_path = 407s 407s def test_document_path_completions(tmpdir, workspace_other_root_path): 407s # Create a dummy module out of the workspace's root_path and try to get 407s # completions for it in another file placed next to it. 407s module_content = """ 407s def foo(): 407s pass 407s """ 407s 407s p = tmpdir.join("mymodule.py") 407s p.write(module_content) 407s 407s # Content of doc to test completion 407s doc_content = """import mymodule 407s mymodule.f""" 407s doc_path = str(tmpdir) + os.path.sep + "myfile.py" 407s doc_uri = uris.from_fs_path(doc_path) 407s doc = Document(doc_uri, workspace_other_root_path, doc_content) 407s 407s com_position = {"line": 1, "character": 10} 407s > completions = pylsp_jedi_completions(doc._config, doc, com_position) 407s 407s test/plugins/test_completion.py:561: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,864 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,865 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,865 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,865 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,865 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,866 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,866 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,866 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,867 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,867 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,867 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ____________________________ test_file_completions _____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_file_completions0') 407s 407s def test_file_completions(workspace, tmpdir): 407s # Create directory and a file to get completions for them. 407s # Note: `tmpdir`` is the root dir of the `workspace` fixture. That's why we use 407s # it here. 407s tmpdir.mkdir("bar") 407s file = tmpdir.join("foo.txt") 407s file.write("baz") 407s 407s # Content of doc to test completion 407s doc_content = '"' 407s doc = Document(DOC_URI, workspace, doc_content) 407s 407s # Request for completions 407s com_position = {"line": 0, "character": 1} 407s > completions = pylsp_jedi_completions(doc._config, doc, com_position) 407s 407s test/plugins/test_completion.py:579: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py:46: in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:27,950 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:27,950 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:27,950 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:27,950 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:27,951 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:27,951 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:27,952 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:27,952 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,952 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,952 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:27,952 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:27,953 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,953 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:27,954 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________________ test_definitions _______________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_definitions(config, workspace): 407s # Over 'a' in print a 407s cursor_pos = {"line": 3, "character": 6} 407s 407s # The definition of 'a' 407s def_range = { 407s "start": {"line": 0, "character": 4}, 407s "end": {"line": 0, "character": 5}, 407s } 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > assert [{"uri": DOC_URI, "range": def_range}] == pylsp_definitions( 407s config, doc, cursor_pos 407s ) 407s 407s test/plugins/test_definitions.py:55: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,033 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,033 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,033 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,033 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,033 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,034 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,034 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,035 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,035 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,035 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,035 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,035 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,055 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,056 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,056 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,056 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,057 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,057 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,057 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,057 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,058 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,058 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,058 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,058 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,059 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,059 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s __________________________ test_indirect_definitions ___________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_indirect_definitions(config, workspace): 407s # Over 'subscripted_before_reference' 407s cursor_pos = {"line": 16, "character": 0} 407s 407s # The definition of 'subscripted_before_reference', 407s # skipping intermediate writes to the most recent definition 407s def_range = { 407s "start": {"line": 14, "character": 0}, 407s "end": {"line": 14, "character": len("subscripted_before_reference")}, 407s } 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > assert [{"uri": DOC_URI, "range": def_range}] == pylsp_definitions( 407s config, doc, cursor_pos 407s ) 407s 407s test/plugins/test_definitions.py:72: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,129 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,130 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,130 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,130 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,131 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,131 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,131 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,131 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,150 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,150 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,150 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,150 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,151 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,151 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,152 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,152 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,152 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,152 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,152 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,153 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,153 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,153 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,154 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,154 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,154 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________ test_definition_with_multihop_inference_goto _________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_definition_with_multihop_inference_goto(config, workspace): 407s # Over 'inception()' 407s cursor_pos = {"line": 26, "character": 0} 407s 407s # The most recent definition of 'inception', 407s # ignoring alias hops 407s def_range = { 407s "start": {"line": 24, "character": 0}, 407s "end": {"line": 24, "character": len("inception")}, 407s } 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > assert [{"uri": DOC_URI, "range": def_range}] == pylsp_definitions( 407s config, doc, cursor_pos 407s ) 407s 407s test/plugins/test_definitions.py:89: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,234 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,235 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,235 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,235 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,236 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,236 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,236 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,236 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,256 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,257 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,257 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,257 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,257 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,258 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,258 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,258 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,259 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,259 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,259 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,259 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,259 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,260 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ____________________________ test_numpy_definition _____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_numpy_definition(config, workspace): 407s # Over numpy.ones 407s cursor_pos = {"line": 29, "character": 8} 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > defns = pylsp_definitions(config, doc, cursor_pos) 407s 407s test/plugins/test_definitions.py:99: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,431 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,432 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,432 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,432 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,432 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,432 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,432 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,432 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,432 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,432 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,433 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,433 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,453 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,454 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,454 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,454 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,455 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,455 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,455 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,455 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,456 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,456 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,456 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,456 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,457 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,457 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_builtin_definition ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_builtin_definition(config, workspace): 407s # Over 'i' in dict 407s cursor_pos = {"line": 8, "character": 24} 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s orig_settings = config.settings() 407s 407s # Check definition for `dict` goes to `builtins.pyi::dict` 407s follow_defns_setting = {"follow_builtin_definitions": True} 407s settings = {"plugins": {"jedi_definition": follow_defns_setting}} 407s config.update(settings) 407s > defns = pylsp_definitions(config, doc, cursor_pos) 407s 407s test/plugins/test_definitions.py:114: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,526 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,527 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,527 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,527 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,527 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,528 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,528 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,528 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,548 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,549 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,549 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,549 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,549 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,549 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,549 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,549 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,549 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,549 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,550 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,550 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}}} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}, 'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,551 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}, 'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,551 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,552 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,552 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}, 'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'jedi_definition': {'follow_builtin_definitions': True}, 'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________________ test_assignment ________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_assignment(config, workspace): 407s # Over 's' in self.members[id] 407s cursor_pos = {"line": 11, "character": 19} 407s 407s # The assignment of 'self.members' 407s def_range = { 407s "start": {"line": 8, "character": 13}, 407s "end": {"line": 8, "character": 20}, 407s } 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > assert [{"uri": DOC_URI, "range": def_range}] == pylsp_definitions( 407s config, doc, cursor_pos 407s ) 407s 407s test/plugins/test_definitions.py:138: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,620 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,621 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,622 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,622 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,622 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,622 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,622 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,622 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,622 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,623 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,642 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,643 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,643 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,643 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,643 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,644 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,644 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,644 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,644 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,645 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,645 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,645 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,645 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,645 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_document_path_definitions ________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace_other_root_path = 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_document_path_definitions0') 407s 407s def test_document_path_definitions(config, workspace_other_root_path, tmpdir): 407s # Create a dummy module out of the workspace's root_path and try to get 407s # a definition on it in another file placed next to it. 407s module_content = """ 407s def foo(): 407s pass 407s """ 407s 407s p = tmpdir.join("mymodule.py") 407s p.write(module_content) 407s 407s # Content of doc to test definition 407s doc_content = """from mymodule import foo""" 407s doc_path = str(tmpdir) + os.path.sep + "myfile.py" 407s doc_uri = uris.from_fs_path(doc_path) 407s doc = Document(doc_uri, workspace_other_root_path, doc_content) 407s 407s # The range where is defined in mymodule.py 407s def_range = { 407s "start": {"line": 1, "character": 4}, 407s "end": {"line": 1, "character": 7}, 407s } 407s 407s # The position where foo is called in myfile.py 407s cursor_pos = {"line": 0, "character": 24} 407s 407s # The uri for mymodule.py 407s module_path = str(p) 407s module_uri = uris.from_fs_path(module_path) 407s 407s > assert [{"uri": module_uri, "range": def_range}] == pylsp_definitions( 407s config, doc, cursor_pos 407s ) 407s 407s test/plugins/test_definitions.py:173: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/definition.py:50: in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,714 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,715 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,715 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,715 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,715 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,716 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,716 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,716 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,735 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,736 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,737 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,737 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,737 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,737 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,737 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,737 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,737 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,737 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:28,757 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:28,758 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:28,758 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:28,758 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:28,759 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,759 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,759 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:28,759 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:28,760 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,760 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,760 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:28,760 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,761 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:28,761 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________________________ test_folding _________________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_folding(workspace): 407s doc = Document(DOC_URI, workspace, DOC) 407s > ranges = pylsp_folding_range(doc) 407s 407s test/plugins/test_folding.py:121: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/folding.py:19: in pylsp_folding_range 407s tree = parso.parse(program) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,083 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,083 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,084 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,085 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,085 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,085 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,085 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,085 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,085 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s __________________________ test_folding_syntax_error ___________________________ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_folding_syntax_error(workspace): 407s doc = Document(DOC_URI, workspace, SYNTAX_ERR) 407s > ranges = pylsp_folding_range(doc) 407s 407s test/plugins/test_folding.py:165: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/folding.py:19: in pylsp_folding_range 407s tree = parso.parse(program) 407s /usr/lib/python3/dist-packages/parso/__init__.py:57: in parse 407s grammar = load_grammar(version=version) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,124 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,124 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,124 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,124 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,125 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,125 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,126 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,126 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,126 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,126 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,126 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ________________________________ test_highlight ________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_highlight(workspace): 407s # Over 'a' in a.startswith 407s cursor_pos = {"line": 1, "character": 0} 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s > assert pylsp_document_highlight(doc, cursor_pos) == [ 407s { 407s "range": { 407s "start": {"line": 0, "character": 0}, 407s "end": {"line": 0, "character": 1}, 407s }, 407s # The first usage is Write 407s "kind": lsp.DocumentHighlightKind.Write, 407s }, 407s { 407s "range": { 407s "start": {"line": 1, "character": 0}, 407s "end": {"line": 1, "character": 1}, 407s }, 407s # The second usage is Read 407s "kind": lsp.DocumentHighlightKind.Read, 407s }, 407s ] 407s 407s test/plugins/test_highlight.py:19: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/highlight.py:14: in pylsp_document_highlight 407s usages = document.jedi_script().get_references(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,165 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,165 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,165 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,166 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,167 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,167 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,167 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,167 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,167 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,167 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,167 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,168 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,169 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,169 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________________ test_sys_highlight ______________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_sys_highlight(workspace): 407s cursor_pos = {"line": 0, "character": 8} 407s 407s doc = Document(DOC_URI, workspace, SYS_DOC) 407s > assert pylsp_document_highlight(doc, cursor_pos) == [ 407s { 407s "range": { 407s "start": {"line": 0, "character": 7}, 407s "end": {"line": 0, "character": 10}, 407s }, 407s "kind": lsp.DocumentHighlightKind.Write, 407s }, 407s { 407s "range": { 407s "start": {"line": 1, "character": 6}, 407s "end": {"line": 1, "character": 9}, 407s }, 407s "kind": lsp.DocumentHighlightKind.Read, 407s }, 407s ] 407s 407s test/plugins/test_highlight.py:48: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/highlight.py:14: in pylsp_document_highlight 407s usages = document.jedi_script().get_references(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,238 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,239 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,239 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,239 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,240 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,240 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,240 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,240 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,241 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,241 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,242 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________________ test_numpy_hover _______________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_numpy_hover(workspace): 407s # Over the blank line 407s no_hov_position = {"line": 1, "character": 0} 407s # Over 'numpy' in import numpy as np 407s numpy_hov_position_1 = {"line": 2, "character": 8} 407s # Over 'np' in import numpy as np 407s numpy_hov_position_2 = {"line": 2, "character": 17} 407s # Over 'np' in np.sin 407s numpy_hov_position_3 = {"line": 3, "character": 1} 407s # Over 'sin' in np.sin 407s numpy_sin_hov_position = {"line": 3, "character": 4} 407s 407s doc = Document(DOC_URI, workspace, NUMPY_DOC) 407s 407s contents = "" 407s > assert contents in pylsp_hover(doc._config, doc, no_hov_position)["contents"] 407s 407s test/plugins/test_hover.py:41: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/hover.py:14: in pylsp_hover 407s definitions = document.jedi_script(use_document_path=True).infer(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,311 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,312 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,312 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,312 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,313 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,313 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,313 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,313 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,314 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,314 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,315 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s __________________________________ test_hover __________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_hover(workspace): 407s # Over 'main' in def main(): 407s hov_position = {"line": 2, "character": 6} 407s # Over the blank second line 407s no_hov_position = {"line": 1, "character": 0} 407s 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s contents = {"kind": "markdown", "value": "```python\nmain()\n```\n\n\nhello world"} 407s 407s > assert {"contents": contents} == pylsp_hover(doc._config, doc, hov_position) 407s 407s test/plugins/test_hover.py:84: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/hover.py:14: in pylsp_hover 407s definitions = document.jedi_script(use_document_path=True).infer(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,386 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,387 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,388 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,388 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,388 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,388 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,388 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,388 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,388 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,388 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,388 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,389 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,389 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,390 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,390 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_document_path_hover ___________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace_other_root_path = 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_document_path_hover0') 407s 407s def test_document_path_hover(workspace_other_root_path, tmpdir): 407s # Create a dummy module out of the workspace's root_path and try to get 407s # a definition on it in another file placed next to it. 407s module_content = ''' 407s def foo(): 407s """A docstring for foo.""" 407s pass 407s ''' 407s 407s p = tmpdir.join("mymodule.py") 407s p.write(module_content) 407s 407s # Content of doc to test definition 407s doc_content = """from mymodule import foo 407s foo""" 407s doc_path = str(tmpdir) + os.path.sep + "myfile.py" 407s doc_uri = uris.from_fs_path(doc_path) 407s doc = Document(doc_uri, workspace_other_root_path, doc_content) 407s 407s cursor_pos = {"line": 1, "character": 3} 407s > contents = pylsp_hover(doc._config, doc, cursor_pos)["contents"] 407s 407s test/plugins/test_hover.py:109: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/hover.py:14: in pylsp_hover 407s definitions = document.jedi_script(use_document_path=True).infer(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,459 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,460 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,461 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,461 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,461 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,461 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,461 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,461 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,462 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,462 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,463 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,463 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________________ test_jedi_rename _______________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s document = 407s position = {'character': 6, 'line': 0}, new_name = 'ShouldBeRenamed' 407s 407s @hookimpl 407s def pylsp_rename(config, workspace, document, position, new_name): 407s log.debug( 407s "Executing rename of %s to %s", document.word_at_position(position), new_name 407s ) 407s kwargs = _utils.position_to_jedi_linecolumn(document, position) 407s kwargs["new_name"] = new_name 407s try: 407s > refactoring = document.jedi_script().rename(**kwargs) 407s 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_rename.py:19: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s 407s The above exception was the direct cause of the following exception: 407s 407s tmp_workspace = 407s config = 407s 407s def test_jedi_rename(tmp_workspace, config): 407s # rename the `Test1` class 407s position = {"line": 0, "character": 6} 407s DOC_URI = uris.from_fs_path(os.path.join(tmp_workspace.root_path, DOC_NAME)) 407s doc = Document(DOC_URI, tmp_workspace) 407s 407s > result = pylsp_rename(config, tmp_workspace, doc, position, "ShouldBeRenamed") 407s 407s test/plugins/test_jedi_rename.py:42: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s config = 407s workspace = 407s document = 407s position = {'character': 6, 'line': 0}, new_name = 'ShouldBeRenamed' 407s 407s @hookimpl 407s def pylsp_rename(config, workspace, document, position, new_name): 407s log.debug( 407s "Executing rename of %s to %s", document.word_at_position(position), new_name 407s ) 407s kwargs = _utils.position_to_jedi_linecolumn(document, position) 407s kwargs["new_name"] = new_name 407s try: 407s refactoring = document.jedi_script().rename(**kwargs) 407s except NotImplementedError as exc: 407s > raise Exception( 407s "No support for renaming in Python 2/3.5 with Jedi. " 407s "Consider using the rope_rename plugin instead" 407s ) from exc 407s E Exception: No support for renaming in Python 2/3.5 with Jedi. Consider using the rope_rename plugin instead 407s 407s /usr/lib/python3/dist-packages/pylsp/plugins/jedi_rename.py:21: Exception 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:30,537 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,537 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,537 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,537 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,537 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,538 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,538 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,539 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,539 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,539 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,539 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,539 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:30,561 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:30,561 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:30,561 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:30,561 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:30,561 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:30,562 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:30,562 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:30,563 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:30,563 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,563 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,563 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:30,563 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:30,564 UTC - DEBUG - pylsp.plugins.jedi_rename - Executing rename of Test1 to ShouldBeRenamed 407s 2024-11-23 20:50:30,564 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,565 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:30,565 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.plugins.jedi_rename:jedi_rename.py:13 Executing rename of Test1 to ShouldBeRenamed 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _______________________________ test_references ________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s tmp_workspace = 407s 407s def test_references(tmp_workspace): 407s # Over 'Test1' in class Test1(): 407s position = {"line": 0, "character": 8} 407s DOC1_URI = uris.from_fs_path(os.path.join(tmp_workspace.root_path, DOC1_NAME)) 407s doc1 = Document(DOC1_URI, tmp_workspace) 407s 407s > refs = pylsp_references(doc1, position, exclude_declaration=False) 407s 407s test/plugins/test_references.py:44: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/references.py:14: in pylsp_references 407s usages = document.jedi_script().get_references(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:34,980 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:34,981 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:34,981 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:34,981 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:34,982 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:34,982 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:34,982 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:34,982 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:34,983 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:34,984 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:34,984 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_references_builtin ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s tmp_workspace = 407s 407s def test_references_builtin(tmp_workspace): 407s # Over 'UnicodeError': 407s position = {"line": 4, "character": 7} 407s doc2_uri = uris.from_fs_path(os.path.join(str(tmp_workspace.root_path), DOC2_NAME)) 407s doc2 = Document(doc2_uri, tmp_workspace) 407s 407s > refs = pylsp_references(doc2, position, exclude_declaration=False) 407s 407s test/plugins/test_references.py:74: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/references.py:14: in pylsp_references 407s usages = document.jedi_script().get_references(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,052 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,053 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,053 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,054 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,054 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,054 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,054 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,054 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,056 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,056 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,056 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ______________________________ test_no_signature _______________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_no_signature(workspace): 407s # Over blank line 407s sig_position = {"line": 9, "character": 0} 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s > sigs = signature.pylsp_signature_help(doc._config, doc, sig_position)["signatures"] 407s 407s test/plugins/test_signature.py:50: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/signature.py:21: in pylsp_signature_help 407s signatures = document.jedi_script().get_signatures(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,190 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,191 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,191 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,191 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,192 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,192 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,192 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,192 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,193 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,193 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,193 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________________ test_signature ________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_signature(workspace): 407s # Over '( ' in main( 407s sig_position = {"line": 10, "character": 5} 407s doc = Document(DOC_URI, workspace, DOC) 407s 407s > sig_info = signature.pylsp_signature_help(doc._config, doc, sig_position) 407s 407s test/plugins/test_signature.py:59: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/signature.py:21: in pylsp_signature_help 407s signatures = document.jedi_script().get_signatures(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,264 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,265 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,265 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,265 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,266 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,266 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,266 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,266 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,267 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,267 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,267 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s __________________________ test_multi_line_signature ___________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s workspace = 407s 407s def test_multi_line_signature(workspace): 407s # Over '( ' in main( 407s sig_position = {"line": 17, "character": 5} 407s doc = Document(DOC_URI, workspace, MULTI_LINE_DOC) 407s 407s > sig_info = signature.pylsp_signature_help(doc._config, doc, sig_position) 407s 407s test/plugins/test_signature.py:78: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/signature.py:21: in pylsp_signature_help 407s signatures = document.jedi_script().get_signatures(**code_position) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,345 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,345 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,345 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,345 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,345 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,346 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,346 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,346 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,347 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,347 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,347 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,347 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,348 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,349 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,349 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s _________________________________ test_symbols _________________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_symbols(config, workspace): 407s doc = Document(DOC_URI, workspace, DOC) 407s config.update({"plugins": {"jedi_symbols": {"all_scopes": False}}}) 407s > symbols = pylsp_document_symbols(config, doc) 407s 407s test/plugins/test_symbols.py:54: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/symbols.py:18: in pylsp_document_symbols 407s definitions = document.jedi_names(all_scopes=all_scopes) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:500: in jedi_names 407s script = self.jedi_script() 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,423 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,424 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,424 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,424 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,424 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,425 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,425 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,425 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,445 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,446 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,446 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,446 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,447 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,447 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,447 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,447 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,448 UTC - INFO - pylsp.config.config - Updated settings to {'plugins': {'jedi_symbols': {'all_scopes': False}}} 407s 2024-11-23 20:50:35,448 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,448 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_symbols': {'all_scopes': False}}} 407s 2024-11-23 20:50:35,449 UTC - INFO - pylsp.config.config - Disabled plugins: [] 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_symbols': {'all_scopes': False}}} 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,449 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,450 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s INFO pylsp.config.config:config.py:192 Updated settings to {'plugins': {'jedi_symbols': {'all_scopes': False}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_symbols': {'all_scopes': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [] 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}, 'jedi_symbols': {'all_scopes': False}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_symbols_all_scopes ____________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s 407s def test_symbols_all_scopes(config, workspace): 407s doc = Document(DOC_URI, workspace, DOC) 407s > symbols = pylsp_document_symbols(config, doc) 407s 407s test/plugins/test_symbols.py:78: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/symbols.py:18: in pylsp_document_symbols 407s definitions = document.jedi_names(all_scopes=all_scopes) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:500: in jedi_names 407s script = self.jedi_script() 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,534 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,535 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,535 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,535 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,536 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,536 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,536 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,536 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,557 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,558 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,558 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,558 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,558 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,558 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,558 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,558 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,558 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,559 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,559 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,560 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ________________________ test_symbols_non_existing_file ________________________ 407s 407s self = , args = (), kwargs = {} 407s cache_dict = {: {}, : {((), f...on313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', ...]}} 407s dct = {}, key = ((), frozenset()) 407s 407s @wraps(method) 407s def wrapper(self, *args, **kwargs): 407s cache_dict = self.__dict__.setdefault('_memoize_method_dct', {}) 407s dct = cache_dict.setdefault(method, {}) 407s key = (args, frozenset(kwargs.items())) 407s try: 407s > return dct[key] 407s E KeyError: ((), frozenset()) 407s 407s /usr/lib/python3/dist-packages/jedi/cache.py:110: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s > return _loaded_grammars[path] 407s E KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:252: KeyError 407s 407s During handling of the above exception, another exception occurred: 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s > with open(path) as f: 407s E FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:255: FileNotFoundError 407s 407s During handling of the above exception, another exception occurred: 407s 407s config = 407s workspace = 407s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_symbols_non_existing_file0') 407s 407s def test_symbols_non_existing_file(config, workspace, tmpdir): 407s path = tmpdir.join("foo.py") 407s # Check pre-condition: file must not exist 407s assert not path.check(exists=1) 407s 407s doc = Document(uris.from_fs_path(str(path)), workspace, DOC) 407s > symbols = pylsp_document_symbols(config, doc) 407s 407s test/plugins/test_symbols.py:88: 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s /usr/lib/python3/dist-packages/pylsp/plugins/symbols.py:18: in pylsp_document_symbols 407s definitions = document.jedi_names(all_scopes=all_scopes) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:500: in jedi_names 407s script = self.jedi_script() 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:33: in wrapper 407s return method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/pylsp/workspace.py:556: in jedi_script 407s return jedi.Script(**kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/__init__.py:119: in __init__ 407s self._inference_state = InferenceState( 407s /usr/lib/python3/dist-packages/jedi/inference/__init__.py:91: in __init__ 407s self.grammar = environment.get_grammar() 407s /usr/lib/python3/dist-packages/jedi/cache.py:112: in wrapper 407s result = method(self, *args, **kwargs) 407s /usr/lib/python3/dist-packages/jedi/api/environment.py:37: in get_grammar 407s return parso.load_grammar(version=version_string) 407s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 407s 407s def load_grammar(*, version: str = None, path: str = None): 407s """ 407s Loads a :py:class:`parso.Grammar`. The default version is the current Python 407s version. 407s 407s :param str version: A python version string, e.g. ``version='3.8'``. 407s :param str path: A path to a grammar file 407s """ 407s version_info = parse_version_string(version) 407s 407s file = path or os.path.join( 407s 'python', 407s 'grammar%s%s.txt' % (version_info.major, version_info.minor) 407s ) 407s 407s global _loaded_grammars 407s path = os.path.join(os.path.dirname(__file__), file) 407s try: 407s return _loaded_grammars[path] 407s except KeyError: 407s try: 407s with open(path) as f: 407s bnf_text = f.read() 407s 407s grammar = PythonGrammar(version_info, bnf_text) 407s return _loaded_grammars.setdefault(path, grammar) 407s except FileNotFoundError: 407s message = "Python version %s.%s is currently not supported." % ( 407s version_info.major, version_info.minor 407s ) 407s > raise NotImplementedError(message) 407s E NotImplementedError: Python version 3.13 is currently not supported. 407s 407s /usr/lib/python3/dist-packages/parso/grammar.py:264: NotImplementedError 407s ---------------------------- Captured stderr setup ----------------------------- 407s 2024-11-23 20:50:35,640 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,640 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,640 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,640 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,640 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,641 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,641 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,641 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,642 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,642 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,642 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,642 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:35,663 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:35,664 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:35,664 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:35,664 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:35,664 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,665 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,665 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:35,665 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s ------------------------------ Captured log setup ------------------------------ 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:35,666 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,666 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,666 UTC - DEBUG - pylsp.config.config - With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s 2024-11-23 20:50:35,666 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,667 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:35,667 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s ___________________________ test_notebook_definition ___________________________ 407s 407s client_server_pair = (, ) 407s 407s @pytest.mark.skipif(IS_WIN, reason="Flaky on Windows") 407s def test_notebook_definition(client_server_pair): 407s client, server = client_server_pair 407s send_initialize_request(client) 407s 407s # Open notebook 407s with patch.object(server._endpoint, "notify") as mock_notify: 407s send_notebook_did_open(client, ["y=2\nx=1", "x"]) 407s # wait for expected diagnostics messages 407s wait_for_condition(lambda: mock_notify.call_count >= 2) 407s assert len(server.workspace.documents) == 3 407s for uri in ["cell_1_uri", "cell_2_uri", "notebook_uri"]: 407s assert uri in server.workspace.documents 407s 407s future = client._endpoint.request( 407s "textDocument/definition", 407s { 407s "textDocument": { 407s "uri": "cell_2_uri", 407s }, 407s "position": {"line": 0, "character": 1}, 407s }, 407s ) 407s result = future.result(CALL_TIMEOUT_IN_SECONDS) 407s > assert result == [ 407s { 407s "uri": "cell_1_uri", 407s "range": { 407s "start": {"line": 1, "character": 0}, 407s "end": {"line": 1, "character": 1}, 407s }, 407s } 407s ] 407s E AssertionError: assert [] == [{'range': {'...'cell_1_uri'}] 407s E 407s E Right contains one more item: {'range': {'end': {'character': 1, 'line': 1}, 'start': {'character': 0, 'line': 1}}, 'uri': 'cell_1_uri'} 407s E Use -v to get more diff 407s 407s test/test_notebook_document.py:481: AssertionError 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:40,927 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 963abdaf-0842-4930-a4f0-79a49b031ce3: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None} 407s 2024-11-23 20:50:40,927 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '963abdaf-0842-4930-a4f0-79a49b031ce3', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None}} 407s 2024-11-23 20:50:40,927 UTC - DEBUG - pylsp.python_lsp - Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test None 407s 2024-11-23 20:50:40,946 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:40,947 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:40,948 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:40,948 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:40,948 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:40,948 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:40,948 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:40,948 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - finish pylsp_dispatchers --> [] [hook] 407s 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:40,949 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module PIL 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module array 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module binascii 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module cmath 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module collections 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module datetime 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module errno 407s 2024-11-23 20:50:40,950 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module gc 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module itertools 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module marshal 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module math 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module matplotlib 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mmap 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mpmath 407s 2024-11-23 20:50:40,951 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module numpy 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module operator 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os.path 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module pandas 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module scipy 407s 2024-11-23 20:50:40,952 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module signal 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sympy 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sys 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module time 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module xxsubtype 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zipimport 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zlib 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.config.config - finish pylsp_initialize --> [] [hook] 407s 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.config.config - pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.config.config - finish pylsp_commands --> [] [hook] 407s 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.config.config - pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:40,953 UTC - DEBUG - pylsp.config.config - finish pylsp_experimental_capabilities --> [] [hook] 407s 407s 2024-11-23 20:50:40,953 UTC - INFO - pylsp.python_lsp - Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s 2024-11-23 20:50:40,954 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:40,954 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '963abdaf-0842-4930-a4f0-79a49b031ce3', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s 2024-11-23 20:50:40,954 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 963abdaf-0842-4930-a4f0-79a49b031ce3: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:40,955 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'y=2\nx=1'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'x'}]} 407s 2024-11-23 20:50:40,955 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'y=2\nx=1'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'x'}]}} 407s 2024-11-23 20:50:40,955 UTC - WARNING - pylsp._utils - Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:40,955 UTC - WARNING - pylsp._utils - Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:41,456 UTC - WARNING - pylsp._utils - Path 0c864717-77ee-4b02-9a5f-ec27ccc52311 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:41,456 UTC - DEBUG - pylsp.config.config - pylsp_lint [hook] 407s config: 407s workspace: 407s document: 0c864717-77ee-4b02-9a5f-ec27ccc52311 407s is_saved: True 407s 407s 2024-11-23 20:50:41,457 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,457 UTC - WARNING - pylsp._utils - Path 0c864717-77ee-4b02-9a5f-ec27ccc52311 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:41,457 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,457 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:41,458 UTC - DEBUG - pylsp.plugins.pycodestyle_lint - Got pycodestyle settings: {} 407s 2024-11-23 20:50:41,458 UTC - DEBUG - pylsp.plugins.mccabe_lint - Running mccabe lint with threshold: 15 407s 2024-11-23 20:50:41,459 UTC - DEBUG - pylsp.config.config - finish pylsp_lint --> [[], [{'source': 'pycodestyle', 'range': {'start': {'line': 0, 'character': 1}, 'end': {'line': 0, 'character': 4}}, 'message': 'E225 missing whitespace around operator', 'code': 'E225', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 1}, 'end': {'line': 1, 'character': 4}}, 'message': 'E225 missing whitespace around operator', 'code': 'E225', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 2, 'character': 1}, 'end': {'line': 2, 'character': 1}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s 2024-11-23 20:50:41,556 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 1fba2ca9-575c-4a8e-b479-c25d5e9225a5: textDocument/definition {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 1}} 407s 2024-11-23 20:50:41,556 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '1fba2ca9-575c-4a8e-b479-c25d5e9225a5', 'method': 'textDocument/definition', 'params': {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 1}}} 407s 2024-11-23 20:50:41,557 UTC - DEBUG - pylsp.config.config - pylsp_definitions [hook] 407s config: 407s workspace: 407s document: file:///tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test/8fe5c445-9564-4531-bc02-735031e52737 407s position: {'line': 2, 'character': 1} 407s 407s 2024-11-23 20:50:41,557 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,557 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,557 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:41,558 UTC - WARNING - pylsp.config.config - Failed to load hook pylsp_definitions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 407s return dct[key] 407s ~~~^^^^^ 407s KeyError: ((), frozenset()) 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/definition.py", line 50, in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 33, in wrapper 407s return method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 556, in jedi_script 407s return jedi.Script(**kwargs) 407s ~~~~~~~~~~~^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 407s self._inference_state = InferenceState( 407s ~~~~~~~~~~~~~~^ 407s project, environment=environment, script_path=self.path 407s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s ) 407s ^ 407s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 407s self.grammar = environment.get_grammar() 407s ~~~~~~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 407s result = method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 407s return parso.load_grammar(version=version_string) 407s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s 2024-11-23 20:50:41,560 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: [] 407s 2024-11-23 20:50:41,560 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '1fba2ca9-575c-4a8e-b479-c25d5e9225a5', 'result': []} 407s 2024-11-23 20:50:41,560 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 1fba2ca9-575c-4a8e-b479-c25d5e9225a5: [] 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 963abdaf-0842-4930-a4f0-79a49b031ce3: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '963abdaf-0842-4930-a4f0-79a49b031ce3', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None}} 407s DEBUG pylsp.python_lsp:python_lsp.py:310 Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test None 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_dispatchers --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module PIL 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module array 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module binascii 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module cmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module collections 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module datetime 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module errno 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module gc 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module itertools 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module marshal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module math 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module matplotlib 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mmap 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mpmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module numpy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module operator 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os.path 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module pandas 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module scipy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module signal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sympy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sys 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module time 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module xxsubtype 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zipimport 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zlib 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_initialize --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_commands --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_experimental_capabilities --> [] [hook] 407s 407s INFO pylsp.python_lsp:python_lsp.py:298 Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '963abdaf-0842-4930-a4f0-79a49b031ce3', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 963abdaf-0842-4930-a4f0-79a49b031ce3: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'y=2\nx=1'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'x'}]} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'y=2\nx=1'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'x'}]}} 407s WARNING pylsp._utils:_utils.py:91 Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path 0c864717-77ee-4b02-9a5f-ec27ccc52311 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_lint [hook] 407s config: 407s workspace: 407s document: 0c864717-77ee-4b02-9a5f-ec27ccc52311 407s is_saved: True 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s WARNING pylsp._utils:_utils.py:91 Path 0c864717-77ee-4b02-9a5f-ec27ccc52311 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins.pycodestyle_lint:pycodestyle_lint.py:31 Got pycodestyle settings: {} 407s DEBUG pylsp.plugins.mccabe_lint:mccabe_lint.py:23 Running mccabe lint with threshold: 15 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_lint --> [[], [{'source': 'pycodestyle', 'range': {'start': {'line': 0, 'character': 1}, 'end': {'line': 0, 'character': 4}}, 'message': 'E225 missing whitespace around operator', 'code': 'E225', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 1}, 'end': {'line': 1, 'character': 4}}, 'message': 'E225 missing whitespace around operator', 'code': 'E225', 'severity': 2}, {'source': 'pycodestyle', 'range': {'start': {'line': 2, 'character': 1}, 'end': {'line': 2, 'character': 1}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 1fba2ca9-575c-4a8e-b479-c25d5e9225a5: textDocument/definition {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 1}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '1fba2ca9-575c-4a8e-b479-c25d5e9225a5', 'method': 'textDocument/definition', 'params': {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 1}}} 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_definitions [hook] 407s config: 407s workspace: 407s document: file:///tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test/8fe5c445-9564-4531-bc02-735031e52737 407s position: {'line': 2, 'character': 1} 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s WARNING pylsp.config.config:config.py:41 Failed to load hook pylsp_definitions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 407s return dct[key] 407s ~~~^^^^^ 407s KeyError: ((), frozenset()) 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/definition.py", line 50, in pylsp_definitions 407s script = document.jedi_script(use_document_path=True) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 33, in wrapper 407s return method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 556, in jedi_script 407s return jedi.Script(**kwargs) 407s ~~~~~~~~~~~^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 407s self._inference_state = InferenceState( 407s ~~~~~~~~~~~~~~^ 407s project, environment=environment, script_path=self.path 407s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s ) 407s ^ 407s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 407s self.grammar = environment.get_grammar() 407s ~~~~~~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 407s result = method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 407s return parso.load_grammar(version=version_string) 407s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: [] 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '1fba2ca9-575c-4a8e-b479-c25d5e9225a5', 'result': []} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 1fba2ca9-575c-4a8e-b479-c25d5e9225a5: [] 407s --------------------------- Captured stderr teardown --------------------------- 407s 2024-11-23 20:50:41,574 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 15ac9a4c-d52c-4561-9798-238a14ea8bd7: shutdown None 407s 2024-11-23 20:50:41,574 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '15ac9a4c-d52c-4561-9798-238a14ea8bd7', 'method': 'shutdown'} 407s 2024-11-23 20:50:41,574 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: None 407s 2024-11-23 20:50:41,574 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '15ac9a4c-d52c-4561-9798-238a14ea8bd7', 'result': None} 407s 2024-11-23 20:50:41,575 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 15ac9a4c-d52c-4561-9798-238a14ea8bd7: None 407s 2024-11-23 20:50:41,575 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: exit None 407s 2024-11-23 20:50:41,575 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s ---------------------------- Captured log teardown ----------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 15ac9a4c-d52c-4561-9798-238a14ea8bd7: shutdown None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '15ac9a4c-d52c-4561-9798-238a14ea8bd7', 'method': 'shutdown'} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '15ac9a4c-d52c-4561-9798-238a14ea8bd7', 'result': None} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 15ac9a4c-d52c-4561-9798-238a14ea8bd7: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: exit None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s ___________________________ test_notebook_completion ___________________________ 407s 407s client_server_pair = (, ) 407s 407s @pytest.mark.skipif(IS_WIN, reason="Flaky on Windows") 407s def test_notebook_completion(client_server_pair): 407s """ 407s Tests that completions work across cell boundaries for notebook document support 407s """ 407s client, server = client_server_pair 407s send_initialize_request(client) 407s 407s # Open notebook 407s with patch.object(server._endpoint, "notify") as mock_notify: 407s send_notebook_did_open( 407s client, ["answer_to_life_universe_everything = 42", "answer_"] 407s ) 407s # wait for expected diagnostics messages 407s wait_for_condition(lambda: mock_notify.call_count >= 2) 407s assert len(server.workspace.documents) == 3 407s for uri in ["cell_1_uri", "cell_2_uri", "notebook_uri"]: 407s assert uri in server.workspace.documents 407s 407s future = client._endpoint.request( 407s "textDocument/completion", 407s { 407s "textDocument": { 407s "uri": "cell_2_uri", 407s }, 407s "position": {"line": 0, "character": 7}, 407s }, 407s ) 407s result = future.result(CALL_TIMEOUT_IN_SECONDS) 407s > assert result == { 407s "isIncomplete": False, 407s "items": [ 407s { 407s "data": {"doc_uri": "cell_2_uri"}, 407s "insertText": "answer_to_life_universe_everything", 407s "kind": 6, 407s "label": "answer_to_life_universe_everything", 407s "sortText": "aanswer_to_life_universe_everything", 407s }, 407s ], 407s } 407s E AssertionError: assert {'isIncomplet..., 'items': []} == {'isIncomplet...thing', ...}]} 407s E 407s E Omitting 1 identical items, use -vv to show 407s E Differing items: 407s E {'items': []} != {'items': [{'data': {'doc_uri': 'cell_2_uri'}, 'insertText': 'answer_to_life_universe_everything', 'kind': 6, 'label': 'answer_to_life_universe_everything', ...}]} 407s E Use -v to get more diff 407s 407s test/test_notebook_document.py:521: AssertionError 407s ----------------------------- Captured stderr call ----------------------------- 407s 2024-11-23 20:50:41,577 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 28c4bc57-abc6-48ab-93a4-102d88735535: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None} 407s 2024-11-23 20:50:41,577 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '28c4bc57-abc6-48ab-93a4-102d88735535', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None}} 407s 2024-11-23 20:50:41,578 UTC - DEBUG - pylsp.python_lsp - Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test None 407s 2024-11-23 20:50:41,597 UTC - INFO - pylsp.config.config - Loaded pylsp plugin autopep8 from 407s 2024-11-23 20:50:41,597 UTC - INFO - pylsp.config.config - Loaded pylsp plugin flake8 from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin folding from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_completion from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_definition from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_highlight from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_hover from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_references from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_rename from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_signature_help from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin jedi_symbols from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin mccabe from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin preload from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pycodestyle from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pydocstyle from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pyflakes from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin pylint from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_autoimport from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_completion from 407s 2024-11-23 20:50:41,598 UTC - INFO - pylsp.config.config - Loaded pylsp plugin rope_rename from 407s 2024-11-23 20:50:41,599 UTC - INFO - pylsp.config.config - Loaded pylsp plugin yapf from 407s 2024-11-23 20:50:41,599 UTC - DEBUG - pylsp.config.config - pylsp_settings [hook] 407s config: 407s 407s 2024-11-23 20:50:41,599 UTC - DEBUG - pylsp.config.config - finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s 2024-11-23 20:50:41,599 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,599 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,599 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:41,599 UTC - INFO - pylsp.config.config - Disabled plugins: [, , , , , ] 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - finish pylsp_dispatchers --> [] [hook] 407s 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:41,600 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module PIL 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module array 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module binascii 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module cmath 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module collections 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module datetime 407s 2024-11-23 20:50:41,601 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module errno 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module gc 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module itertools 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module marshal 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module math 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module matplotlib 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mmap 407s 2024-11-23 20:50:41,602 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module mpmath 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module numpy 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module operator 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module os.path 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module pandas 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module scipy 407s 2024-11-23 20:50:41,603 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module signal 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sympy 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module sys 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module time 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module xxsubtype 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zipimport 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.plugins.preload_imports - Preloaded module zlib 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.config.config - finish pylsp_initialize --> [] [hook] 407s 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.config.config - pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.config.config - finish pylsp_commands --> [] [hook] 407s 407s 2024-11-23 20:50:41,604 UTC - DEBUG - pylsp.config.config - pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s 2024-11-23 20:50:41,605 UTC - DEBUG - pylsp.config.config - finish pylsp_experimental_capabilities --> [] [hook] 407s 407s 2024-11-23 20:50:41,605 UTC - INFO - pylsp.python_lsp - Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s 2024-11-23 20:50:41,605 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:41,605 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '28c4bc57-abc6-48ab-93a4-102d88735535', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s 2024-11-23 20:50:41,605 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 28c4bc57-abc6-48ab-93a4-102d88735535: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s 2024-11-23 20:50:41,606 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'answer_to_life_universe_everything = 42'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'answer_'}]} 407s 2024-11-23 20:50:41,606 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'answer_to_life_universe_everything = 42'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'answer_'}]}} 407s 2024-11-23 20:50:41,606 UTC - WARNING - pylsp._utils - Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:41,606 UTC - WARNING - pylsp._utils - Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:42,107 UTC - WARNING - pylsp._utils - Path ce5ffe42-5e0f-4b73-a483-f1c0bebede11 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:42,107 UTC - DEBUG - pylsp.config.config - pylsp_lint [hook] 407s config: 407s workspace: 407s document: ce5ffe42-5e0f-4b73-a483-f1c0bebede11 407s is_saved: True 407s 407s 2024-11-23 20:50:42,108 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:42,108 UTC - WARNING - pylsp._utils - Path ce5ffe42-5e0f-4b73-a483-f1c0bebede11 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s 2024-11-23 20:50:42,108 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:42,108 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:42,109 UTC - DEBUG - pylsp.plugins.pycodestyle_lint - Got pycodestyle settings: {} 407s 2024-11-23 20:50:42,109 UTC - DEBUG - pylsp.plugins.mccabe_lint - Running mccabe lint with threshold: 15 407s 2024-11-23 20:50:42,110 UTC - DEBUG - pylsp.config.config - finish pylsp_lint --> [[{'source': 'pyflakes', 'range': {'start': {'line': 1, 'character': 0}, 'end': {'line': 1, 'character': 7}}, 'message': "undefined name 'answer_'", 'severity': 1}], [{'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 7}, 'end': {'line': 1, 'character': 7}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s 2024-11-23 20:50:42,207 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 634ccae3-0f3f-434f-9d13-2b51c9b70864: textDocument/completion {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 7}} 407s 2024-11-23 20:50:42,208 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '634ccae3-0f3f-434f-9d13-2b51c9b70864', 'method': 'textDocument/completion', 'params': {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 7}}} 407s 2024-11-23 20:50:42,208 UTC - DEBUG - pylsp.config.config - pylsp_completions [hook] 407s config: 407s workspace: 407s document: file:///tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test/892c6c3d-a1a6-441e-a3e9-be2e9002fbfa 407s position: {'line': 1, 'character': 7} 407s ignored_names: None 407s 407s 2024-11-23 20:50:42,209 UTC - DEBUG - pylsp.config.config - Got user config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:42,209 UTC - DEBUG - pylsp.config.config - Got project config from PyCodeStyleConfig: {} 407s 2024-11-23 20:50:42,209 UTC - DEBUG - pylsp.config.config - With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s 2024-11-23 20:50:42,209 UTC - WARNING - pylsp.config.config - Failed to load hook pylsp_completions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 407s return dct[key] 407s ~~~^^^^^ 407s KeyError: ((), frozenset()) 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py", line 46, in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 33, in wrapper 407s return method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 556, in jedi_script 407s return jedi.Script(**kwargs) 407s ~~~~~~~~~~~^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 407s self._inference_state = InferenceState( 407s ~~~~~~~~~~~~~~^ 407s project, environment=environment, script_path=self.path 407s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s ) 407s ^ 407s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 407s self.grammar = environment.get_grammar() 407s ~~~~~~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 407s result = method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 407s return parso.load_grammar(version=version_string) 407s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s 2024-11-23 20:50:42,212 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: {'isIncomplete': False, 'items': []} 407s 2024-11-23 20:50:42,212 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '634ccae3-0f3f-434f-9d13-2b51c9b70864', 'result': {'isIncomplete': False, 'items': []}} 407s 2024-11-23 20:50:42,212 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 634ccae3-0f3f-434f-9d13-2b51c9b70864: {'isIncomplete': False, 'items': []} 407s ------------------------------ Captured log call ------------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 28c4bc57-abc6-48ab-93a4-102d88735535: initialize {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '28c4bc57-abc6-48ab-93a4-102d88735535', 'method': 'initialize', 'params': {'processId': 1234, 'rootPath': '/tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test', 'initializationOptions': None}} 407s DEBUG pylsp.python_lsp:python_lsp.py:310 Language server initialized with 1234 None /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test None 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin autopep8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin flake8 from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin folding from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_definition from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_highlight from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_hover from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_references from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_signature_help from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin jedi_symbols from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin mccabe from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin preload from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pycodestyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pydocstyle from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pyflakes from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin pylint from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_autoimport from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_completion from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin rope_rename from 407s INFO pylsp.config.config:config.py:93 Loaded pylsp plugin yapf from 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_settings [hook] 407s config: 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_settings --> [{'plugins': {'rope_rename': {'enabled': False}}}, {'plugins': {'rope_completion': {'enabled': False, 'eager': False}}}, {'plugins': {'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}}}, {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}, {'plugins': {'pydocstyle': {'enabled': False}}}, {'plugins': {'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, 'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}}, {'plugins': {'flake8': {'enabled': False}}}] [hook] 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s INFO pylsp.config.config:config.py:202 Disabled plugins: [, , , , , ] 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_dispatchers [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_dispatchers --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_initialize [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module PIL 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module array 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module binascii 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module cmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module collections 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module datetime 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module errno 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module gc 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module itertools 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module marshal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module math 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module matplotlib 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mmap 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module mpmath 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module numpy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module operator 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module os.path 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module pandas 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module scipy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module signal 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sympy 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module sys 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module time 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module xxsubtype 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zipimport 407s DEBUG pylsp.plugins.preload_imports:preload_imports.py:74 Preloaded module zlib 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_initialize --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_commands [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_commands --> [] [hook] 407s 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_experimental_capabilities [hook] 407s config: 407s workspace: 407s document: None 407s 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_experimental_capabilities --> [] [hook] 407s 407s INFO pylsp.python_lsp:python_lsp.py:298 Server capabilities: {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '28c4bc57-abc6-48ab-93a4-102d88735535', 'result': {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 28c4bc57-abc6-48ab-93a4-102d88735535: {'capabilities': {'codeActionProvider': True, 'codeLensProvider': {'resolveProvider': False}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.']}, 'documentFormattingProvider': True, 'documentHighlightProvider': True, 'documentRangeFormattingProvider': True, 'documentSymbolProvider': True, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': True, 'referencesProvider': True, 'renameProvider': True, 'foldingRangeProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '=']}, 'textDocumentSync': {'change': 2, 'save': {'includeText': True}, 'openClose': True}, 'notebookDocumentSync': {'notebookSelector': [{'cells': [{'language': 'python'}]}]}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}, 'experimental': {}}, 'serverInfo': {'name': 'pylsp', 'version': '1.10.1'}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: notebookDocument/didOpen {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'answer_to_life_universe_everything = 42'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'answer_'}]} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'notebookDocument/didOpen', 'params': {'notebookDocument': {'uri': 'notebook_uri', 'notebookType': 'jupyter-notebook', 'cells': [{'kind': 2, 'document': 'cell_1_uri'}, {'kind': 2, 'document': 'cell_2_uri'}]}, 'cellTextDocuments': [{'uri': 'cell_1_uri', 'languageId': 'python', 'text': 'answer_to_life_universe_everything = 42'}, {'uri': 'cell_2_uri', 'languageId': 'python', 'text': 'answer_'}]}} 407s WARNING pylsp._utils:_utils.py:91 Path cell_1_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path cell_2_uri not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s WARNING pylsp._utils:_utils.py:91 Path ce5ffe42-5e0f-4b73-a483-f1c0bebede11 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_lint [hook] 407s config: 407s workspace: 407s document: ce5ffe42-5e0f-4b73-a483-f1c0bebede11 407s is_saved: True 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s WARNING pylsp._utils:_utils.py:91 Path ce5ffe42-5e0f-4b73-a483-f1c0bebede11 not in /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s DEBUG pylsp.plugins.pycodestyle_lint:pycodestyle_lint.py:31 Got pycodestyle settings: {} 407s DEBUG pylsp.plugins.mccabe_lint:mccabe_lint.py:23 Running mccabe lint with threshold: 15 407s DEBUG pylsp.config.config:_tracing.py:45 finish pylsp_lint --> [[{'source': 'pyflakes', 'range': {'start': {'line': 1, 'character': 0}, 'end': {'line': 1, 'character': 7}}, 'message': "undefined name 'answer_'", 'severity': 1}], [{'source': 'pycodestyle', 'range': {'start': {'line': 1, 'character': 7}, 'end': {'line': 1, 'character': 7}}, 'message': 'W292 no newline at end of file', 'code': 'W292', 'severity': 2}], []] [hook] 407s 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 634ccae3-0f3f-434f-9d13-2b51c9b70864: textDocument/completion {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 7}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '634ccae3-0f3f-434f-9d13-2b51c9b70864', 'method': 'textDocument/completion', 'params': {'textDocument': {'uri': 'cell_2_uri'}, 'position': {'line': 0, 'character': 7}}} 407s DEBUG pylsp.config.config:_tracing.py:45 pylsp_completions [hook] 407s config: 407s workspace: 407s document: file:///tmp/autopkgtest.lr74z2/autopkgtest_tmp/build/test/892c6c3d-a1a6-441e-a3e9-be2e9002fbfa 407s position: {'line': 1, 'character': 7} 407s ignored_names: None 407s 407s DEBUG pylsp.config.config:config.py:157 Got user config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:168 Got project config from PyCodeStyleConfig: {} 407s DEBUG pylsp.config.config:config.py:173 With configuration: {'rope': {'extensionModules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'plugins': {'rope_completion': {'enabled': False, 'eager': False}, 'pylint': {'enabled': False, 'args': [], 'executable': None}, 'rope_autoimport': {'enabled': False, 'memory': False, 'completions': {'enabled': True}, 'code_actions': {'enabled': True}}, 'rope_rename': {'enabled': False}, 'preload': {'modules': ['OpenGL', 'PIL', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'matplotlib', 'mmap', 'mpmath', 'msvcrt', 'networkx', 'nose', 'nt', 'numpy', 'operator', 'os', 'os.path', 'pandas', 'parser', 'rgbimg', 'scipy', 'signal', 'skimage', 'sklearn', 'statsmodels', 'strop', 'sympy', 'sys', 'thread', 'time', 'wx', 'xxsubtype', 'zipimport', 'zlib']}, 'flake8': {'enabled': False}, 'pydocstyle': {'enabled': False}}} 407s WARNING pylsp.config.config:config.py:41 Failed to load hook pylsp_completions: Python version 3.13 is currently not supported. 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 110, in wrapper 407s return dct[key] 407s ~~~^^^^^ 407s KeyError: ((), frozenset()) 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 252, in load_grammar 407s return _loaded_grammars[path] 407s ~~~~~~~~~~~~~~~~^^^^^^ 407s KeyError: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 255, in load_grammar 407s with open(path) as f: 407s ~~~~^^^^^^ 407s FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/parso/python/grammar313.txt' 407s 407s During handling of the above exception, another exception occurred: 407s 407s Traceback (most recent call last): 407s File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 39, in _hookexec 407s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 480, in traced_hookexec 407s return outcome.get_result() 407s ~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in get_result 407s raise exc.with_traceback(exc.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 62, in from_call 407s result = func() 407s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 477, in 407s lambda: oldcall(hook_name, hook_impls, caller_kwargs, firstresult) 407s ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall 407s raise exception.with_traceback(exception.__traceback__) 407s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall 407s res = hook_impl.function(*args) 407s File "/usr/lib/python3/dist-packages/pylsp/plugins/jedi_completion.py", line 46, in pylsp_completions 407s completions = document.jedi_script(use_document_path=True).complete(**code_position) 407s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 33, in wrapper 407s return method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 556, in jedi_script 407s return jedi.Script(**kwargs) 407s ~~~~~~~~~~~^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/jedi/api/__init__.py", line 119, in __init__ 407s self._inference_state = InferenceState( 407s ~~~~~~~~~~~~~~^ 407s project, environment=environment, script_path=self.path 407s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407s ) 407s ^ 407s File "/usr/lib/python3/dist-packages/jedi/inference/__init__.py", line 91, in __init__ 407s self.grammar = environment.get_grammar() 407s ~~~~~~~~~~~~~~~~~~~~~~~^^ 407s File "/usr/lib/python3/dist-packages/jedi/cache.py", line 112, in wrapper 407s result = method(self, *args, **kwargs) 407s File "/usr/lib/python3/dist-packages/jedi/api/environment.py", line 37, in get_grammar 407s return parso.load_grammar(version=version_string) 407s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ 407s File "/usr/lib/python3/dist-packages/parso/grammar.py", line 264, in load_grammar 407s raise NotImplementedError(message) 407s NotImplementedError: Python version 3.13 is currently not supported. 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: {'isIncomplete': False, 'items': []} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '634ccae3-0f3f-434f-9d13-2b51c9b70864', 'result': {'isIncomplete': False, 'items': []}} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 634ccae3-0f3f-434f-9d13-2b51c9b70864: {'isIncomplete': False, 'items': []} 407s --------------------------- Captured stderr teardown --------------------------- 407s 2024-11-23 20:50:42,337 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending request with id 77216f52-0db4-4470-b8ea-9aa87d7021bc: shutdown None 407s 2024-11-23 20:50:42,338 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling request from client {'jsonrpc': '2.0', 'id': '77216f52-0db4-4470-b8ea-9aa87d7021bc', 'method': 'shutdown'} 407s 2024-11-23 20:50:42,338 UTC - DEBUG - pylsp_jsonrpc.endpoint - Got result from synchronous request handler: None 407s 2024-11-23 20:50:42,338 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling response from client {'jsonrpc': '2.0', 'id': '77216f52-0db4-4470-b8ea-9aa87d7021bc', 'result': None} 407s 2024-11-23 20:50:42,338 UTC - DEBUG - pylsp_jsonrpc.endpoint - Received result for message 77216f52-0db4-4470-b8ea-9aa87d7021bc: None 407s 2024-11-23 20:50:42,338 UTC - DEBUG - pylsp_jsonrpc.endpoint - Sending notification: exit None 407s 2024-11-23 20:50:42,339 UTC - DEBUG - pylsp_jsonrpc.endpoint - Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s ---------------------------- Captured log teardown ----------------------------- 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:72 Sending request with id 77216f52-0db4-4470-b8ea-9aa87d7021bc: shutdown None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:116 Handling request from client {'jsonrpc': '2.0', 'id': '77216f52-0db4-4470-b8ea-9aa87d7021bc', 'method': 'shutdown'} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:209 Got result from synchronous request handler: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:112 Handling response from client {'jsonrpc': '2.0', 'id': '77216f52-0db4-4470-b8ea-9aa87d7021bc', 'result': None} 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:260 Received result for message 77216f52-0db4-4470-b8ea-9aa87d7021bc: None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:50 Sending notification: exit None 407s DEBUG pylsp_jsonrpc.endpoint:endpoint.py:109 Handling notification from client {'jsonrpc': '2.0', 'method': 'exit'} 407s =============================== warnings summary =============================== 407s test/plugins/test_autoimport.py::test_autoimport_completion[completions0] 407s test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 407s test/plugins/test_completion.py::test_rope_completion 407s test/plugins/test_completion.py::test_rope_completion 407s test/plugins/test_rope_rename.py::test_rope_rename 407s test/plugins/test_rope_rename.py::test_rope_rename 407s /usr/lib/python3/dist-packages/rope/base/project.py:230: DeprecationWarning: Delete once deprecated functions are gone 407s self._init_source_folders() 407s 407s test/plugins/test_autoimport.py::test_autoimport_completion[completions0] 407s test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 407s /usr/lib/python3/dist-packages/rope/contrib/autoimport/sqlite.py:507: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 407s datetime.utcnow().isoformat(), 407s 407s test/plugins/test_autoimport.py: 16 warnings 407s /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=4172) is multi-threaded, use of fork() may lead to deadlocks in the child. 407s self.pid = os.fork() 407s 407s test/plugins/test_completion.py::test_rope_completion 407s test/plugins/test_rope_rename.py::test_rope_rename 407s test/plugins/test_rope_rename.py::test_rope_rename 407s /usr/lib/python3/dist-packages/rope/base/libutils.py:35: DeprecationWarning: relative is deprecated 407s return relative(project.address, path) 407s 407s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 407s ===Flaky Test Report=== 407s 407s test_initialize passed 1 out of the required 1 times. Success! 407s test_missing_message passed 1 out of the required 1 times. Success! 407s test_debounce passed 1 out of the required 1 times. Success! 407s test_debounce_keyed_by passed 1 out of the required 1 times. Success! 407s 407s ===End Flaky Test Report=== 407s =========================== short test summary info ============================ 407s FAILED test/plugins/test_autoimport.py::test_autoimport_defined_name - NotImp... 407s FAILED test/plugins/test_autoimport.py::TestShouldInsert::test_dot - NotImple... 407s FAILED test/plugins/test_autoimport.py::TestShouldInsert::test_dot_partial - ... 407s FAILED test/plugins/test_autoimport.py::TestShouldInsert::test_comment - NotI... 407s FAILED test/plugins/test_autoimport.py::TestShouldInsert::test_comment_indent 407s FAILED test/plugins/test_autoimport.py::TestShouldInsert::test_from - NotImpl... 407s FAILED test/plugins/test_autoimport.py::test_get_names - NotImplementedError:... 407s FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_get_correct_module_name[Undefined name `os`] 407s FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_get_correct_module_name[F821 undefined name 'numpy'] 407s FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_get_correct_module_name[undefined name 'numpy'] 407s FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[variable] 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[function] 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[keyword] - ... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[file] - Not... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[module] - N... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[class] - No... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_type[property] 407s FAILED test/plugins/test_completion.py::test_jedi_completion - NotImplemented... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_item_resolve - N... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_with_fuzzy_enabled 407s FAILED test/plugins/test_completion.py::test_jedi_completion_resolve_at_most 407s FAILED test/plugins/test_completion.py::test_jedi_completion_ordering - NotIm... 407s FAILED test/plugins/test_completion.py::test_jedi_property_completion - NotIm... 407s FAILED test/plugins/test_completion.py::test_jedi_method_completion - NotImpl... 407s FAILED test/plugins/test_completion.py::test_pyqt_completion - NotImplemented... 407s FAILED test/plugins/test_completion.py::test_numpy_completions - NotImplement... 407s FAILED test/plugins/test_completion.py::test_pandas_completions - NotImplemen... 407s FAILED test/plugins/test_completion.py::test_matplotlib_completions - NotImpl... 407s FAILED test/plugins/test_completion.py::test_snippets_completion - NotImpleme... 407s FAILED test/plugins/test_completion.py::test_snippets_completion_at_most - No... 407s FAILED test/plugins/test_completion.py::test_completion_with_class_objects - ... 407s FAILED test/plugins/test_completion.py::test_completion_with_function_objects 407s FAILED test/plugins/test_completion.py::test_snippet_parsing - NotImplemented... 407s FAILED test/plugins/test_completion.py::test_multiline_import_snippets - NotI... 407s FAILED test/plugins/test_completion.py::test_multiline_snippets - NotImplemen... 407s FAILED test/plugins/test_completion.py::test_multistatement_snippet - NotImpl... 407s FAILED test/plugins/test_completion.py::test_jedi_completion_extra_paths - No... 407s FAILED test/plugins/test_completion.py::test_document_path_completions - NotI... 407s FAILED test/plugins/test_completion.py::test_file_completions - NotImplemente... 407s FAILED test/plugins/test_definitions.py::test_definitions - NotImplementedErr... 407s FAILED test/plugins/test_definitions.py::test_indirect_definitions - NotImple... 407s FAILED test/plugins/test_definitions.py::test_definition_with_multihop_inference_goto 407s FAILED test/plugins/test_definitions.py::test_numpy_definition - NotImplement... 407s FAILED test/plugins/test_definitions.py::test_builtin_definition - NotImpleme... 407s FAILED test/plugins/test_definitions.py::test_assignment - NotImplementedErro... 407s FAILED test/plugins/test_definitions.py::test_document_path_definitions - Not... 407s FAILED test/plugins/test_folding.py::test_folding - NotImplementedError: Pyth... 407s FAILED test/plugins/test_folding.py::test_folding_syntax_error - NotImplement... 407s FAILED test/plugins/test_highlight.py::test_highlight - NotImplementedError: ... 407s FAILED test/plugins/test_highlight.py::test_sys_highlight - NotImplementedErr... 407s FAILED test/plugins/test_hover.py::test_numpy_hover - NotImplementedError: Py... 407s FAILED test/plugins/test_hover.py::test_hover - NotImplementedError: Python v... 407s FAILED test/plugins/test_hover.py::test_document_path_hover - NotImplementedE... 407s FAILED test/plugins/test_jedi_rename.py::test_jedi_rename - Exception: No sup... 407s FAILED test/plugins/test_references.py::test_references - NotImplementedError... 407s FAILED test/plugins/test_references.py::test_references_builtin - NotImplemen... 407s FAILED test/plugins/test_signature.py::test_no_signature - NotImplementedErro... 407s FAILED test/plugins/test_signature.py::test_signature - NotImplementedError: ... 407s FAILED test/plugins/test_signature.py::test_multi_line_signature - NotImpleme... 407s FAILED test/plugins/test_symbols.py::test_symbols - NotImplementedError: Pyth... 407s FAILED test/plugins/test_symbols.py::test_symbols_all_scopes - NotImplemented... 407s FAILED test/plugins/test_symbols.py::test_symbols_non_existing_file - NotImpl... 407s FAILED test/test_notebook_document.py::test_notebook_definition - AssertionEr... 407s FAILED test/test_notebook_document.py::test_notebook_completion - AssertionEr... 407s ERROR test/plugins/test_autoimport.py::test_autoimport_completion[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_import[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_pathlib[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_import_with_name[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_function[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_class[completions0] - ... 407s ERROR test/plugins/test_autoimport.py::test_autoimport_empty_line[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_class_complete[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_class_incomplete[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_function_typing[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_function_typing_complete[completions0] 407s ERROR test/plugins/test_autoimport.py::test_autoimport_function_typing_return[completions0] 407s = 65 failed, 111 passed, 9 skipped, 2 deselected, 27 warnings, 12 errors in 36.66s = 408s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_lint_free_pylint and not test_per_file_caching" 408s I: pybuild base:311: cd /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_lint_free_pylint and not test_per_file_caching" 409s ============================= test session starts ============================== 409s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 409s rootdir: /tmp/autopkgtest.lr74z2/autopkgtest_tmp/build 409s configfile: pyproject.toml 409s testpaths: test 409s plugins: typeguard-4.4.1, flaky-3.8.1 409s collected 199 items / 2 deselected / 197 selected 409s 425s test/plugins/test_autoimport.py .......................... [ 13%] 425s test/plugins/test_autopep8_format.py ...... [ 16%] 459s test/plugins/test_completion.py .............................s.. [ 32%] 460s test/plugins/test_definitions.py ....... [ 36%] 461s test/plugins/test_flake8_lint.py ........ [ 40%] 461s test/plugins/test_folding.py .. [ 41%] 461s test/plugins/test_highlight.py .. [ 42%] 461s test/plugins/test_hover.py ... [ 43%] 461s test/plugins/test_jedi_rename.py . [ 44%] 461s test/plugins/test_mccabe_lint.py .. [ 45%] 461s test/plugins/test_pycodestyle_lint.py .... [ 47%] 462s test/plugins/test_pydocstyle_lint.py .... [ 49%] 462s test/plugins/test_pyflakes_lint.py .... [ 51%] 465s test/plugins/test_pylint_lint.py ... [ 52%] 465s test/plugins/test_references.py .. [ 53%] 465s test/plugins/test_rope_rename.py . [ 54%] 465s test/plugins/test_signature.py ...... [ 57%] 466s test/plugins/test_symbols.py ...s [ 59%] 466s test/plugins/test_yapf_format.py ......... [ 63%] 466s test/test_configuration.py .. [ 64%] 466s test/test_document.py ......... [ 69%] 466s test/test_language_server.py .ss. [ 71%] 472s test/test_notebook_document.py ....... [ 75%] 472s test/test_text_edit.py .... [ 77%] 472s test/test_uris.py ...sss..ss.. [ 83%] 473s test/test_utils.py ........ [ 87%] 474s test/test_workspace.py ......................... [100%] 474s 474s =============================== warnings summary =============================== 474s test/plugins/test_autoimport.py::test_autoimport_completion[completions0] 474s test/plugins/test_autoimport.py::test_autoimport_defined_name 474s test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 474s test/plugins/test_completion.py::test_rope_completion 474s test/plugins/test_completion.py::test_rope_completion 474s test/plugins/test_rope_rename.py::test_rope_rename 474s test/plugins/test_rope_rename.py::test_rope_rename 474s /usr/lib/python3/dist-packages/rope/base/project.py:230: DeprecationWarning: Delete once deprecated functions are gone 474s self._init_source_folders() 474s 474s test/plugins/test_autoimport.py::test_autoimport_completion[completions0] 474s test/plugins/test_autoimport.py::test_autoimport_defined_name 474s test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 474s /usr/lib/python3/dist-packages/rope/contrib/autoimport/sqlite.py:507: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 474s datetime.utcnow().isoformat(), 474s 474s test/plugins/test_autoimport.py: 16 warnings 474s /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=4267) is multi-threaded, use of fork() may lead to deadlocks in the child. 474s self.pid = os.fork() 474s 474s test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document 474s /usr/lib/python3/dist-packages/pylsp/plugins/preload_imports.py:73: DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13 474s __import__(mod_name) 474s 474s test/plugins/test_completion.py::test_rope_completion 474s test/plugins/test_rope_rename.py::test_rope_rename 474s test/plugins/test_rope_rename.py::test_rope_rename 474s /usr/lib/python3/dist-packages/rope/base/libutils.py:35: DeprecationWarning: relative is deprecated 474s return relative(project.address, path) 474s 474s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 474s ===Flaky Test Report=== 474s 474s test_initialize passed 1 out of the required 1 times. Success! 474s test_missing_message passed 1 out of the required 1 times. Success! 474s test_debounce passed 1 out of the required 1 times. Success! 474s test_debounce_keyed_by passed 1 out of the required 1 times. Success! 474s 474s ===End Flaky Test Report=== 474s ===== 188 passed, 9 skipped, 2 deselected, 30 warnings in 66.18s (0:01:06) ===== 482s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 482s make: *** [/tmp/3Skpf9ROkU/run:4: pybuild-autopkgtest] Error 25 482s pybuild-autopkgtest: error: /tmp/3Skpf9ROkU/run pybuild-autopkgtest returned exit code 2 482s autopkgtest [20:51:59]: test pybuild-autopkgtest: -----------------------] 487s pybuild-autopkgtest FAIL non-zero exit status 25 487s autopkgtest [20:52:04]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 491s autopkgtest [20:52:08]: @@@@@@@@@@@@@@@@@@@@ summary 491s pybuild-autopkgtest FAIL non-zero exit status 25