scientific-python / scientific-python-hugo-theme

Hugo theme based on the design for numpy.org
https://theme.scientific-python.org/
Other
19 stars 23 forks source link

Update hugo (0.127.0) #623

Closed jarrodmillman closed 4 months ago

jarrodmillman commented 4 months ago

Hugo 0.126.3 broke our check-links tests:

7:41:30 AM:   ✖ FAIL load public/blog/news
7:41:30 AM:   | operator: load
7:41:30 AM:   | expected: 200 public/blog/news
7:41:30 AM:   |   actual: ENOENT: no such file or directory, open '/opt/build/repo/doc/public/blog/news'
7:41:30 AM:   |       at: public/blog/index.html:105:36 <a href="./news">...</a>
7:41:30 AM:   1779 tests
7:41:30 AM:      3 skipped
7:41:30 AM:   1778 passed
7:41:30 AM:      1 failed
7:41:31 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)

with 0.126.2 we got

7:38:19 AM:   1778 tests
7:38:19 AM:      3 skipped
7:38:19 AM:   1778 passed

Not sure what is happening, but we used to have 1778 tests (now we have 1779 tests with one failing). We do have https://blog.scientific-python.org/tags/news/ And this line is in the source for blog.scientific-python.org:

<span class="post-tag"><a href="/tags/news">#news</a></span>

The same problem occurs with 0.127.0.

netlify[bot] commented 4 months ago

Deploy Preview for scientific-python-hugo-theme failed.

Built without sensitive environment variables

Name Link
Latest commit 5b867a95e9a5297eaf3796e861c8f7de58239c7d
Latest deploy log https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/667587dbbafeaf000800b893
stefanv commented 4 months ago

See my support post on Hugo's discourse.