From 6cd3af1a2ec0bb441cedcf22f9107f326160c11f Mon Sep 17 00:00:00 2001 From: monosans Date: Fri, 31 May 2024 10:00:21 +0500 Subject: [PATCH] Remove python version marker from winloop --- .pre-commit-config.yaml | 2 +- poetry.lock | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 683a2e3..5154b21 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,4 +45,4 @@ repos: - types-aiofiles - typing-extensions<5 - uvloop<0.20; implementation_name == "cpython" and (sys_platform == "darwin" or sys_platform == "linux") - - winloop<0.1.3; python_version >= "3.9" and implementation_name == "cpython" and (sys_platform == 'cygwin' or sys_platform == 'win32') + - winloop<0.1.5; implementation_name == "cpython" and (sys_platform == "cygwin" or sys_platform == "win32") diff --git a/poetry.lock b/poetry.lock index 4d54dbe..51ab8b6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "aiodns" @@ -1315,4 +1315,4 @@ termux = [] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "e20b5f85f28d2b9e7e5320ba0b50431072e7fbde5cef984eb83ec8affed4490a" +content-hash = "f55565f621b08145ccd4883f888cff478e2dc7c745a7545e591ba3f178c2f4de" diff --git a/pyproject.toml b/pyproject.toml index fc5f870..34be349 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ rich = ">=12.3,<14" tomli = { version = "<3", python = "<3.11" } typing-extensions = ">=4.4,<5" uvloop = { version = ">=0.14,<0.20", optional = true, markers = "implementation_name == 'cpython' and (sys_platform == 'darwin' or sys_platform == 'linux')" } -winloop = { version = "<0.1.5", python = ">=3.9", markers = "implementation_name == 'cpython' and (sys_platform == 'cygwin' or sys_platform == 'win32')" } +winloop = { version = "<0.1.5", markers = "implementation_name == 'cpython' and (sys_platform == 'cygwin' or sys_platform == 'win32')" } [tool.poetry.extras] non-termux = ["aiodns", "uvloop"]