arcade-mcp/toolkits/math
Eric Gustin 8795871d51
Check if toolkit version changed before attempting publish (#198)
# PR Description
Changes to a toolkit without changes to the toolkit's version fail the
'Publish Toolkit' workflow with `HTTP Error 400: File already exists
('arcade_zoom-0.1.7.tar.gz', with blake2_256 hash
'02183cda607f06616e7edb17e3d22bc11d1d83b074b3e44066b78ec72602fb37'). See
https://pypi.org/help/#file-name-reuse for more information.`, for
example.

This PR adds the `--skip-existing` flag to `poetry publish` to avoid
attempting to publish an existing version. Skips slack notification if
publish is skipped.


The `grep`'d string comes from
https://github.com/python-poetry/poetry/blob/main/src/poetry/publishing/uploader.py#L246-L249
2025-01-13 10:00:24 -08:00
..
arcade_math Random int and random float tools (#148) 2024-11-06 09:28:05 -08:00
evals Check if toolkit version changed before attempting publish (#198) 2025-01-13 10:00:24 -08:00
tests Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
.pre-commit-config.yaml Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
.ruff.toml Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
LICENSE Testing for Math Toolkit (#180) 2024-12-19 11:28:03 -08:00
Makefile Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00
pyproject.toml Bump toolkit versions (#194) 2025-01-07 13:32:36 -08:00