WLED 0.14.4 build fails (ESPAsyncWebServer 2.2.1 does not exist)
What happened?
Cloning the WLED repo and running the build with PlatformIO fails by default when using the v0.14.4 branch:
...
git+https://github.com/Aircoookie/ESPAsyncWebServer.git @ 2.2.1 git version 2.41.0 Cloning into '/home/vscode/.platformio/.cache/tmp/pkg-installing-bkgi6sky'... remote: Enumerating objects: 68, done. remote: Counting objects: 100% (68/68), done. remote: Compressing objects: 100% (60/60), done. remote: Total 68 (delta 4), reused 42 (delta 0), pack-reused 0 (from 0) Receiving objects: 100% (68/68), 284.25 KiB | 2.45 MiB/s, done. Resolving deltas: 100% (4/4), done. PackageException:
Package version 2.4.2+sha.dbb7c33 doesn't satisfy requirements 2.2.1 based on PackageMetadata <type=library name=ESPAsyncWebServerWLED version=2.4.2+sha.dbb7c33 spec={'owner': None, 'id': None, 'name': 'ESPAsyncWebServer', 'requirements': '2.2.1', 'uri': 'git+https://github.com/Aircoookie/ESPAsyncWebServer.git'}
Bumping the version from 2.2.1 to 2.4.x fixes the problem. I'll submit a pull request if this is an acceptable fix.
To Reproduce Bug
Clone the repo, check out the v0.14.4 branch, and build the project using PlatformIO as per the recommended instructions.
Expected Behavior
I expect the build to work by default.
Install Method
Self-Compiled
What version of WLED?
WLED 0.14.4 latest hash
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
git+https://github.com/Aircoookie/ESPAsyncWebServer.git @ 2.2.1 git version 2.41.0 Cloning into '/home/vscode/.platformio/.cache/tmp/pkg-installing-bkgi6sky'... remote: Enumerating objects: 68, done. remote: Counting objects: 100% (68/68), done. remote: Compressing objects: 100% (60/60), done. remote: Total 68 (delta 4), reused 42 (delta 0), pack-reused 0 (from 0) Receiving objects: 100% (68/68), 284.25 KiB | 2.45 MiB/s, done. Resolving deltas: 100% (4/4), done. PackageException: Package version 2.4.2+sha.dbb7c33 doesn't satisfy requirements 2.2.1 based on PackageMetadata <type=library name=ESPAsyncWebServerWLED version=2.4.2+sha.dbb7c33 spec={'owner': None, 'id': None, 'name': 'ESPAsyncWebServer', 'requirements': '2.2.1', 'uri': 'git+https://github.com/Aircoookie/ESPAsyncWebServer.git'}
Anything else?
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I have a fix but haven't created a PR based on a tag before. Not sure how to proceed (github won't let me create a PR since my branch is based on a tag on the main branch), researching.
There are no plans to release any 0.14.x releases, so 0.14.4 will always be broken, but it you want to submit a PR, you need to ensure your branch is based off the right legacy branch, not main