From bf24d600a05ca7434557848cc22977d0436a5781 Mon Sep 17 00:00:00 2001 From: Pim van Helvoirt Date: Tue, 28 May 2024 21:48:57 +0200 Subject: [PATCH] fix: resolve publishing failure --- flake.nix | 3 ++- poetry.lock | 4 ++-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 65de9ba..48670d0 100644 --- a/flake.nix +++ b/flake.nix @@ -63,13 +63,14 @@ ]; shellHook = '' + set -eo pipefail # Make sure poetry's venv uses the configured python executable. echo 'running poetry...' ${pkgs.poetry}/bin/poetry -v env use --no-interaction ${pkgs.python311}/bin/python3 ${pkgs.poetry}/bin/poetry -v install --no-interaction echo 'publishing package using poetry...' - ${pkgs.poetry}/bin/poetry -v publish -u '__token__' -p $PIPY_API_TOKEN; + ${pkgs.poetry}/bin/poetry -v publish --build -u '__token__' -p $PIPY_API_TOKEN; ''; }); diff --git a/poetry.lock b/poetry.lock index 3fb1c5d..05f2de3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -429,5 +429,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = "3.11.6" -content-hash = "dd97fc6b887ec54c0c923d8f78e1cb481560690fcfe71d1899aca5c8bb7e3b65" +python-versions = "3.11.9" +content-hash = "8b9895dc27b8362e7d916de77253ecabd34b178982b8082614cc3fcd7453c4f2" diff --git a/pyproject.toml b/pyproject.toml index 94dcda8..ac60009 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "GPLv3" readme = "README.md" [tool.poetry.dependencies] -python = "3.11.6" +python = "3.11.9" aiohttp = "3.9.5" [build-system]