Provide python executable compiled with enable-shared
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- build-system
Línea de trabajo
Empieza leyendo la configuración de múltiples salidas de la receta, build_base.sh, build_shared y build_static. Comprueba cómo conda_build_config.yaml afecta a la compilación de macOS y revisa los fallos notificados de tkinter y de las bibliotecas compartidas. Se considera completado cuando un subpaquete compatible proporciona un ejecutable de Python compilado con enable-shared y supera las pruebas pertinentes del paquete.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Comment:
Related: https://github.com/conda-forge/python-feedstock/issues/222#issuecomment-1309248101 .
My use-case: https://github.com/lammps/lammps/issues/3520
This could be provided as a subpackage, say python-shared, and install a python.VERSION_shared that the user could symlink or put in front of $PATH, as needed.
I would have built it myself but I am a bit lost since building this recipe with enable-shared is not being easy.
The usual ways of debugging a failing conda build do not work with this package: conda debug ends up giving me an environment where there's no script to activate the environment and no build script either, perhaps because the recipe has multiple outputs and conda debug does not know what to do with it.
So far had to remove the libpython-static output, make the recipe a single output recipe, move build_base.sh to build.sh, edit out script:build.sh, comment out rm .../libpython(...)$VERSION(...).a in build_shared, and add f to ln -sf ../../libpython${VERABI}.a libpython${VERABI}.a in build_static.
The last hurdle is that after building, conda build packages it, where it alters the paths that libraries/execs refer too ( I'm not very knowledgeable about this) and it fails with this message, which I guess has to do with signing in osx-arm64.
PS: fixed it by editing conda-builld/.../post.py https://github.com/conda/conda-build/issues/4392#issuecomment-1310893278
Tests do not pass (tkinter something), but I installed the package anyways and for my use-case it seems to function
PS: does not. conda_build_config.yaml included in the repo overrode the one I had in my home folder, so it did not pick up on the openssl==1.1 constraint and then when I replaced the python in my installation with the shared one it complained it could not find libssl.3.dylib.
After fixing that, for some reason 'libffi.7.dylib' was required by 'import _ctypes', which I fixed in the install environment by symlinking 'libffi.8.dylib' to 'libffi.7.dylib'.
- Lenguaje dominante
- Shell
- Estrellas
- 47
- Forks
- 114
- Merge medio
- 7 d 6 h
- PR fusionados (30 d)
- 14
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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 conda-forge/python-feedstock
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
conda-forge/python-feedstock#951 ·
Los mantenedores suelen responder en 1 día
-
libedit for older pythons?Abiertoquestion
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
conda-forge/python-feedstock#948 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 42/100
conda-forge/python-feedstock#945 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
conda-forge/python-feedstock#929 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
conda-forge/python-feedstock#903 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de conda-forge/python-feedstock
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Sourced-library load-guards use a top-level `return` that errors on direct execution (repo-wide)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rossoctl/automation#115 ·
Los mantenedores suelen responder en 3 días
-
loongarch64: `unsupported linker arg: --no-rosegment` with rustc 1.100Posiblemente ocupada @monosans la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rust-cross/cargo-zigbuild#503 ·
Los mantenedores suelen responder en 1 día
-
area/CubeMaster bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
TencentCloud/CubeSandbox#1959 ·
Los mantenedores suelen responder en 1 día
-
netbox status: backlog topic: testing type: housekeeping
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
netbox-community/netbox#23395 ·
Los mantenedores suelen responder en 1 día