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

ci: check minimal-versions on MSRV feature powerset #4273

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

davidhewitt
Copy link
Member

Inspired by #4272

Using cargo update -Z direct-minimal-versions (or cargo update -Z minimal-versions) is known to be complicated. I started playing with these and had not much success due to various combinations of dev dependencies and other edge cases.

cargo-minimal-versions worked great, however, and given it's a superset around cargo-hack which we already use in the check-feature-powerset job, I decided to just upgrade that job a bit to run a minimal-versions check on MSRV.

This caught a few extra cases where our minimal dependencies were too low.

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Jun 21, 2024
@davidhewitt
Copy link
Member Author

If no concerns I'll probably merge this soon given it improves end user packaging slightly.

@davidhewitt davidhewitt added this pull request to the merge queue Jul 10, 2024
Merged via the queue into PyO3:main with commit c7c1dff Jul 10, 2024
80 checks passed
@davidhewitt davidhewitt deleted the minimal-versions branch July 10, 2024 12:28
davidhewitt added a commit that referenced this pull request Jul 10, 2024
* ci: check minimal-versions on MSRV feature powerset

* fix msrv arg

* bump num-bigint floor to 0.4.2

* try fix build syntax
davidhewitt added a commit that referenced this pull request Jul 16, 2024
* ci: check minimal-versions on MSRV feature powerset

* fix msrv arg

* bump num-bigint floor to 0.4.2

* try fix build syntax
davidhewitt added a commit that referenced this pull request Jul 17, 2024
* ci: check minimal-versions on MSRV feature powerset

* fix msrv arg

* bump num-bigint floor to 0.4.2

* try fix build syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-build-full CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant