-
-
Notifications
You must be signed in to change notification settings - Fork 22
Update library.json: Point to ESPHome forks #142
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
Conversation
If we definitively switch, CI has to be updates as well. |
I saw that yesterday yes. Missed this part. I will update the PR ;-) |
I"ve updated the PR but one of the workflow (arduino ide build) is not passing and I really don't know why. The git url is OK, I've tried with different library names, etc. You can look at the attempts in my fork here: https://github.com/mathieucarbou/bertmelis-espMqttClient/actions |
The alternative libraries don't have a I haven't looked into the possibilities to fix this: https://github.com/arduino/compile-sketches?tab=readme-ov-file#libraries If they can provide the library.properties file, it would be the easiest solution. |
Oh boy you're right! I did not notice the removal in the fork chain... It is there in the original repo from me-no-dev. |
It might work if you just remove the |
yeah, that's why there is so many attempts in this PR lol ;-) I did not succeed :-( |
Just try and remove the |
That's what I just did (https://github.com/bertmelis/espMqttClient/compare/0acdc3a1df9b31d6d482be70e2960ac70b671f8d..f7827f8b596c1a64ad24ac9bd7eb6c272067d7c2) but it fails also: https://github.com/mathieucarbou/bertmelis-espMqttClient/actions/runs/7530490314 I never noticed (I am not using Arduino IDE but just platformio), but it means that any projects not having this |
Unless the library will be made "Arduino IDE compatible", this isn't going to work. As a workaround, you can download the alternative library and add it through your platformio.ini |
Better than that, what I did so far is forking the ESPHome repo (https://github.com/mathieucarbou/AsyncTCP-esphome), then I've issues a 2.1.1 release in my fork (based on their 2.1.1 tag) including the library.properties file. So this way, I can cleanly unblock me. I could even add my fork to the Arduino lib manager to have |
@bertmelis : would you otherwise accept to remove the dependency in the espMqtttClient works with several AsyncTCP impls:
There is no dependency declared in the |
That's a possibility I'm willing to look into. Another option is to keep the Arduino CI action use the me-no-dev version. It's just a test to see if compilation succeeds. I assume the API doesn't change. It's only the Arduino IDE build that fails. |
There are 2 issues:
=> for this one,
=> for this one, yes we could keep the original AsyncTCP in Arduino CI API are compatible yes. ESPHome forks allow better control over the stack size and adds IPv6 support. |
Wouldn't this work: point the dependency in I'm not a fan of just leaving out dependencies in |
Yes it would of course! I will update the PR :-) |
updated - build passed. |
Sorry, with PR #146 , I screwed up this one. Now we have a merge conflict about the submodules. could you rebase? |
ahah ;-) yes! |
…lows to configure the async_http task stack size with CONFIG_ASYNC_TCP_STACK_SIZE
done! |
Switch to AsyncTCP fork from ESPHome which will support ipv6 and also allows to configure the async+http task stack size with CONFIG_ASYNC_TCP_STACK_SIZE