diff --git a/pyproject.toml b/pyproject.toml index 6974c11..01e39a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ Repository = "https://github.com/OpenAdaptAI/openadapt-tray" [build-system] -requires = ["hatchling==1.31.0"] +requires = ["hatchling==1.32.0"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] diff --git a/scripts/release/pyproject.toml b/scripts/release/pyproject.toml index a0c38d0..2c5cfc2 100644 --- a/scripts/release/pyproject.toml +++ b/scripts/release/pyproject.toml @@ -3,7 +3,7 @@ [dependency-groups] release = [ "uv==0.12.7", - "hatchling==1.31.0", + "hatchling==1.32.0", "python-semantic-release==10.6.2", "GitPython==3.1.61", "click==8.1.8", diff --git a/scripts/release/uv.lock b/scripts/release/uv.lock index c44121a..342788f 100644 --- a/scripts/release/uv.lock +++ b/scripts/release/uv.lock @@ -8,7 +8,7 @@ requires-python = ">=3.12" release = [ { name = "click", specifier = "==8.1.8" }, { name = "gitpython", specifier = "==3.1.61" }, - { name = "hatchling", specifier = "==1.31.0" }, + { name = "hatchling", specifier = "==1.32.0" }, { name = "python-semantic-release", specifier = "==10.6.2" }, { name = "uv", specifier = "==0.12.7" }, ] @@ -242,17 +242,18 @@ wheels = [ [[package]] name = "hatchling" -version = "1.31.0" +version = "1.32.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "packaging" }, { name = "pathspec" }, { name = "pluggy" }, + { name = "tomlkit" }, { name = "trove-classifiers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/25/e2/dfa73fe78f773018dcaebc6d09b819bc10d328ff5a6b4a66efa1e3d71f52/hatchling-1.31.0.tar.gz", hash = "sha256:6b48ad4068a482ed7239b3a8215bc55b47aad3345d58dfc94e553c5d2d46211b", size = 57208, upload-time = "2026-07-08T01:48:32.237Z" } +sdist = { url = "https://files.pythonhosted.org/packages/69/08/33331757185504aae48b8d9bd78cec03a76e3aecfb52e549d05a2347c0dd/hatchling-1.32.0.tar.gz", hash = "sha256:0bdbde4a52b06c37e3eca395f85a762bf0ef06fe374fd8ae429dc6be10230f5f", size = 57783, upload-time = "2026-08-11T05:03:44.114Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/64/e2/2c0af0a52d16be74a4f194564fcdc417521ed863e9b65e4bc9052dacba6f/hatchling-1.31.0-py3-none-any.whl", hash = "sha256:aac80bec8b6fe35e8480f1c335be8910fa210a0e6f735a139be205dadcacb544", size = 77747, upload-time = "2026-07-08T01:48:31.024Z" }, + { url = "https://files.pythonhosted.org/packages/a9/84/1798b6d85ecde0e31546004efd25c5de1b1f49250644a60cce460e12593a/hatchling-1.32.0-py3-none-any.whl", hash = "sha256:0e17c9c3b9aa7c625acc8d0f5b622f107d5049af9ecf5ada4de1aada5be7cdbc", size = 78435, upload-time = "2026-08-11T05:03:42.644Z" }, ] [[package]] diff --git a/tests/test_release_contract.py b/tests/test_release_contract.py index 565c613..e700ffa 100644 --- a/tests/test_release_contract.py +++ b/tests/test_release_contract.py @@ -158,8 +158,8 @@ def test_release_uses_the_reviewed_locked_psr_runtime() -> None: assert "GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}" in workflow assert '"python-semantic-release==10.6.2"' in tools assert '"GitPython==3.1.61"' in tools - assert tools.count('"hatchling==1.31.0"') == 1 - assert pyproject.count('"hatchling==1.31.0"') == 1 + assert tools.count('"hatchling==1.32.0"') == 1 + assert pyproject.count('"hatchling==1.32.0"') == 1 assert '"click==8.1.8"' in tools assert '"click>=8.3.3"' in pyproject assert '"python-semantic-release==' not in pyproject @@ -167,7 +167,7 @@ def test_release_uses_the_reviewed_locked_psr_runtime() -> None: r'(?ms)^name = "python-semantic-release"\nversion = "10\.6\.2"$', lock ) assert re.search(r'(?ms)^name = "gitpython"\nversion = "3\.1\.61"$', lock) - assert re.search(r'(?ms)^name = "hatchling"\nversion = "1\.31\.0"$', lock) + assert re.search(r'(?ms)^name = "hatchling"\nversion = "1\.32\.0"$', lock) def test_locked_wrapper_preserves_psr_github_outputs(tmp_path: Path) -> None: