diff --git a/README.md b/README.md index 3ba7bc9..19369de 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,6 @@ index-servers = pip install twine poetry build -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 check 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 ``` diff --git a/poetry.lock b/poetry.lock index 62a0b84..85eac0a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1042,14 +1042,14 @@ files = [ [[package]] name = "pkginfo" -version = "1.11.1" +version = "1.10.0" description = "Query metadata from sdists / bdists / installed packages." optional = false -python-versions = ">=3.8" +python-versions = ">=3.6" groups = ["dev"] files = [ - {file = "pkginfo-1.11.1-py3-none-any.whl", hash = "sha256:bfa76a714fdfc18a045fcd684dbfc3816b603d9d075febef17cb6582bea29573"}, - {file = "pkginfo-1.11.1.tar.gz", hash = "sha256:2e0dca1cf4c8e39644eed32408ea9966ee15e0d324c62ba899a393b3c6b467aa"}, + {file = "pkginfo-1.10.0-py3-none-any.whl", hash = "sha256:889a6da2ed7ffc58ab5b900d888ddce90bce912f2d2de1dc1c26f4cb9fe65097"}, + {file = "pkginfo-1.10.0.tar.gz", hash = "sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297"}, ] [package.extras] @@ -1701,20 +1701,20 @@ testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pathlib2 (>=2.3.3) ; pyth [[package]] name = "twine" -version = "4.0.2" +version = "5.1.1" description = "Collection of utilities for publishing packages on PyPI" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" groups = ["dev"] files = [ - {file = "twine-4.0.2-py3-none-any.whl", hash = "sha256:929bc3c280033347a00f847236564d1c52a3e61b1ac2516c97c48f3ceab756d8"}, - {file = "twine-4.0.2.tar.gz", hash = "sha256:9e102ef5fdd5a20661eb88fad46338806c3bd32cf1db729603fe3697b1bc83c8"}, + {file = "twine-5.1.1-py3-none-any.whl", hash = "sha256:215dbe7b4b94c2c50a7315c0275d2258399280fbb7d04182c7e55e24b5f93997"}, + {file = "twine-5.1.1.tar.gz", hash = "sha256:9aa0825139c02b3434d913545c7b847a21c835e11597f5255842d457da2322db"}, ] [package.dependencies] importlib-metadata = ">=3.6" keyring = ">=15.1" -pkginfo = ">=1.8.1" +pkginfo = ">=1.8.1,<1.11" readme-renderer = ">=35.0" requests = ">=2.20" requests-toolbelt = ">=0.8.0,<0.9.0 || >0.9.0" @@ -2143,4 +2143,4 @@ zstandard = ["zstandard"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "5dcc84912a16457d60a512b8f41ebbedfb28826524c1162566c8edca3dc316ac" +content-hash = "4b6195ca5f81f194d501ad45907cddbbe4c37b412b52d4c4a9506e8206ba3b15" diff --git a/pyproject.toml b/pyproject.toml index f6d7c50..8af1d5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ zstandard = { version = "^0.15", optional = true } mypy = ">=0.942" pytest = "^6.2" pytest-cov = "^3.0.0" -twine = "^4.0.1" +twine = "^5.0.0" # for the 'radon cc' command radon = "^3.0" # for converting profiler output to KCacheGrind input diff --git a/update_version.sh b/update_version.sh index dc743b7..2a8f338 100755 --- a/update_version.sh +++ b/update_version.sh @@ -19,5 +19,5 @@ echo git tag -a v$1 -m \'Tagged version $1\' echo echo "Build the package & upload to PyPi using:" echo "poetry build" -echo "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 check 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"