Closed aaraney closed 2 weeks ago
Testing this with the pinned pip
dep now just to make sure this solves the issue. Once the tests pass, I will remove the pinning of the pip
version in CI and include that as part of this PR.
Okay, so that is getting somewhere. It looks like setuptools
or a transient dependency of setuptools
is causing the issue (see https://github.com/NOAA-OWP/ngen/actions/runs/9486412729/workflow#L104). Things are passing when setuptools
is not upgraded. Going to investigate that now.
Fix
t-route
CI builds after changes introduced in https://github.com/NOAA-OWP/t-route/pull/780. https://github.com/NOAA-OWP/t-route/pull/780 at its core addressed the need for the pythonwheel
package as a build time dependency.(https://github.com/NOAA-OWP/t-route/pull/782 addressed this).wheel
was not installed in CI before attempting to buildt-route
. This addresses that.Edit: The failure was due to a change in
setuptools
editable installation mode. This change was introduced insetuptools
64
but was not enforced for packages that did not define apyproject.toml
metadata file. In the CI action,setuptools
was being updated to the latest version andt-route
packages were being installed with--editable
mode enable. https://github.com/NOAA-OWP/t-route/pull/780 addedpyproject.toml
files tot-route
packages.The solution ended up being trivial, just install the packages in normal non-editable mode.