From 3e7841b74a9bbb28b56d6622a289231c66d50766 Mon Sep 17 00:00:00 2001 From: monosans Date: Tue, 26 Nov 2024 21:39:42 +0300 Subject: [PATCH] fix: install aiodns in termux --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8d4654d4f..9e2188793 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ authors = [{ name = "monosans", email = "hsyqixco@protonmail.com" }] requires-python = ">=3.9,<4" classifiers = ["Private :: Do Not Upload"] dependencies = [ + "aiodns>=1.1,<4", "aiofiles", "aiohttp>=3.8.6,<4", "aiohttp-socks>=0.7,<0.10", @@ -25,7 +26,6 @@ dependencies = [ "winloop<0.1.7; implementation_name=='cpython' and (sys_platform=='cygwin' or sys_platform=='win32')", ] optional-dependencies.non-termux = [ - "aiodns>=1.1,<4", "uvloop>=0.14,<0.22; implementation_name=='cpython' and (sys_platform=='darwin' or sys_platform=='linux')", ] urls.repository = "https://github.com/monosans/proxy-scraper-checker" diff --git a/uv.lock b/uv.lock index 29e58d1c0..6c7b99a0d 100644 --- a/uv.lock +++ b/uv.lock @@ -947,6 +947,7 @@ name = "proxy-scraper-checker" version = "0.0.0" source = { editable = "." } dependencies = [ + { name = "aiodns" }, { name = "aiofiles" }, { name = "aiohttp" }, { name = "aiohttp-socks" }, @@ -964,7 +965,6 @@ dependencies = [ [package.optional-dependencies] non-termux = [ - { name = "aiodns" }, { name = "uvloop", marker = "(implementation_name == 'cpython' and sys_platform == 'darwin') or (implementation_name == 'cpython' and sys_platform == 'linux')" }, ] @@ -982,7 +982,7 @@ nuitka = [ [package.metadata] requires-dist = [ - { name = "aiodns", marker = "extra == 'non-termux'", specifier = ">=1.1,<4" }, + { name = "aiodns", specifier = ">=1.1,<4" }, { name = "aiofiles" }, { name = "aiohttp", specifier = ">=3.8.6,<4" }, { name = "aiohttp-socks", specifier = ">=0.7,<0.10" },