Upgrade Twine 4.0 → 5.0
There was an error running `twine check` (`KeyError: 'license'`) that was fixed by upgrading to 5.0. This version was chosen as it's the one in the current Ubuntu LTS release.
This commit is contained in:
parent
9223a4d7b9
commit
2489e4cbbc
@ -171,6 +171,6 @@ index-servers =
|
|||||||
pip install twine
|
pip install twine
|
||||||
|
|
||||||
poetry build
|
poetry build
|
||||||
twine check dist/blender_asset_tracer-1.19.tar.gz dist/blender_asset_tracer-1.19-*.whl
|
poetry run twine check dist/blender_asset_tracer-1.19.tar.gz dist/blender_asset_tracer-1.19-*.whl
|
||||||
twine upload -r bat dist/blender_asset_tracer-1.19.tar.gz dist/blender_asset_tracer-1.19-*.whl
|
poetry run twine upload -r bat dist/blender_asset_tracer-1.19.tar.gz dist/blender_asset_tracer-1.19-*.whl
|
||||||
```
|
```
|
||||||
|
|||||||
20
poetry.lock
generated
20
poetry.lock
generated
@ -1042,14 +1042,14 @@ files = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pkginfo"
|
name = "pkginfo"
|
||||||
version = "1.11.1"
|
version = "1.10.0"
|
||||||
description = "Query metadata from sdists / bdists / installed packages."
|
description = "Query metadata from sdists / bdists / installed packages."
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8"
|
python-versions = ">=3.6"
|
||||||
groups = ["dev"]
|
groups = ["dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "pkginfo-1.11.1-py3-none-any.whl", hash = "sha256:bfa76a714fdfc18a045fcd684dbfc3816b603d9d075febef17cb6582bea29573"},
|
{file = "pkginfo-1.10.0-py3-none-any.whl", hash = "sha256:889a6da2ed7ffc58ab5b900d888ddce90bce912f2d2de1dc1c26f4cb9fe65097"},
|
||||||
{file = "pkginfo-1.11.1.tar.gz", hash = "sha256:2e0dca1cf4c8e39644eed32408ea9966ee15e0d324c62ba899a393b3c6b467aa"},
|
{file = "pkginfo-1.10.0.tar.gz", hash = "sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
@ -1701,20 +1701,20 @@ testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pathlib2 (>=2.3.3) ; pyth
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "twine"
|
name = "twine"
|
||||||
version = "4.0.2"
|
version = "5.1.1"
|
||||||
description = "Collection of utilities for publishing packages on PyPI"
|
description = "Collection of utilities for publishing packages on PyPI"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.8"
|
||||||
groups = ["dev"]
|
groups = ["dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "twine-4.0.2-py3-none-any.whl", hash = "sha256:929bc3c280033347a00f847236564d1c52a3e61b1ac2516c97c48f3ceab756d8"},
|
{file = "twine-5.1.1-py3-none-any.whl", hash = "sha256:215dbe7b4b94c2c50a7315c0275d2258399280fbb7d04182c7e55e24b5f93997"},
|
||||||
{file = "twine-4.0.2.tar.gz", hash = "sha256:9e102ef5fdd5a20661eb88fad46338806c3bd32cf1db729603fe3697b1bc83c8"},
|
{file = "twine-5.1.1.tar.gz", hash = "sha256:9aa0825139c02b3434d913545c7b847a21c835e11597f5255842d457da2322db"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
importlib-metadata = ">=3.6"
|
importlib-metadata = ">=3.6"
|
||||||
keyring = ">=15.1"
|
keyring = ">=15.1"
|
||||||
pkginfo = ">=1.8.1"
|
pkginfo = ">=1.8.1,<1.11"
|
||||||
readme-renderer = ">=35.0"
|
readme-renderer = ">=35.0"
|
||||||
requests = ">=2.20"
|
requests = ">=2.20"
|
||||||
requests-toolbelt = ">=0.8.0,<0.9.0 || >0.9.0"
|
requests-toolbelt = ">=0.8.0,<0.9.0 || >0.9.0"
|
||||||
@ -2143,4 +2143,4 @@ zstandard = ["zstandard"]
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = "^3.9"
|
python-versions = "^3.9"
|
||||||
content-hash = "5dcc84912a16457d60a512b8f41ebbedfb28826524c1162566c8edca3dc316ac"
|
content-hash = "4b6195ca5f81f194d501ad45907cddbbe4c37b412b52d4c4a9506e8206ba3b15"
|
||||||
|
|||||||
@ -37,7 +37,7 @@ zstandard = { version = "^0.15", optional = true }
|
|||||||
mypy = ">=0.942"
|
mypy = ">=0.942"
|
||||||
pytest = "^6.2"
|
pytest = "^6.2"
|
||||||
pytest-cov = "^3.0.0"
|
pytest-cov = "^3.0.0"
|
||||||
twine = "^4.0.1"
|
twine = "^5.0.0"
|
||||||
# for the 'radon cc' command
|
# for the 'radon cc' command
|
||||||
radon = "^3.0"
|
radon = "^3.0"
|
||||||
# for converting profiler output to KCacheGrind input
|
# for converting profiler output to KCacheGrind input
|
||||||
|
|||||||
@ -19,5 +19,5 @@ echo git tag -a v$1 -m \'Tagged version $1\'
|
|||||||
echo
|
echo
|
||||||
echo "Build the package & upload to PyPi using:"
|
echo "Build the package & upload to PyPi using:"
|
||||||
echo "poetry build"
|
echo "poetry build"
|
||||||
echo "twine check dist/blender_asset_tracer-$1.tar.gz dist/blender_asset_tracer-$1-*.whl"
|
echo "poetry run twine check dist/blender_asset_tracer-$1.tar.gz dist/blender_asset_tracer-$1-*.whl"
|
||||||
echo "twine upload -r bat dist/blender_asset_tracer-$1.tar.gz dist/blender_asset_tracer-$1-*.whl"
|
echo "poetry run twine upload -r bat dist/blender_asset_tracer-$1.tar.gz dist/blender_asset_tracer-$1-*.whl"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user