Hooks don't work under /usr/share/pyenv/plugins
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Reproduce the reported behavior with pyenv-virtualenv 1.2.1 and pyenv-jupyter-kernel installed under /usr/share/pyenv/plugins, then compare it with installation under $(pyenv root)/plugins. Start by tracing hook discovery during pyenv virtualenv creation and deletion; done means the install and uninstall hooks run from the system plugin path as they do from the user plugin path.
索引モデルが issue の本文から書いたものです。
説明
The pyenv-virtualenv AUR package install the plugin under /usr/share/pyenv/plugins.
This works correctly. I can do pyenv virtualenv, pyenv virtualenv-delete and the other commands without problems.
I've tried to install pyenv-jupyter-kernel under /usr/share/pyenv/plugins as well (since I wanted to package it for the AUR).
While I can do pyenv register-kernel without problems, pyenv-jupyter-kernel also register some hooks for install and uninstall that should install and uninstall corresponding jupyter kernels when a new virtualenv is created.
While those hooks work when installing pyenv-jupyter-kernel under $(pyenv root)/plugins, they don't work when installing under /usr/share/pyenv/plugins.
So I guess pyenv-virtualenv is not registering hooks when plugins are installed in that folder?
Prerequisite
- Make sure your problem is not listed in the common build problems.
- Make sure no duplicated issue has already been reported in the pyenv-virtualenv issues. You should look in closed issues, too.
- Make sure you are not asking us to help solving your specific issue.
- GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
- Make sure your problem is not derived from packaging (e.g. Homebrew).
- Please refer to the package documentation for the installation issues, etc.
- Make sure your problem is not derived from other plugins.
- This repository is maintaining the
pyenv-virtualenvplugin only. Please refrain from reporting issues of other plugins here.
- This repository is maintaining the
Description
- Platform information (e.g. Ubuntu Linux 20.04): Arch Linux
- OS architecture (e.g. amd64): amd64
- pyenv version: 2.3.25
- pyenv-virtualenv version: 1.2.1
- Python version: 3.11.5
- virtualenv version (if installed): NA
- Please attach the debug log of a faulty Pyenv invocation as a gist: NA
- 主要言語
- Shell
- スター
- 6.7k
- フォーク
- 433
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pyenv/pyenv-virtualenv のほかの issue
-
Document the virtualenv, activate and deactivate hooks対応中かも @officialasishkumar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pyenv/pyenv-virtualenv#552 ·
メンテナーはふだん 1 日以内に返信
-
Creating a virtualenv from system leaves a self-referencing symlink inside it対応中かも @dhananjay6561 が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pyenv/pyenv-virtualenv#548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
virtualenv-delete with a trailing slash can remove all of $PYENV_ROOT/versions対応中かも @dhananjay6561 が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
pyenv/pyenv-virtualenv#546 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fish: activating a conda env doesn't set CONDA_PREFIX or run its activate.d/deactivate.d scripts対応中かも @officialasishkumar が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
pyenv/pyenv-virtualenv#550 ·
メンテナーはふだん 1 日以内に返信
-
`pyenv virtualenv (version) (name)` ignores specified version and uses homebrew's `python` versionオープン
難易度 3/5 半日 初心者へのやさしさ 55/100
pyenv/pyenv-virtualenv#531 ·
メンテナーはふだん 1 日以内に返信
pyenv/pyenv-virtualenv の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Abdk4Moura/tunlion#1014 ·
メンテナーはふだん 1 日以内に返信
-
icon request
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
PapirusDevelopmentTeam/papirus-icon-theme#4401 ·
メンテナーはふだん 3 日以内に返信
-
package-update
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信