Fixed a "module 'asyncio' has no attribute 'run'" error when launching PIO Home using Python 3.6 // Resolve #4169

This commit is contained in:
Ivan Kravets committed 2022-02-05 20:00:37 +02:00
1 parent 2003806481
commit 828d6f5baf
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from setuptools import find_packages, setup
from platformio import (
@@ -45,7 +46,7 @@ home_requirements = [
"aiofiles==0.8.*",
"ajsonrpc==1.*",
"starlette==0.18.*",
"uvicorn==0.17.*",
"uvicorn==%s" % ("0.17.*" if sys.version_info >= (3, 7) else "0.16.0"),
"wsproto==1.0.*",
]