chore: use [dependency-groups] in pyproject.toml
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
with:
|
||||
python-version: "3.12"
|
||||
check-latest: true
|
||||
- run: uv run --extra non-termux --extra nuitka --no-dev --frozen --python 3.12 python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads --lto=yes proxy_scraper_checker
|
||||
- run: uv run --extra non-termux --no-dev --group nuitka --frozen --python 3.12 python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads --lto=yes proxy_scraper_checker
|
||||
- run: mv config.toml proxy_scraper_checker.dist/
|
||||
- if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: actions/attest-build-provenance@v1
|
||||
|
||||
+3
-3
@@ -28,14 +28,14 @@ optional-dependencies.non-termux = [
|
||||
"aiodns>=1.1,<4",
|
||||
"uvloop>=0.14,<0.22; implementation_name=='cpython' and (sys_platform=='darwin' or sys_platform=='linux')",
|
||||
]
|
||||
optional-dependencies.nuitka = ["nuitka==2.4.11"]
|
||||
urls.repository = "https://github.com/monosans/proxy-scraper-checker"
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"mypy[faster-cache]==1.13",
|
||||
"ruff==0.7.1",
|
||||
"tomli==2.0.2",
|
||||
"types-aiofiles==24.1.0.20240626",
|
||||
"typing-extensions==4.12.2",
|
||||
]
|
||||
nuitka = ["nuitka==2.4.11"]
|
||||
|
||||
@@ -952,9 +952,6 @@ non-termux = [
|
||||
{ name = "aiodns" },
|
||||
{ name = "uvloop", marker = "(implementation_name == 'cpython' and sys_platform == 'darwin') or (implementation_name == 'cpython' and sys_platform == 'linux')" },
|
||||
]
|
||||
nuitka = [
|
||||
{ name = "nuitka" },
|
||||
]
|
||||
|
||||
[package.dependency-groups]
|
||||
dev = [
|
||||
@@ -964,6 +961,9 @@ dev = [
|
||||
{ name = "types-aiofiles" },
|
||||
{ name = "typing-extensions" },
|
||||
]
|
||||
nuitka = [
|
||||
{ name = "nuitka" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
@@ -977,7 +977,6 @@ requires-dist = [
|
||||
{ name = "certifi" },
|
||||
{ name = "charset-normalizer", specifier = ">=2,<4" },
|
||||
{ name = "maxminddb", specifier = ">=1.3,<3" },
|
||||
{ name = "nuitka", marker = "extra == 'nuitka'", specifier = "==2.4.11" },
|
||||
{ name = "platformdirs", specifier = "<5" },
|
||||
{ name = "rich", specifier = ">=12.3,<14" },
|
||||
{ name = "tomli", marker = "python_full_version < '3.11'", specifier = "<3" },
|
||||
@@ -993,6 +992,7 @@ dev = [
|
||||
{ name = "types-aiofiles", specifier = "==24.1.0.20240626" },
|
||||
{ name = "typing-extensions", specifier = "==4.12.2" },
|
||||
]
|
||||
nuitka = [{ name = "nuitka", specifier = "==2.4.11" }]
|
||||
|
||||
[[package]]
|
||||
name = "pycares"
|
||||
|
||||
Reference in New Issue
Block a user