'Ignoring specific child dependency while building a python package
I am using APScheduler to run some background tasks periodically and I use python 3.8.10 but with our pyproject.toml based projects build fails to add this dependency(APScheduler==3.9.1) from requirement.txt with the following error
*ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1*
It looks like the backports.zoneinfo expects the python version to be 3.8.9 but we use 3.8.10 and they recommend us to ignore backports.zoneinfo;python_version<"3.9" but not sure how can i do that using project.toml or tox.ini file that uses requirements.txt. i just want to ignore this child dependency library backports.zoneinfo from APAscheduler, Any idea?
Solution 1:[1]
I have faced the same issue with react and spring. In this case, browser is blocking your request. put the reactjs build file inside template folder and run spring boot sends index.html then reactjs start works and cros error not come but it requires restController for all other requests.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Navin Kumar |
