diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a40c24..abb14b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,10 @@ jobs: - uses: astral-sh/setup-uv@v3 with: enable-cache: true - - run: uv python install 3.12 + - uses: actions/setup-python@v5 + 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: mv config.toml proxy_scraper_checker.dist/ - if: ${{ github.event_name != 'pull_request' }} diff --git a/pyproject.toml b/pyproject.toml index 69b36cc..3463647 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ non-termux = [ "aiodns>=1.1,<4", "uvloop>=0.14,<0.21; implementation_name == 'cpython' and (sys_platform == 'darwin' or sys_platform == 'linux')", ] -nuitka = ["nuitka"] +nuitka = ["nuitka==2.4.8"] [tool.uv] dev-dependencies = [ @@ -41,6 +41,3 @@ dev-dependencies = [ "types-aiofiles==24.1.0.20240626", "typing-extensions==4.12.2", ] - -[tool.uv.sources] -nuitka = { git = "https://github.com/Nuitka/Nuitka", rev = "factory" } diff --git a/uv.lock b/uv.lock index 493ad9e..dd111b1 100644 --- a/uv.lock +++ b/uv.lock @@ -793,12 +793,13 @@ wheels = [ [[package]] name = "nuitka" -version = "2.5rc6" -source = { git = "https://github.com/Nuitka/Nuitka?rev=factory#a5725f0b95bfa377ecb577f37392bbf857cd2869" } +version = "2.4.8" +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "ordered-set" }, { name = "zstandard" }, ] +sdist = { url = "https://files.pythonhosted.org/packages/a5/ab/8f7ba76aa1ceba2339873bf56f8151a7c93b80d635b63900b4be3fe37139/Nuitka-2.4.8.tar.gz", hash = "sha256:ea04d15dde0d5967719d8181f26d714fe602a6cbd6c76df49ca8be7a45915d50", size = 3720021 } [[package]] name = "ordered-set" @@ -868,7 +869,7 @@ requires-dist = [ { name = "certifi" }, { name = "charset-normalizer", specifier = ">=2,<4" }, { name = "maxminddb", specifier = ">=1.3,<3" }, - { name = "nuitka", marker = "extra == 'nuitka'", git = "https://github.com/Nuitka/Nuitka?rev=factory" }, + { name = "nuitka", marker = "extra == 'nuitka'", specifier = "==2.4.8" }, { name = "platformdirs", specifier = "<5" }, { name = "rich", specifier = ">=12.3,<14" }, { name = "tomli", marker = "python_full_version < '3.11'", specifier = "<3" },