readthedocs / readthedocs-docker-images

Docker image definitions used by Read the Docs
115 stars 70 forks source link

Update Rust to 1.52.0 #170

Closed daggy1234 closed 2 years ago

daggy1234 commented 3 years ago

As mentioned in my issue #169 I have bumped rust version for master

astrojuanlu commented 3 years ago

Just so I understand, are the Travis CI failures expected?

stsewd commented 3 years ago

Just so I understand, are the Travis CI failures expected?

We should fix those, but they aren't related to this change

daggy1234 commented 3 years ago

@humitos I must not have access to those images

What realistic solution could I use to compile a rust-python package with rust1.52+

humitos commented 3 years ago

I must not have access to those images

Yes, they are not available yet. The document that I linked is not already implemented.

What realistic solution could I use to compile a rust-python package with rust1.52+

Unfortunately, we don't have a good way to do this currently. You could try to hack something in your conf.py to download and install Rust as a workaround on each build, but I'm not sure if that will work either.

humitos commented 2 years ago

Hi @Daggy1234! In #166 we implemented the ability to install rust 1.55.0 --which is still in beta. Would you like to give it a try and let us know if it works? You need to add something like this to your .readthedocs.yaml file:

build:
  os: "ubuntu-20.04"
  tools:
    python: "3.9"
    rust: "1.55"
daggy1234 commented 2 years ago

oh thats awesome!