Test workflow jobs that were building ParOpt are no longer building successfully.

オープン
#69 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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]
主要言語
Python
スター
14
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。