diff --git a/.chronus/changes/fix-pyproject-2025-8-3-13-40-25.md b/.chronus/changes/fix-pyproject-2025-8-3-13-40-25.md new file mode 100644 index 00000000000..d1a1924b081 --- /dev/null +++ b/.chronus/changes/fix-pyproject-2025-8-3-13-40-25.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@typespec/http-client-python" +--- + +Fix dependencies of pyproject.toml for ARM SDK \ No newline at end of file diff --git a/packages/http-client-python/generator/pygen/codegen/templates/packaging_templates/pyproject.toml.jinja2 b/packages/http-client-python/generator/pygen/codegen/templates/packaging_templates/pyproject.toml.jinja2 index 71ab1837828..b17908f0dfb 100644 --- a/packages/http-client-python/generator/pygen/codegen/templates/packaging_templates/pyproject.toml.jinja2 +++ b/packages/http-client-python/generator/pygen/codegen/templates/packaging_templates/pyproject.toml.jinja2 @@ -43,7 +43,7 @@ dependencies = [ {% else %} "isodate>={{ VERSION_MAP['isodate'] }}", {% endif %} - {% if options.get('azure_arm') %} + {% if options.get('azure-arm') %} "azure-mgmt-core>={{ VERSION_MAP['azure-mgmt-core'] }}", {% elif code_model.is_azure_flavor %} "azure-core>={{ VERSION_MAP['azure-core'] }}",