From 1a8ab3dc627c886eaf29cbdd17405ebb2f122f0e Mon Sep 17 00:00:00 2001 From: monosans Date: Wed, 2 Oct 2024 14:03:47 +0300 Subject: [PATCH] chore: use Nuitka from develop branch --- .github/workflows/ci.yml | 2 +- pyproject.toml | 5 ++++- uv.lock | 7 +++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf455c8..5841ca2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: matrix: include: - name: linux-x86-64 - runner: ubuntu-22.04 + runner: ubuntu-latest - name: windows-x86-64 runner: windows-latest - name: macos-x86-64 diff --git a/pyproject.toml b/pyproject.toml index 658faad..5f7d30e 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==2.4.8"] +nuitka = ["nuitka"] [tool.uv] dev-dependencies = [ @@ -41,3 +41,6 @@ dev-dependencies = [ "types-aiofiles==24.1.0.20240626", "typing-extensions==4.12.2", ] + +[tool.uv.sources] +nuitka = { git = "https://github.com/Nuitka/Nuitka" } diff --git a/uv.lock b/uv.lock index e1922fc..6893c0f 100644 --- a/uv.lock +++ b/uv.lock @@ -793,13 +793,12 @@ wheels = [ [[package]] name = "nuitka" -version = "2.4.8" -source = { registry = "https://pypi.org/simple" } +version = "2.5rc6" +source = { git = "https://github.com/Nuitka/Nuitka#551166924fe58dfcdbce3a64dd53e474af876b1a" } 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" @@ -869,7 +868,7 @@ requires-dist = [ { name = "certifi" }, { name = "charset-normalizer", specifier = ">=2,<4" }, { name = "maxminddb", specifier = ">=1.3,<3" }, - { name = "nuitka", marker = "extra == 'nuitka'", specifier = "==2.4.8" }, + { name = "nuitka", marker = "extra == 'nuitka'", git = "https://github.com/Nuitka/Nuitka" }, { name = "platformdirs", specifier = "<5" }, { name = "rich", specifier = ">=12.3,<14" }, { name = "tomli", marker = "python_full_version < '3.11'", specifier = "<3" },