Test workflow jobs that were building ParOpt are no longer building successfully.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions, python
- Área
- build-system, ci-cd
Línea de trabajo
The Ubuntu Baseline and Ubuntu Latest test workflows are named, and the build log shows the failure while compiling ParOpt with Python 3.12: MPI_Session is not recognized. Start by inspecting those workflow definitions and the ParOpt build configuration or dependency versions they use. Determine what causes the compile failure, restore successful ParOpt builds in both workflows, and confirm the jobs pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Test workflow jobs that were building ParOpt (Ubuntu Baseline and Ubuntu Latest) are no longer building successfully.
I do not see any configuration changes when looking at the build logs.
The ParOpt option has been disabled in those workflows until the build issue can be resolved.
Building wheel for paropt (pyproject.toml): started
Building wheel for paropt (pyproject.toml): finished with status 'error'
Failed to build paropt
error: subprocess-exited-with-error
× Building wheel for paropt (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
running bdist_wheel
running build
running build_ext
building 'paropt.ParOpt' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/paropt
gcc -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/runner/miniconda3/envs/test/include -fPIC -O2 -isystem /home/runner/miniconda3/envs/test/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/runner/miniconda3/envs/test/include -fPIC -Iparopt -I/home/runner/miniconda3/envs/test/include -I/tmp/tmpr8pfwrib/src -I/tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/mpi4py/include -I/home/runner/miniconda3/envs/test/include/python3.12 -c paropt/ParOpt.cpp -o build/temp.linux-x86_64-cpython-312/paropt/ParOpt.o
In file included from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from paropt/ParOpt.cpp:1306:
/tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
paropt/ParOpt.cpp:2095:3: error: 'MPI_Session' does not name a type
2095 | MPI_Session ob_mpi;
| ^~~~~~~~~~~
error: command '/home/runner/miniconda3/envs/test/bin/gcc' failed with exit code 1
[end of output]
- Lenguaje dominante
- Python
- Estrellas
- 14
- Forks
- 18
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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.
Issues similares
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertogood first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 · 3 comentarios ·
Los mantenedores suelen responder en 1 día