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

esp-wifi 0.7 does not compile with embedded-svc feature #1817

Closed
GnomedDev opened this issue Jul 16, 2024 · 7 comments · Fixed by #1820
Closed

esp-wifi 0.7 does not compile with embedded-svc feature #1817

GnomedDev opened this issue Jul 16, 2024 · 7 comments · Fixed by #1820
Assignees
Labels
package:esp-wifi Issues related to the esp-wifi package

Comments

@GnomedDev
Copy link
Contributor

It seems like esp-wifi was never updated for esp-rs/embedded-svc#75 when bumping the version number, and there is no CI coverage for esp-wifi with embedded-svc.

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 17, 2024

The good thing is embedded-svc is totally optional and we have an inherent WiFi API which looks the same - just needs different imports

With the (currently configured) version 0.27.1 it compiles fine.

Just updating the version to a semver incompatible version is expected to fail.

Nevertheless, updating embedded-svc might be a good thing. Also checking the feature in CI is probably something we want.

Will change the title of this issue accordingly

@bjoernQ bjoernQ added the package:esp-wifi Issues related to the esp-wifi package label Jul 17, 2024
@bjoernQ bjoernQ changed the title esp-wifi 0.7 does not compile with embedded-svc feature Bump embedded-svc dependency to 0.28.0 Jul 17, 2024
@GnomedDev
Copy link
Contributor Author

I don't know if I'm missing something, but esp-wifi is currently depending on embedded-svc 0.28 and currently fails to build with the embdded-svc feature enabled, contradicting "with the (currently configured) version 0.27 it compiles fine".

embedded-svc = { version = "0.28.0", default-features = false, features = [
], optional = true }

This is blocking updating esp-mbedtls to the latest versions of the hal crates.

@GnomedDev GnomedDev changed the title Bump embedded-svc dependency to 0.28.0 esp-wifi 0.7 does not compile with embedded-svc feature Jul 17, 2024
@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 17, 2024

... but esp-wifi is currently depending on embedded-svc 0.28 ...

Oh, sorry for that! I haven't noticed it was changed. You are right - the released 0.7.0 depends on 0.28.0

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 17, 2024

I will publish 0.7.1 soon

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 17, 2024

0.7.1 is published, 0.7.0 is yanked now. Thanks for reporting this issue

@GnomedDev
Copy link
Contributor Author

Should another issue be made for making sure this doesn't happen again (adding CI coverage for this feature)?

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 17, 2024

Should another issue be made for making sure this doesn't happen again (adding CI coverage for this feature)?

I think #1693 remotely touches the issue - probably worth a comment there to not forget about this (especially since that issue is planned to be worked on for the upcoming milestone)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:esp-wifi Issues related to the esp-wifi package
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants