Skip to content

bump msrv to 1.56#3208

Merged
bors[bot] merged 3 commits intoPyO3:mainfrom
davidhewitt:bump-msrv-only
Jun 5, 2023
Merged

bump msrv to 1.56#3208
bors[bot] merged 3 commits intoPyO3:mainfrom
davidhewitt:bump-msrv-only

Conversation

@davidhewitt
Copy link
Copy Markdown
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
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

bors r+

Comment thread .github/workflows/ci.yml
Comment thread tests/test_class_attributes.rs
Copy link
Copy Markdown
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
Copy Markdown
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
@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.

3 participants