Mark uvloop incompatible with pypy

This commit is contained in:
Alex Root Junior 2023-01-08 22:38:02 +02:00
parent 6f0db67f83
commit f5b8e30c9f
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
2 changed files with 2 additions and 4 deletions

View file

@ -77,9 +77,7 @@ jobs:
- name: Install project dependencies
if: steps.cached-pip-dependencies.outputs.cache-hit != 'true'
run: |
extras="dev,test,redis,proxy,i18n"
[[ "$IS_PYPY" == "false" ]] && extras="$extras,fast"
pip install -e .[$extras]
pip install -e .[dev,test,redis,proxy,i18n,fast]
- name: Lint code
if: "env.IS_PYPY == 'false'"

View file

@ -53,7 +53,7 @@ path = "aiogram/__init__.py"
[project.optional-dependencies]
fast = [
"uvloop>=0.17.0; sys_platform == 'darwin' or sys_platform == 'linux'",
"uvloop>=0.17.0; (sys_platform == 'darwin' or sys_platform == 'linux') and platform_python_implementation != 'PyPy'",
]
redis = [
"redis~=4.3.4",