Skip to content

Commit

Permalink
Fixed a "module 'asyncio' has no attribute 'run'" error when launchin…
Browse files Browse the repository at this point in the history
…g PIO Home using Python 3.6 // Resolve #4169
  • Loading branch information
ivankravets committed Feb 5, 2022
1 parent 2003806 commit 828d6f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PlatformIO Core 5
- Better detecting of default PlatformIO project directory on Linux OS (`pull #4158 <https://github.com/platformio/platformio-core/pull/4158>`_)
- Respect disabling debugging server from "platformio.ini" passing an empty value to the `debug_server <https://docs.platformio.org/en/latest/projectconf/section_env_debug.html#debug-server>`__ option
- Run library extra script only at a build process (`issue #3915 <https://github.com/platformio/platformio-core/issues/3915>`_)
- Fixed a "module 'asyncio' has no attribute 'run'" error when launching PIO Home using Python 3.6 (`issue #4169 <https://github.com/platformio/platformio-core/issues/4169>`_)

5.2.4 (2021-12-15)
~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -45,7 +46,7 @@
"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.*",
]

Expand Down

0 comments on commit 828d6f5

Please sign in to comment.