JuliaPy / JuliaPy/PythonCall.jl

CondaPkg.toml not automatically created

Abierto
#442 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Julia
Estrellas
1.1k
Forks
86
Merge medio
1 d 22 h
PR fusionados (30 d)
3

Descripción

**Affects:** PythonCall

**Describe the bug**
When I use PythonCall (through "using PythonCall"), no CondaPkg.toml is created in my current Julia environment, but a central CondaPkg.toml in my user/.julia folder is created/used. I was expecting that per default, every Julia environment automatically gets its own Conda environment.

To reproduce, on a blank environment with an existint project.toml and manifest.toml, add PythonCall and excecute "using PythonCall"

Not perfectly sure if this is a bug or if there is a not-so-obvious way to automatically instantiate CondaPkg.toml per environment.
Thanks for any help.

**Your system**
Please provide detailed information about your system:
Windows 11
Julia 1.10, PythonCall 0.9.15

Base.versioninfo()
```
Julia Version 1.10.0
Commit 3120989f39 (2023-12-25 18:01 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 12 × 13th Gen Intel(R) Core(TM) i7-1355U
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 on 12 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
```
Pkg.status()
```
[992eb4ea] CondaPkg v0.2.22
[717857b8] DSP v0.7.9
[7a1cc6ca] FFTW v1.8.0
[b18b359b] FourierTools v0.4.2
[c27321d9] Glob v1.3.1
[a98d9a8b] Interpolations v0.15.1
[6099a3de] PythonCall v0.9.15
[f2b01f46] Roots v2.1.0
[a5390f91] ZipFile v0.10.1

```
CondaPkg.status()
```
CondaPkg Status C:\Users\j.fischer\OneDrive - xxxxxxx\Dokumente\Julia\xxxx\CondaPkg.toml (empty)
Not Resolved (resolve first for more information)
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce the report in a blank Julia environment with project.toml and manifest.toml by adding PythonCall and running "using PythonCall". Inspect how CondaPkg.toml is selected or created, then verify whether the environment-local file is created and used instead of the central user/.julia file.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.