This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new b9dabdbd5e doc: Update MSRV policy, shortening to max(4 months, 4
releases) (#12402)
b9dabdbd5e is described below
commit b9dabdbd5e122dbbf4af7a8b2264a3d457670615
Author: Oleks V <[email protected]>
AuthorDate: Wed Sep 11 16:31:56 2024 -0700
doc: Update MSRV policy, shortening to max(4 months, 4 releases) (#12402)
* doc: Updte MSRV policy to not depend on Rust compiler cadences
---
README.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 8c76f0807b..816dc77714 100644
--- a/README.md
+++ b/README.md
@@ -98,9 +98,11 @@ Optional features:
## Rust Version Compatibility Policy
-DataFusion's Minimum Required Stable Rust Version (MSRV) policy is to support
-each stable Rust version for 6 months after it is
-[released](https://github.com/rust-lang/rust/blob/master/RELEASES.md). This
-generally translates to support for the most recent 3 to 4 stable Rust
versions.
+DataFusion's Minimum Required Stable Rust Version (MSRV) policy is to support
stable [4 latest
+Rust versions](https://releases.rs) OR the stable minor Rust version as of 4
months, whichever is lower.
+
+For example, given the releases `1.78.0`, `1.79.0`, `1.80.0`, `1.80.1` and
`1.81.0` DataFusion will support 1.78.0, which is 3 minor versions prior to the
most minor recent `1.81`.
+
+If a hotfix is released for the minimum supported Rust version (MSRV), the
MSRV will be the minor version with all hotfixes, even if it surpasses the
four-month window.
We enforce this policy using a [MSRV CI
Check](https://github.com/search?q=repo%3Aapache%2Fdatafusion+rust-version+language%3ATOML+path%3A%2F%5ECargo.toml%2F&type=code)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]