{project description}
Project description
poetry-stabs-package-sample
パッケージ公開サンプル
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish -r poetry-stabs-package-sample
型を付ける
テストを書く
awesome linters
documents
publish package
pypa/gh-action-pypi-publish@release/v1 を使うと公開できる、pypi とは odic で連携してるっぽいので事前に pypi の設定が必要 https://docs.github.com/ja/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi
poetry publish をする
poetry に token の設定が必要
普通に公開しようとすると夏期のようなエラーが出た
❯ poetry publish --build -r testpypi
There are 2 files ready for publishing. Build anyway? (yes/no) [no] yes
Building poetry-stabs-package-sample (0.1.0)
- Building sdist
- Built poetry_stabs_package_sample-0.1.0.tar.gz
- Building wheel
- Built poetry_stabs_package_sample-0.1.0-py3-none-any.whl
Publishing poetry-stabs-package-sample (0.1.0) to testpypi
- Uploading poetry_stabs_package_sample-0.1.0-py3-none-any.whl FAILED
HTTP Error 403: Invalid or non-existent authentication information. See https://test.pypi.org/help/#invalid-auth for more information. | b'<html>\n <head>\n <title>403 Invalid or non-existent authentication information. See https://test.pypi.org/help/#invalid-auth for more information.\n \n <body>\n <h1>403 Invalid or non-existent authentication information. See https://test.pypi.org/help/#invalid-auth for more information.\n Access was denied to this resource.<br/><br/>\nInvalid or non-existent authentication information. See https://test.pypi.org/help/#invalid-auth for more information.\n\n\n \n'
poetry config pypi-token.testpypi "pypi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for poetry_stabs_package_sample-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd669e288ca8bed1d9f4c0f76df8f0409a1de13c4250b6282f47e900233533f |
|
MD5 | 57b6030e8bf4a49f03d0c50f57661ca1 |
|
BLAKE2b-256 | 24dde92e7b827c9a8e81c156f13bd25a723b640eff9c973cf880c1a7c6f118b1 |
Close
Hashes for poetry_stabs_package_sample-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6f8a16b49be651723616b196d758b851b476d9a8d0531aba5741c79172f81a |
|
MD5 | 6eda5aa72337508342ec99aae05ed655 |
|
BLAKE2b-256 | 469f60935b0fbac9876757a9f095993c6a49ddcd1bd222601660a1c767600e90 |