From 74ecc9b4b685ef6d902931842af5a88ad47f04c4 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Sun, 6 Sep 2026 03:06:51 +0200 Subject: [PATCH] build: pull quart-flask-patch from gitea registry - Resolve quart-flask-patch from the private Gitea PyPI index - Require quart-flask-patch >= 0.3.1, the version published there - Drop the PyPI 0.3.0 build that crashed the server on Python 3.14 - The Gitea build declares requires-python >=3.13,<3.15 - Relock uv.lock so sdist and wheel point at the Gitea URLs - Bump NanoShare to 1.27.1 Verified with uv lock --check, uv sync --frozen and an import of quart_flask_patch reporting 0.3.1. Test suite stays at 141 passed. --- pyproject.toml | 5 +++-- uv.lock | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2502038..859bd02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nanoshare" -version = "1.27.0" +version = "1.27.1" description = "Add your description here" readme = "README.md" requires-python = ">=3.14" @@ -14,7 +14,7 @@ dependencies = [ "joserfc>=1.6.5", "python-dotenv>=1.2.2", "quart>=0.20.0", - "quart-flask-patch>=0.3.0", + "quart-flask-patch>=0.3.1", "quart-session>=3.0.2", "qrcode[pil]>=8.0", "redis>=7.4.0", @@ -32,4 +32,5 @@ url = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/simple/" explicit = true [tool.uv.sources] +quart-flask-patch = { index = "gitea" } quart-session = { index = "gitea" } diff --git a/uv.lock b/uv.lock index 6848ffe..5b143fa 100644 --- a/uv.lock +++ b/uv.lock @@ -586,7 +586,7 @@ wheels = [ [[package]] name = "nanoshare" -version = "1.27.0" +version = "1.27.1" source = { virtual = "." } dependencies = [ { name = "aiohttp" }, @@ -616,7 +616,7 @@ requires-dist = [ { name = "python-dotenv", specifier = ">=1.2.2" }, { name = "qrcode", extras = ["pil"], specifier = ">=8.0" }, { name = "quart", specifier = ">=0.20.0" }, - { name = "quart-flask-patch", specifier = ">=0.3.0" }, + { name = "quart-flask-patch", specifier = ">=0.3.1", index = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/simple/" }, { name = "quart-session", specifier = ">=3.0.2", index = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/simple/" }, { name = "redis", specifier = ">=7.4.0" }, ] @@ -798,14 +798,14 @@ wheels = [ [[package]] name = "quart-flask-patch" -version = "0.3.0" -source = { registry = "https://pypi.org/simple" } +version = "0.3.1" +source = { registry = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/simple/" } dependencies = [ { name = "quart" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/f6/5f/f1e7642a719ccdd8ef40af4529ba5f0984f90b480dfdce87142826801e6e/quart_flask_patch-0.3.0.tar.gz", hash = "sha256:81dc073698d54ffe1d8c85a556881c13215923a920f9300a02b5005d5447268d", size = 8754, upload-time = "2023-11-19T21:54:01.332Z" } +sdist = { url = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/files/quart-flask-patch/0.3.1/quart_flask_patch-0.3.1.tar.gz", hash = "sha256:4b553f1fca65357ec03175129a8e332721da16b61add0526c8b25c87fa76516b" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/ce/ad2b19e3a26d2c611aa883b8500e8b4eb08f8a2d1595e28c37864e54e99c/quart_flask_patch-0.3.0-py2.py3-none-any.whl", hash = "sha256:b5a1d97a8edee9f40082db278fb491687d712af9bc8eb774830ea6f92790b990", size = 9231, upload-time = "2023-11-19T21:53:59.814Z" }, + { url = "https://git.yiprawr.dev/api/packages/daniel156161/pypi/files/quart-flask-patch/0.3.1/quart_flask_patch-0.3.1-py3-none-any.whl", hash = "sha256:fd7a235bec4fdb083acb2a233423ce93ce1e0c068ae1ba015b3c677a4004b0a0" }, ] [[package]]