Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump msrv to 1.56 #3208

Merged
merged 3 commits into from Jun 5, 2023
Merged

bump msrv to 1.56 #3208

merged 3 commits into from Jun 5, 2023

Conversation

davidhewitt
Copy link
Member

The MSRV changes from #3204, plus a commit which should hopefully make CI pass.

With luck this is mergeable and resolves CI pain while we decide what to do about the Python version.

@davidhewitt davidhewitt force-pushed the bump-msrv-only branch 2 times, most recently from 145a0a2 to 19d0150 Compare June 4, 2023 22:14
@alex
Copy link
Contributor

alex commented Jun 4, 2023

Looks like there's a bunch of clippy warnings come alive that are unhappy about passing slices where an array will do.

@davidhewitt
Copy link
Member Author

Yes, I will correct that later on. It's expected, the first commit of this PR removed some clippy exclusions incompatible with 1.48.

@davidhewitt
Copy link
Member Author

It looks like this is going to pass, so I'm going to push it through as we're all in favour of having this.

@adamreichold I'm sure there's plenty of tidy-ups we can land now that we've done the MSRV bump. I guess at the very least I will try sometime to go through the Rust release notes and audit for changes we can migrate to. Feel free to push any cleanup PRs for stuff you've noticed or have on a list!

@davidhewitt
Copy link
Member Author

bors r+

Copy link
Member

@adamreichold adamreichold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we already silently turned Clippy into check specificially for 1.48 but of course this broke when switching to 1.56. I think the solution with a separate CI job is strictly better so that people (include ourselves) understand what is going without remembering or finding the single if statement in our Nox manifest.

@bors
Copy link
Contributor

bors bot commented Jun 5, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 3332f31 into PyO3:main Jun 5, 2023
32 of 33 checks passed
@davidhewitt davidhewitt deleted the bump-msrv-only branch June 5, 2023 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants