From 0a4a4e81b27159a67b1a4ec424001f2dc903a5de Mon Sep 17 00:00:00 2001 From: Mike Williams <102263964+mikewilli@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:55:11 -0400 Subject: [PATCH] chore(schemas): upgrade twine to fix publishing error (#11333) Because - last publish of schemas package to PyPI failed - failure appears to be related to a bug documented in twine that was fixed in the latest version This commit - upgrades to the latest 5.1.1 version - bumps version of schemas so it will be published Fixes #11331 --- schemas/VERSION | 2 +- schemas/package.json | 2 +- schemas/poetry.lock | 20 ++++++++++---------- schemas/pyproject.toml | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/schemas/VERSION b/schemas/VERSION index e030a6e22..bd859435c 100644 --- a/schemas/VERSION +++ b/schemas/VERSION @@ -1 +1 @@ -2024.9.2 +2024.9.3 diff --git a/schemas/package.json b/schemas/package.json index ec742908a..ff034cdff 100644 --- a/schemas/package.json +++ b/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@mozilla/nimbus-schemas", - "version": "2024.9.2", + "version": "2024.9.3", "description": "Schemas used by Mozilla Nimbus and related projects.", "main": "index.d.ts", "repository": { diff --git a/schemas/poetry.lock b/schemas/poetry.lock index 8bbcb1c46..a1fa67b6f 100644 --- a/schemas/poetry.lock +++ b/schemas/poetry.lock @@ -615,13 +615,13 @@ 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" 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] @@ -1092,19 +1092,19 @@ files = [ [[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" 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" @@ -1173,4 +1173,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "20c68617f58169af1020bb9f14afc8a32a1b8f54751116567c0e0f514c5fc05d" +content-hash = "9204c714a20e1d21cc566ac6df2dc43bdf410d72b5dae44afef822dda2dddd66" diff --git a/schemas/pyproject.toml b/schemas/pyproject.toml index ce1ed09a3..46a36b105 100644 --- a/schemas/pyproject.toml +++ b/schemas/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mozilla-nimbus-schemas" -version = "2024.9.2" +version = "2024.9.3" description = "Schemas used by Mozilla Nimbus and related projects." authors = ["mikewilli"] license = "MPL 2.0" @@ -16,7 +16,7 @@ polyfactory = "^2.7.2" ruff = ">=0.5.0,<0.6.2" black = ">=23.3,<25.0" pytest = "^7.3.1" -twine = "^4.0.2" +twine = "^5.1.1" PyYAML = "^6.0" [build-system]