From b19df075ed0882affc24710a4afc2b0df1432a47 Mon Sep 17 00:00:00 2001 From: aryasadeghi1 Date: Wed, 8 Jul 2026 16:29:23 +1000 Subject: [PATCH] build: unpin setuptools to align with Azure CLI (<81) Azure CLI and its extensions have removed their setuptools/wheel pins, so relax the ==70.0.0 pin to <81 to keep dependency management consistent across the ecosystem (#557). The cap stays below 81, which drops setup.py-based build support. Bump version to 4.6.1 and add a HISTORY entry. --- HISTORY.rst | 4 ++++ docs/_config.yml | 2 +- requirements.txt | 2 +- version.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 51c0d1cf..6ea0c46c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +4.6.1 +++++++ +* Unpinned ``setuptools`` (was ``==70.0.0``) to allow newer versions, capped at ``<81`` because setuptools 81+ drops ``setup.py``-based build support. + 4.6.0 ++++++ * Upgrade `@typespec/compiler` to 1.13.0. (#558) diff --git a/docs/_config.yml b/docs/_config.yml index 7bb302b2..f4438765 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -36,7 +36,7 @@ github: pypi: https://pypi.org/project/aaz-dev/ # TODO: get version number from github -version: v4.6.0 +version: v4.6.1 # Build settings theme: minima diff --git a/requirements.txt b/requirements.txt index 42054e8f..0fa59c70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ Jinja2~=3.1.4 MarkupSafe>=2.1.5 jsonschema~=4.23.0 click~=8.1.2 -setuptools==70.0.0 +setuptools<81 python-Levenshtein azure-mgmt-core azdev diff --git a/version.py b/version.py index 57903f2a..a00c0d2d 100644 --- a/version.py +++ b/version.py @@ -1,5 +1,5 @@ -_MAJOR, _MINOR, _PATCH, _SUFFIX = ("4", "6", "0", "") +_MAJOR, _MINOR, _PATCH, _SUFFIX = ("4", "6", "1", "") # _PATCH: On main and in a nightly release the patch should be one ahead of the last released build. # _SUFFIX: This is mainly for nightly builds which have the suffix ".dev$DATE". See