From 2edf118ce061924c97c8d96bd00161b9ce8d0cac Mon Sep 17 00:00:00 2001 From: Ensar Emir EROL Date: Fri, 13 Dec 2024 22:54:17 +0100 Subject: [PATCH] made uvloop platform dependent dependency --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 80bac46..87b46de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ dependencies = [ "typing_extensions==4.12.2", "tzdata==2024.2", "uvicorn==0.32.0", - "uvloop==0.21.0", + "uvloop==0.21.0; sys_platform != 'win32'", "watchfiles==0.24.0", "websockets==13.1", "wrapt==1.16.0", diff --git a/uv.lock b/uv.lock index 91b5761..1cd26a0 100644 --- a/uv.lock +++ b/uv.lock @@ -791,7 +791,7 @@ dependencies = [ { name = "typing-extensions" }, { name = "tzdata" }, { name = "uvicorn" }, - { name = "uvloop" }, + { name = "uvloop", marker = "sys_platform != 'win32'" }, { name = "watchfiles" }, { name = "websockets" }, { name = "wrapt" }, @@ -868,7 +868,7 @@ requires-dist = [ { name = "typing-extensions", specifier = "==4.12.2" }, { name = "tzdata", specifier = "==2024.2" }, { name = "uvicorn", specifier = "==0.32.0" }, - { name = "uvloop", specifier = "==0.21.0" }, + { name = "uvloop", marker = "sys_platform != 'win32'", specifier = "==0.21.0" }, { name = "watchfiles", specifier = "==0.24.0" }, { name = "websockets", specifier = "==13.1" }, { name = "wrapt", specifier = "==1.16.0" },