Hooks for virtualenv-delete
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading bin/pyenv-virtualenv-delete and comparing its behavior with the pyenv uninstall path referenced in the issue. Trace how deletion hooks are handled, then verify that before_virtualenv_delete and after_virtualenv_delete run at the appropriate points and support the Jupyter-kernel deletion use case.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We should include hooks in pyenv-virtualenv-delete, like before_virtualenv_delete and after_virtualenv_delete.
For instance, pyenv-jupyter-kernel is a project that will create Jupyter kernels when creating a pyenv virtual environment, and delete the kernel when the virtual environment is deleted.
Kernel deletion works with pyenv uninstall, but not with pyenv virtualenv-delete, due to lack of hooks in this function.
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):
- OS architecture (e.g. amd64):
- pyenv version:
- pyenv-virtualenv version:
- Python version:
- virtualenv version (if installed):
- Please attach the debug log of a faulty Pyenv invocation as a gist
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
PYENV_DEBUG=1, e.g.env PYENV_DEBUG=1 pyenv install -v 3.6.4 - If the problem happens outside of a Pyenv invocation, get the debug log like this:
# for Bash export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' # for Zsh export PS4='+(%x:%I): %N(%i): ' set -x <reproduce the problem> set +x
- If the problem happens in a Pyenv invocation, you can turn on debug logging by setting
- Lenguaje dominante
- Shell
- Estrellas
- 6.7k
- Forks
- 427
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pyenv/pyenv-virtualenv
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
pyenv/pyenv-virtualenv#524 · 5 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
pyenv/pyenv-virtualenv#515 · 5 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
pyenv/pyenv-virtualenv#514 · 1 comentario ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
pyenv/pyenv-virtualenv#510 · 5 reacciones ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
pyenv/pyenv-virtualenv#507 ·
Todos los issues de pyenv/pyenv-virtualenv
Issues similares
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
githubnext/gh-aw-workshop#3969 ·
Los mantenedores suelen responder en 1 día
-
Request: Remove l-town appAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
getumbrel/umbrel-apps#6137 ·
Los mantenedores suelen responder en 2 días
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
backlog bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Los mantenedores suelen responder en 1 día
-
area: backend good first issue priority: P3 - low size: S type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Mizithra/ActiveTerrain#31 ·