LibCST/.readthedocs.yml
Amethyst Reese fad448eb81
Upgrade rust to version 1.70 in readthedocs config (#1091)
Readthedocs builds are currently failing because the libcst wheel fails
to build, hitting an error when trying to get rust dependencies:

```
running build_rust
  Updating crates.io index
error: failed to select a version for the requirement `regex = "=1.9.3"`
candidate versions found which didn't match: 1.8.4, 1.8.3, 1.8.2, ...
location searched: crates.io index
required by package `libcst v1.1.0 (/home/docs/checkouts/readthedocs.org/user_builds/libcst/checkouts/latest/native/libcst)`
error: `cargo metadata --manifest-path native/libcst/Cargo.toml --format-version 1` failed with code 101
```

Assuming this is related to current configuration requesting rust v1.55,
rather than 1.70 that is currently offered.
2024-01-16 21:15:47 +00:00

22 lines
273 B
YAML

version: 2
sphinx:
configuration: docs/source/conf.py
formats: all
build:
os: ubuntu-20.04
tools:
python: "3"
rust: "1.70"
apt_packages:
- graphviz
python:
install:
- method: pip
path: .
extra_requirements:
- dev