Skip to content

Commit

Permalink
fix: resolve publishing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pimvh committed May 28, 2024
1 parent 4c0aec8 commit bf24d60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
'';
});

Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bf24d60

Please sign in to comment.