NNPDF / pineappl

PineAPPL is not an extension of APPLgrid
https://nnpdf.github.io/pineappl/
GNU General Public License v3.0
12 stars 3 forks source link

Fix Python documentation building #156

Closed cschwan closed 2 years ago

cschwan commented 2 years ago

We must update the Rust version in the container, because the build is failing: https://readthedocs.org/projects/pineappl/builds/17395697/. We should use Rust 1.56.1 which is our minimum supported Rust version (MSRV) for a while.

alecandido commented 2 years ago

Ok, I'm on my way

cschwan commented 2 years ago

There's no need to rush with this one as it's Saturday and master doesn't have any significant changes and v0.5.4 is working :smile:.

alecandido commented 2 years ago

Container v0.2.2 uploaded. Please @cschwan test it!

P.S. when you have time, you're right there is no need to rush :)

alecandido commented 2 years ago

Current version of Rust is actually v1.62.0 inside the container, because:

https://github.com/N3PDF/pineappl/blob/master/pineappl_py/package/Containerfile#L19

means that I'm always using latest version available at generation time.

Should I pin instead the version of Rust in the Containerfile and manually upgrade? E.g. to run on the minimum supported, instead of the latest (my guess is that there should be no need, because new versions of Rust v1 should be backward compatible, but I'd like to know your opinion).

cschwan commented 2 years ago

As long as it builds it's perfectly fine.

alecandido commented 2 years ago

Ok, I found the way to retrigger without commiting: image (click the green button).

I'm testing it right now.

alecandido commented 2 years ago

Ok, sorry, I'm too slow:

Actually being the problem ReadTheDocs, it doesn't care the less about the container...

RTD has its own workflow, and it is installing its version of Rust, specified here: https://github.com/N3PDF/pineappl/blob/7b8fe17c39a49d2171560856bd303ebde9ff0d77/.readthedocs.yml#L11

Upgraded in 552dff4780ce5e4c0e037474391e662bb92ef54c

P.S.: there are not many options available, just 1.55 and 1.61 at the time of writing (I guess latest, at update time, for edition 2018 and 2021); but they are enough :D

cschwan commented 2 years ago

Version 1.61 should be fine!

alecandido commented 2 years ago

image

Should we close?

cschwan commented 2 years ago

Yes, thanks!