You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our NGIAB repo, t-route build failed following error message. #10 202.4 python3: can't open file '/ngen/t-route/src/troute-nwm/setup.py': [Errno 2] No such file or directory #10 ERROR: process "/bin/sh -c export FC=gfortran NETCDF=/usr/include && cd ${WORKDIR}/t-route && ./compiler.sh && cd ./src/troute-network && python3 setup.py --use-cython bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-routing && python3 setup.py --use-cython bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-config && python3 -m build . && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-nwm && python3 setup.py bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/" did not complete successfully: exit code: 2I
I see the NOAA-OWP/t-route@41b6983 removed
src/troute-nwm/setup.py file.
We are using this file to create wheel with the following command. python3 setup.py bdist_wheel
I tried to build with python3 -m build ., and it is able to build but the image getting another during run-time.
The text was updated successfully, but these errors were encountered:
Hey @benlee0423, the installation process for troute.nwm no longer uses setup.py (changed in #784) and has been moved to the more modern pyproject.toml format.
Change:
cd ../troute-nwm &&
python3 setup.py bdist_wheel &&
Thanks for reporting this, @benlee0423! It seems that python -m build . fixed the first issue you reported. I opened #799 to address your other CI failure.
Current behavior
In our NGIAB repo, t-route build failed following error message.
#10 202.4 python3: can't open file '/ngen/t-route/src/troute-nwm/setup.py': [Errno 2] No such file or directory
#10 ERROR: process "/bin/sh -c export FC=gfortran NETCDF=/usr/include && cd ${WORKDIR}/t-route && ./compiler.sh && cd ./src/troute-network && python3 setup.py --use-cython bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-routing && python3 setup.py --use-cython bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-config && python3 -m build . && cp dist/.whl ${WORKDIR}/t-route/wheels/ && cd ../troute-nwm && python3 setup.py bdist_wheel && cp dist/.whl ${WORKDIR}/t-route/wheels/" did not complete successfully: exit code: 2I
I see the NOAA-OWP/t-route@41b6983 removed
src/troute-nwm/setup.py file.
We are using this file to create wheel with the following command.
python3 setup.py bdist_wheel
I tried to build with
python3 -m build .
, and it is able to build but the image getting another during run-time.The text was updated successfully, but these errors were encountered: