Skip to content

bxcan/defmt version conflict #285

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

Closed
pdgilbert opened this issue Apr 2, 2021 · 9 comments
Closed

bxcan/defmt version conflict #285

pdgilbert opened this issue Apr 2, 2021 · 9 comments

Comments

@pdgilbert
Copy link
Contributor

Could you please relax the version constraint on bxcan (#273) to ">=0.4" or ">=0.4, <0.6" for reasons described at stm32-rs/stm32f7xx-hal#114 (comment). Your CI on #273 looks clean, but you must not be testing with anything else that has a different specific bxcan or defmt version specification.

@therealprof
Copy link
Member

Indeed the tests only test against one specific version. Mind creating a PR for the suggested change?

@pdgilbert
Copy link
Contributor Author

Do you have a preference for ">=0.4" or ">=0.4, <0.6". I'm a bit new to this and not sure what longer term maintenance issues will be for different choices.

@therealprof
Copy link
Member

I think I'd use the latter, if we need to adjust we can always adjust. Automatic breakage is bad and we don't know what the future will hold for us. ;)

@pdgilbert
Copy link
Contributor Author

Ok. If I had been smarter I would have called my branch trying so I could run your CI first. I guess it gets run when I do the PR, so I won't mess with your ci.yml. I've done my own testing at https://github.com/pdgilbert/eg_stm_hal/actions/runs/712978531 and https://github.com/pdgilbert/LoRaGPS-rust/actions/runs/712984731. Everything works that is not broken for other reasons. I'll do the PR shortly.

@pdgilbert
Copy link
Contributor Author

Hmmm. Seems it failed the changelog check. Am I suppose to change that or do you?

@therealprof
Copy link
Member

You are supposed to do that. 😅

@pdgilbert
Copy link
Contributor Author

I'm not sure of the preferred way to indicat this change. The CHANGELOG.md [Unreleased/Added] section has

- Added support for canbus with the bxcan crate (0.5.0).

Should I edit that to make the version range clear, or add a new item line?

@therealprof
Copy link
Member

If it's in the Unreleased section you can just update the entry.

@pdgilbert
Copy link
Contributor Author

Thanks.

bors bot added a commit that referenced this issue Apr 3, 2021
286: Test bxcan version relax r=therealprof a=pdgilbert

This PR is to switch the version requirement for` bxcan` to  ">=0.4, <0.6". See #285 for more details.

Co-authored-by: Paul Gilbert <[email protected]>
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

No branches or pull requests

2 participants