Rope does't pick project virtualenv

オープン
#803 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 7 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

The payload names no source files. Start by finding where the autoimport database (autoimport.db) is populated and how it chooses the Python interpreter or site-packages, then compare that with how the project virtualenv is detected. Reproduce by running the population step inside a project venv and checking which interpreter's packages get indexed. Done when the project's virtualenv packages are picked up instead of the system Python.

索引モデルが issue の本文から書いたものです。

説明

bug

Describe the bug
It seems like that rope doesn't pick up my virtual env and instead use system python when populating autoimport.db

Editor information (please complete the following information):

  • Project Python version: 3.13
  • Rope Python version: python-lsp-server one
  • Rope version: python-lsp-server one
  • Text editor/IDE and version: nvim 0.10.2

Additional context
I'm using pylsp along with nvim, jedi import seems to work fine, rope not

主要言語
Python
スター
2.2k
フォーク
197
平均マージ
2日 13時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python-rope/rope のほかの issue

python-rope/rope の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。