Closed matthewfeickert closed 8 months ago
So I'm not sure what happened here given to reach the
jq: parse error: Invalid numeric literal at line 1, column 6
in
# package: numpy
jq: parse error: Invalid numeric literal at line 1, column 6
# scientific-python-nightly-wheels/numpy/2.0.0.dev0 last uploaded on
# Removing scientific-python-nightly-wheels/numpy/2.0.0.dev0
Using Anaconda API: https://api.anaconda.org/
during the nightly removal workflow
As things like
$ curl --silent https://api.anaconda.org/release/scientific-python-nightly-wheels/scipy/1.13.0.dev0 | jq -r '.distributions[].upload_time' | sort | tail --lines 1 | awk '{print $1}'
2024-03-01
pass as expected, I don't understand what went wrong unless there was an failure in the API call to api.anaconda.org
.
If we go with that until we get more information then we should guard
to only pass if upload_date
is actually a well formed date.
c.f. https://github.com/numpy/numpy/issues/25907#issuecomment-1973370318