Skip to content

Commit 7d92ea0

Browse files
committed
Increase MSRV from 1.70.0 to 1.80.1
1 parent add7baa commit 7d92ea0

File tree

8 files changed

+11
-7
lines changed

8 files changed

+11
-7
lines changed

.github/workflows/msrv.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
- name: Run check
2020
run: |
2121
# enable the MSRV
22-
rustup default 1.70.0
22+
rustup default 1.80.1
2323
cargo check --all-features --all-targets

.readthedocs.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ build:
88
os: ubuntu-22.04
99
tools:
1010
python: "3.10"
11-
rust: "1.70"
11+
commands:
12+
- export RUST_WITHOUT=rust-docs,rustfmt
13+
- asdf install rust latest
14+
- asdf global rust latest
1215

1316
python:
1417
install:

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3030
- by default `pineappl plot` no longer shows a channel breakdown in the panel
3131
with absolute PDF predictions. However, this feature can be enabled with via
3232
a new array added at the start of the script
33+
- raised MSRV to 1.80.1
3334

3435
### Removed
3536

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ edition = "2021"
2121
keywords = ["high-energy-physics", "physics"]
2222
license = "GPL-3.0-or-later"
2323
repository = "https://github.com/NNPDF/pineappl"
24-
rust-version = "1.70.0"
24+
rust-version = "1.80.1"
2525
version = "1.0.0-alpha1"
2626

2727
[workspace.lints.clippy]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![codecov](https://codecov.io/gh/NNPDF/pineappl/branch/master/graph/badge.svg)](https://codecov.io/gh/NNPDF/pineappl)
33
[![Documentation](https://docs.rs/pineappl/badge.svg)](https://docs.rs/pineappl)
44
[![crates.io](https://img.shields.io/crates/v/pineappl.svg)](https://crates.io/crates/pineappl)
5-
[![MSRV](https://img.shields.io/badge/Rust-1.70+-lightgray.svg)](docs/installation.md)
5+
[![MSRV](https://img.shields.io/badge/Rust-1.80+-lightgray.svg)](docs/installation.md)
66

77
# What is PineAPPL?
88

docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ already installed, make sure it is recent enough:
244244

245245
cargo --version
246246

247-
This should show a version that is at least 1.70.0. If you do not have `cargo`
247+
This should show a version that is at least 1.80.1. If you do not have `cargo`
248248
or if it is too old, go to <https://www.rust-lang.org/tools/install> and follow
249249
the instructions there.
250250

maintainer/make-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if ! cargo msrv --help >/dev/null; then
5757
exit 1
5858
fi
5959

60-
if ! cargo msrv --min 1.70.0 --max 1.70.0 >/dev/null; then
60+
if ! cargo msrv --min 1.80.1 --max 1.80.1 >/dev/null; then
6161
echo "Minimum supported Rust version doesn't match avertised one."
6262
exit 1
6363
fi

maintainer/pineappl-ci/Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG ZLIB_V=1.3.1
1111

1212
# the last version is the default Rust version used in the container
1313
# as long as we're using `persist-doctests` in the `Rust` workflow we need nightly as default
14-
ARG RUST_V="1.70.0 nightly-2024-01-25"
14+
ARG RUST_V="1.80.1 nightly-2024-09-04 1.70.0"
1515

1616
ENV APPL_IGRID_DIR="/usr/local/src/applgrid-${APPLGRID_V}/src"
1717
ENV CARGO_HOME="/usr/local/cargo"

0 commit comments

Comments
 (0)