Skip to content

Conversation

@lmazuel
Copy link
Member

@lmazuel lmazuel commented Aug 21, 2025

Make the usage of uv easier and introduce a azpysdk CLI:

cd sdk/keyvault/azure-keyvault-keys

# uv approach
uv sync
uv run azpysdk --help

# venv approach
python3 -m venv .venv
source .venv/bin/activate
pip install -r dev_requirements.txt
azpysdk --help
image

This PR also move the azure-sdk-tools to pyproject.toml to simplify uv jobs with source dependencies.

Note: the uv approach requires to have imported the dev_requirements.txt in the pyproject.toml following PEP735 with

uv add -r dev_requirements.txt --group dev

Copilot AI review requested due to automatic review settings August 21, 2025 22:24
@lmazuel lmazuel requested review from a team, benbp, mccoyp, scbedd and weshaggard as code owners August 21, 2025 22:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new azpysdk CLI tool to simplify development workflows and modernizes the azure-sdk-tools package configuration. The changes enable both uv and traditional venv approaches for managing Azure SDK Python development dependencies.

Key changes:

  • Migrates azure-sdk-tools from setup.py to pyproject.toml for modern Python packaging
  • Introduces a new azpysdk CLI with basic commands (greet, echo, run)
  • Adds uv-compatible dependency management configuration to azure-keyvault-keys

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

File Description
sdk/keyvault/azure-keyvault-keys/pyproject.toml Adds uv sources configuration and dev dependency group for improved dependency management
eng/tools/azure-sdk-tools/setup.py Removes legacy setup.py configuration file
eng/tools/azure-sdk-tools/pyproject.toml Migrates package configuration from setup.py to modern pyproject.toml format
eng/tools/azure-sdk-tools/azpysdk/main.py Implements new azpysdk CLI with placeholder commands

@scbedd
Copy link
Member

scbedd commented Aug 22, 2025

@microsoft-github-policy-service rerun

@scbedd
Copy link
Member

scbedd commented Aug 22, 2025

/check-enforcer evaluate

@scbedd scbedd merged commit 8df21a0 into main Aug 22, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Azure SDK for Key Vault Aug 22, 2025
@scbedd scbedd deleted the pyp_for_uv branch August 22, 2025 20:48
v-dharmarajv added a commit that referenced this pull request Sep 16, 2025
* [ServiceBus] Convert azure-servicebus from setup.py to pyproject.toml (#42402)

* Initial plan

* Convert azure-servicebus from setup.py to pyproject.toml

Co-authored-by: swathipil <[email protected]>

* move swagger generate attributes py script to md so pyproject build avoids including in whl

* fix pyproject.toml

* Simplify py.typed package-data configuration to use generic pytyped format

Co-authored-by: swathipil <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: swathipil <[email protected]>
Co-authored-by: swathipil <[email protected]>

* Update CHANGELOG.md (#42484)

* [Identity] Update MI live test resources (#42463)

Subscription policy in Azure required some changes to allow VM outbound access.

Signed-off-by: Paul Van Eck <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Increment package version after release of azure-cosmos (#42485)

* enable mypy+type_check_samples for communication libraries (#42364)

* Customer Facing Statsbeat: Added remaining drop codes to base (#42382)

* Added remaining drop codes to base

* Updated CHANGELOG

* Fixed spell check errors

* Addressed comments

* Fixed spell check error

* Changed handling for readonly and exceptions

* Fix cspell error

* Updated LocalFileSotrage and LocalFileBlob

* Modified storage tests

* Linting

* Fixed cspell and lint errors

* cspell

* Addressed feedback

* [Monitor] Remove unused envvar from test resources output (#42469)

Signed-off-by: Paul Van Eck <[email protected]>

* [evaluation] update changelog and link to aka for adversarialsimulator deprecation (#42487)

* update changelog and link to aka for adversarialsimulator deprecation

* Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_adversarial_simulator.py

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>

* Prep for next version (#42489)

* Add language support to red_team with SupportedLanguages enum (#42132)

* Initial plan

* Add language support to RedTeam with SupportedLanguages enum

Co-authored-by: slister1001 <[email protected]>

* Fix black formatting issues in RedTeam language support files

Co-authored-by: slister1001 <[email protected]>

* test fixes and black code formatting

* Update sdk/evaluation/azure-ai-evaluation/tests/unittests/test_redteam/test_red_team_language_support.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/evaluation/azure-ai-evaluation/tests/unittests/test_redteam/test_red_team_language_support.py

Co-authored-by: Copilot <[email protected]>

* Update test_red_team_language_support.py

* add SupportedLanguages in redteam module

* black formatting fix

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: slister1001 <[email protected]>
Co-authored-by: Sydney Lister <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Update CODEOWNERS for Monitor Query Logs (#42500)

* Fix Projects SDK README.md, to mention the correct env variables used in the code snippet below (#42496)

* Tool Call Accuracy OpenAPI Tools (#42494)

* Tool Call Accuracy OpenAPI Tools

* Liniting issues

* Generate code for the activity step and add it to samples. (#42492)

* Add the RunStepActivity

* Add changelog entry

* Regenerate the code.

* Regenerate code

* Update tsp-location

* Fix readme

* Set SDK version in samples

* [Identity] Convert azure-identity packages from setup.py to pyproject.toml (#42404)

* Initial plan

* Convert azure-identity packages from setup.py to pyproject.toml

Co-authored-by: swathipil <[email protected]>

* Address review feedback: update repository URLs and exclude patterns in pyproject.toml

Co-authored-by: swathipil <[email protected]>

* Remove unnecessary license classifier from pyproject.toml files

Co-authored-by: swathipil <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: swathipil <[email protected]>

* bump typespec-python 0.48.2 (#42497)

* bump typespec-python 0.48.2

* update autorest.python version

* [AutoRelease] t2-iothub-2025-08-14-97732(can only be merged by SDK owner) (#42513)

* code and test

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* Refactor one settings config manager (#42508)

* [WebPubSubClient] Convert azure-messaging-webpubsubclient package from setup.py to pyproject.toml with Python 3.9+ support (#42462)

* Initial plan

* Convert azure-messaging-webpubsubclient from setup.py to pyproject.toml

Co-authored-by: swathipil <[email protected]>

* Apply reviewer feedback: update repository URL, include CHANGELOG.md in readme, and add doc*/stress* exclusions

Co-authored-by: swathipil <[email protected]>

* Remove MIT License classifier from pyproject.toml as requested

Co-authored-by: swathipil <[email protected]>

* Add samples* to package exclusions in pyproject.toml

Co-authored-by: swathipil <[email protected]>

* Update Python version support: drop 3.8, add 3.13, set minimum to 3.9

Co-authored-by: swathipil <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: swathipil <[email protected]>

* Refactored storage.py put methods (#42502)

* Refactored storage.py and modified put methods of LocalFileBlob and LocalFileStorage

* Updated CHANGELOG

* Addressed feedback

* Conglomerated changes to optimize `venv` usage in pipeline (#42486)

* conglomerated changes to venv usage within the CI pipeline. The path prepend + VIRTUAL_ENVIRONMENT setting
  is definitely enough to make the virtualenv available to the rest of the system cross-task
* Add eng/pipelines/templates/steps/install-uv.yml
* Add install-uv to use-venv -> also making $(PIP_EXE) available to the rest of the pipeline thereafter and add
  parameter InstallUv
* utilize $(PIP_EXE) everywhere that `python -m pip` used to be used. InstallUv step now sets this value
  properly to reflect which package manager is selected for the rest of the pipeline'
* adjustments to the flow of build-test to eliminate a usage of python 3.10 that was unnecessary

* Add run step delta for cusom bing search (#42510)

* Add run step delta for cusom bing search

* Fixes

* Run codeql only in aggregate-reports (#42531)

* [AutoRelease] t2-containerregistry-2025-08-15-42896(can only be merged by SDK owner) (#42538)

* code and test

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* [AutoRelease] t2-msi-2025-08-15-48533(can only be merged by SDK owner) (#42537)

* code and test

* update changelog

* Update sdk/resources/azure-mgmt-msi/CHANGELOG.md

* Update sdk/resources/azure-mgmt-msi/azure/mgmt/msi/_version.py

* update

* add changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [Test proxy] Remove migration guide (#42533)

* [Identity] Disable prompts on AZD Credential token commands (#42535)

This can cause timeouts in the credential.

Signed-off-by: Paul Van Eck <[email protected]>

* Session Token False Progress (#42393)

* add session token false progress

* update changelog

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

* add more tests

* react to comments

* fix analyze

---------

Co-authored-by: Copilot <[email protected]>

* Resolve Crashing `VerifyChangeLogs` (#42545)

Co-authored-by: Copilot <[email protected]>

* [CredScan] Update process doc for baseline file removal (#42530)

* Fix run hanging when MCP approval is required. (#42548)

* Fix run anging when MCP approval is required.

* Fix

* Linter fix

* Fix VerifySdist failure (#42550)

* add tests for set_dev_version
* fix issue with classification not updating.

Co-authored-by: Copilot <[email protected]>

* Modify max_completion_tokens parameter for tool call accuracy evaluator (#42544)

* support 5 levels, evaluate all tools at once

* Update sample notebook and change log

* Add missing import

* Modify test cases to match the new output format

* Modify other test file to match the new output format

* Fixed parsing of results

* Change key name in output

* Spell check fixes

* Minor prompt update

* Update result key to tool_call_accuracy

* Delete test_new_evaluator.ipynb

* Added field names and messages as constants

* Additional note in prompt

* Re-add the temperature to the prompty file

* Removed 'applicable' field and print statement

* Move excess/missing tool calls fields under additional details

* Typo fix and removal of redundant field in the prompt

* Modify per_tool_call_details field's name to details

* Revert "Modify per_tool_call_details field's name to details"

This reverts commit 2c3ce5080fc317a12263653e841a455fa16b73a6.

* Revert 'Merge branch 'main' into selshafey/improve_tool_call_accuracy'

* Black reformat

* Reformat with black

* To re-trigger build pipelines

* Add notebook for bugbash

* modify bugbash notebook

* Add support for built-in tools for Tool Call Accuracy Evaluator

* Remove bugbash notebook

* Resolve issues with merge

* Fix id value

* Use existing built-in tool definitions

* Run black

* Prompt modifications

* Add test cases for built-in tools

* Handle converter format

* Add test cases for converter format

* Support only converter format

* Revert tool definitions to be required, run black

* Change max_completion_tokens to max_tokens

* merged with main

* re-merge with main

* run black

---------

Co-authored-by: Salma Elshafey <[email protected]>

* [AutoRelease] t2-netapp-2025-08-14-20458(can only be merged by SDK owner) (#42512)

* code and test

* test assets

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: Audunn Baldvinsson <[email protected]>

* Refactored logic for tracking dropped items from storage (#42542)

* Refactored logic for tracking dropped items from storage

* Updated CHANGELOG

* Added export interval env var for customer sdkstats (#42551)

* Added the export interval env var for customer sdkstats

* Added CHANGELOG

* Update sdk/monitor/azure-monitor-opentelemetry-exporter/tests/statsbeat/test_customer_statsbeat.py

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 11477 (#42547)

* place prompts in common place

* Update eng/common/instructions/azsdk-tools/create-sdk-locally.prompt.md

Co-authored-by: Copilot <[email protected]>

* Update eng/common/instructions/azsdk-tools/verify-namespace-approval.prompt.md

Co-authored-by: Copilot <[email protected]>

* Update eng/common/instructions/azsdk-tools/typespec-to-sdk.prompt.md

Co-authored-by: Copilot <[email protected]>

* Update eng/common/instructions/azsdk-tools/typespec-to-sdk.prompt.md

Co-authored-by: Copilot <[email protected]>

* rename to .instructions.md

* remove uneeded headers

* change to .instructions

* fix

* run to refer to

* relative links fix

---------

Co-authored-by: Juan Ospina <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Generate classes for Azure Function call. (#42534)

* Add AAD to workload configs (#42389)

* update workloads to use aad

* update workloads to use aad

* improve setup scripts

* revert bicep change

* fix analyze

* fix upserts

* fix upserts

* made new script an executable

* fix path to dev_requirements

* fix setup script

* fix setup script

* fix setup script

* fix setup script

* staggered startup

* fix setup script

* fix setup script

* [Agents] correct sample_agents_openapi_connection_auth.py (#42570)

* Sync eng/common directory with azure-sdk-tools for PR 11559 (#42572)

* Add a new script to mark package as released from release pipeline

* Update eng/common/scripts/Mark-ReleasePlanCompletion.ps1

Co-authored-by: Copilot <[email protected]>

* Fix spacing in the script

* Update script to check active release plans using package name and pr merge status

* Log work item Ids if multiple works items are found for release plan

---------

Co-authored-by: Praveen Kuttappan <[email protected]>
Co-authored-by: Praven Kuttappan <[email protected]>
Co-authored-by: Copilot <[email protected]>

* typespec merged stay on main (#42574)

Co-authored-by: Juan Ospina <[email protected]>

* [AutoRelease] t2-appcontainers-2025-08-14-41979(can only be merged by SDK owner) (#42516)

* code and test

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* [AutoRelease] t2-workloadorchestration-2025-07-28-44535(can only be merged by SDK owner) (#42239)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* ReadManyItems API (#42167)

* feature:read_many_api first iteration

* read_many_items - adding logic for chunking/semaphores

* read_many_items - code refactor

* read_many_items - created a new helper class for chunking/concurrency

* fix: adding test cases

* read_many_items - refactoring

* read_many_items - refactoring

* read_many_items - clean up

* Update sdk/cosmos/azure-cosmos/azure/cosmos/aio/_container.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/test_read_many_items_partition_split.py

Co-authored-by: Copilot <[email protected]>

* read_many_items - adding code for the sync flow.

* fix: addressing comments

* fix: add support for aggregated request charges in the header

* fix: fixing typos

* fix: fixing split tests

* fix: fixing linting issues

* fix: addressing comments

* fix: linting errors

* fix: linting errors

* fix: adding order

* fix: cleaning up

* fix: cleaning up

* fix: cleaning up

* fix: bug fixing in the chunking logic

* fix: addressing comments

* fixing pylink comments

* fixing pylint errors

* fix: adding samples

* fix: fixing tests

---------

Co-authored-by: Copilot <[email protected]>

* DatabaseAccountRetryPolicy Improvements (#42525)

* DatabaseAccountRetry - initial commit

* Update sdk/cosmos/azure-cosmos/tests/test_retry_policy_async.py

Co-authored-by: Copilot <[email protected]>

* DatabaseAccountRetry - adding comments

* fixing pylink comments

* updated CHANGELOG.md

* fixing bug for write region unavailability

* fix: comments

* fix: comments

* fix: comments

* fix: change log update

---------

Co-authored-by: Copilot <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 11726 (#42589)

* Update release plan completion script to take package info file

* Take only info file path as param

---------

Co-authored-by: Praveen Kuttappan <[email protected]>

* Fixing the issue with setTestPipeline not running in the template pipeline as it should (#42594)

* Fix broken links (#42566)

* [perfstress] Add support for per-operation latency tracking and results file output (#42554)

* Add test and delta class for fabric tool. (#42597)

* Rename Customer Statsbeat to Customer SDKStats (#42573)

* Rename Customer Statsbeat to Customer SDKStats

* Updated CHANGELOG

* Fixed shutdown issue

* Added tests

* Updated CHANGELOG

* Update typespec (#42609)

* Sync eng/common directory with azure-sdk-tools for PR 11741 (#42612)

* Add a pipeline template to mark SDK package as released

* Add error handling for diagnostic logging setup (#42505)

* copilot tests

* simplify tests

* tests for second logger

* changelog

* changelog

* Update sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_diagnostics/diagnostic_logging.py

Co-authored-by: Copilot <[email protected]>

* lint

* singleton

* lint newline

* feedback: Add check to avoid lock expense, pass instead of info.

---------

Co-authored-by: Copilot <[email protected]>

* Add thread message delete operation (#41625)

* Demonstrate the include parameter usage. (#41523)

* Demonstrate the include parameter usage

* Enable tests for reference text inclusion.

* Add file search with streaming samples (#41551)

* Small fix and use projects for getting connection ID (#41576)

* Update readme (#41527)

* Update readme

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

* update

* Takes Jarno recommendation

---------

Co-authored-by: Copilot <[email protected]>

* Howie/next lint (#41621)

* Fix pylintrc to exclude agents generated code (#41612)

* Fix pylintrc to exclude agents generated code

* Update pylintrc

Co-authored-by: Copilot <[email protected]>

* Resolved

* Update eng/pylintrc

* Update pylintrc

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Libba Lawrence <[email protected]>

* Fix lint

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Libba Lawrence <[email protected]>

* Add thread message delete operation

* Re generate code

* Merge to upstream

* Revert "Merge to upstream"

This reverts commit 8b157e1a2119dd649474b49ccef3614139b3b995.

* Generate code from main branch

---------

Co-authored-by: Howie Leung <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Libba Lawrence <[email protected]>

* [Identity] Add broker credential to "dev" env group (#42599)

Signed-off-by: Paul Van Eck <[email protected]>

* Distro release 1.7.0 (#42614)

* Distro release 1.7.0

* Distro release 1.7.0

* version

* [AutoRelease] t2-containerservice-2025-08-20-99056(can only be merged by SDK owner) (#42602)

* code and test

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* Sync eng/common directory with azure-sdk-tools for PR 11745 (#42618)

* Fix wiql issue in getting release plan work items

* Update eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1

Co-authored-by: Copilot <[email protected]>

* .NET requires custom source path since source path contains dev tools repo

* Remove order by

---------

Co-authored-by: Praveen Kuttappan <[email protected]>
Co-authored-by: Praven Kuttappan <[email protected]>
Co-authored-by: Copilot <[email protected]>

* ***NO_CI*** move tools/azure-sdk-tools under eng/tools and all references across the repo (#42629)

* Staging signoff fixes  (#42266)

* change workloads based on feedback

* get locations from database account call

* add getting account info to conftest

* convert more tests to only use get database account regions

* fix tests

* fix test

* fix staging tests

* fix staging tests

* fix staging tests

* fix staging tests

* fix staging tests

* fix tests

* fix tests

* fix tests

* Update sdk/cosmos/azure-cosmos/tests/test_session.py

Co-authored-by: Copilot <[email protected]>

* add staging yml file

* add staging pipeline

* staging tests

* staging tests

* add staging pipeline

---------

Co-authored-by: Copilot <[email protected]>

* Update Test Case Usage (#42613)

* Convert azure-template package from setup.py to pyproject.toml with Python 3.9+ support (#42622)

* Initial plan

* Convert azure-template package from setup.py to pyproject.toml

Co-authored-by: swathipil <[email protected]>

* Fix package-data configuration to use pytyped instead of package name

Co-authored-by: swathipil <[email protected]>

* Add samples* to exclude list in setuptools package discovery

Co-authored-by: swathipil <[email protected]>

* Update Python version support to 3.9+ and add 3.12, 3.13 classifiers

Co-authored-by: kashifkhan <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: swathipil <[email protected]>
Co-authored-by: kashifkhan <[email protected]>

* Ensure that azure-sdk-tools is part of the packages being installed (#42635)

* Remove explicit setup.py pass to verify dependencies present (#42636)

* Make snippet updater tests re-entrant (#42632)

* update the python snippet updater tests so that they are re-entrant without accidentally changing files that could get commmitted
* fix the tools tests

* Add release step in Python release stage (#42631)

* Fixed BlobLeaseClient mypy errors by documenting class variables (#42634)

* Increment version for monitor releases (#42628)

* Increment package version after release of azure-monitor-opentelemetry

* Trigger CI checks

---------

Co-authored-by: Radhika Gupta <[email protected]>

* Fix bug with container name with spaces (#42608)

* fix bug with container name with spaces

* update changelog

* fix test

* fix tests

* remove unused line

* Add SharePoint delta tool call. (#42623)

* Add SharePoint delta tool call.

* Add CodeIterpreter tests and Improve code interpreter.

* Generate code from the main branch.

* [Test proxy] Update troubleshooting guide, link to it in failure messages (#42555)

* [Python] WebPubSub Migration to TypeSpec (#42131)

* initial gen files

* generated model patch

* support conn str and ordering

* patch in multi content type ops

* fix sync patch file

* adjust pprint name

* fix async patch

* black formatting

* regen for error code align

* fix kwargs for tokens

* regen to match api name

* properties

* change namespace val and generated pagedResult

* regen

* new regen

* deleting generated code

* new regen

* new regen

* test changing client ns

* reset ns change

* remove _models.py

* readd models

* remove dupe

* fix model import in patch

* Fix Sphinx duplicate object warning for GroupMember

Remove duplicate export of GroupMember from main package level.
GroupMember is now only available through the models subpackage
(azure.messaging.webpubsubservice.models.GroupMember) which
eliminates the duplicate object description warning in Sphinx.

* update setup.py

* import from _operation changes

* fix tests

* fix import

* fix import

* skip test

* ignore query param order

* add sanitizer to conftest

* changes to add conn_id

* update prop name

* add in commit & repo info

---------

Co-authored-by: Laurent Mazuel <[email protected]>

* Ensure we can't break `dev_setup.py` (#42653)

* ensure we can't break dev setup without knowing
* extend triggers to extend modifications to the same workflow

* Identity mfa support (#42568)

* Initial plan

* Implement claims challenge error for AzureCliCredential get_token and get_token_info methods

Co-authored-by: xiangyan99 <[email protected]>

* Refine claims challenge handling to ignore whitespace-only claims and add comprehensive tests

Co-authored-by: xiangyan99 <[email protected]>

* Fix MyPy errors in AzureCliCredential claims challenge handling

Co-authored-by: xiangyan99 <[email protected]>

* Fix pylint line-too-long and trailing-whitespace errors in AzureCliCredential

Co-authored-by: xiangyan99 <[email protected]>

* Apply black formatting to AzureCliCredential files

Co-authored-by: xiangyan99 <[email protected]>

* black

* Update error message format and docstrings for claims challenge handling

- Change error message from "Fail to get token, please run" to "Failed to get token. Run"
- Update docstrings to clarify error conditions as requested in code review
- Update test expectations to match new error message format

Co-authored-by: scottaddie <[email protected]>

* black

* Include scopes in az login command for claims challenge error messages

Co-authored-by: weikanglim <[email protected]>

* Refactor claims challenge logic to _get_token_base and add tenant support

- Move claims challenge logic from get_token and get_token_info methods to _get_token_base method to eliminate code duplication
- Pass claims through TokenRequestOptions instead of checking directly in individual methods
- Add tenant_id support in error messages when provided in options
- Update error message format to include tenant: "az login --claims-challenge {claims} [--tenant {tenant}] [--scope {scope}]"
- Add comprehensive tests for tenant functionality in both sync and async versions
- Maintains backward compatibility while providing more complete actionable commands

Co-authored-by: pvaneck <[email protected]>

* Added MFA support for developer credentials.

* Minor refactor and test updates

Signed-off-by: Paul Van Eck <[email protected]>

* Update error messages

Signed-off-by: Paul Van Eck <[email protected]>

---------

Signed-off-by: Paul Van Eck <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: xiangyan99 <[email protected]>
Co-authored-by: scottaddie <[email protected]>
Co-authored-by: weikanglim <[email protected]>
Co-authored-by: pvaneck <[email protected]>
Co-authored-by: Paul Van Eck <[email protected]>

* Introduce a dummy azpysdk (#42637)

* Add option to run uv easily if wanted
* fix dev_setup for the fact that azuresdk-tools isn't a setup.py package anymore
* Update eng/tools/azure-sdk-tools/pyproject.toml

Co-authored-by: McCoy Patiño <[email protected]>

---------

Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: McCoy Patiño <[email protected]>

* Update changelog parsing to round-trip header (#42649)

Co-authored-by: Wes Haggard <[email protected]>

* Prepare for release (#42657)

* Sync eng/common directory with azure-sdk-tools for PR 11807 (#42658)

* Update package release status completion to process multiple packages

* Upgrade py2docfx to 0.1.12 (#42659)

* [AutoRelease] t2-web-2025-08-22-34981(can only be merged by SDK owner) (#42642)

* code and test

* update changelog

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* [AutoRelease] t2-compute-2025-08-22-00365(can only be merged by SDK owner) (#42644)

* code and test

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* update dependency version (#42668)

* [AutoRelease] t2-security-2025-08-22-18832(can only be merged by SDK owner) (#42641)

* code and test

* update testcases

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* update lock file (#42669)

* Make component type insensitive (#42592)

* make component type insensitive

* fix test

* [AutoRelease] t2-playwright-2025-08-14-63504(can only be merged by SDK owner) (#42511)

* code and test

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* [Test proxy] Default to HTTP (#42662)

* Remove six use in azure-sdk-tools (#42665)

* Sync eng/common directory with azure-sdk-tools for PR 11802 (#42650)

* prompt files for labels and codeowners

* Update eng/common/instructions/azsdk-tools/typespec-to-sdk.instructions.md

Co-authored-by: Mariana Rios Flores <[email protected]>

* Update eng/common/instructions/azsdk-tools/typespec-to-sdk.instructions.md

Co-authored-by: Mariana Rios Flores <[email protected]>

* changed NotAServiceLabel line

* changed guidance to the documentation

* specified which PRs to display

* Update eng/common/instructions/azsdk-tools/validate-service-label.instruction.md

Co-authored-by: Juan Ospina <[email protected]>

* Update eng/common/instructions/azsdk-tools/validate-codeowners.instructions.md

Co-authored-by: Juan Ospina <[email protected]>

* Update eng/common/instructions/azsdk-tools/validate-service-label.instruction.md

Co-authored-by: Juan Ospina <[email protected]>

---------

Co-authored-by: shirelmr <[email protected]>
Co-authored-by: Shirel Marino <[email protected]>
Co-authored-by: Mariana Rios Flores <[email protected]>
Co-authored-by: Michelle <[email protected]>
Co-authored-by: Michelle Ma <[email protected]>
Co-authored-by: Juan Ospina <[email protected]>

* [Identity] Add env var enforcement flag to DAC (#42660)

Signed-off-by: Paul Van Eck <[email protected]>

* Use ci_tools.txt in init.sh (#42654)

* use ci_tools in init

* output to dev/null

* new line

* Standardized CODEOWNERS File Request (#42503)

* Update CODEOWNERS headers

* Updated entries to the correct ServiceOwner tag

* Update CODEOWNERS

---------

Co-authored-by: Shirel Marino <[email protected]>

* pin `stevedor` to 5.4.1 (#42691)

* new version of stevedore dep is breaking bandit

* [Identity] Fix MI integration VM test (#42686)

Since we migrated azure-identity to be pyproject.toml based, we now need
to make sure certain prerequisite depedencies are installed on the VM we
run integration tests on.

Signed-off-by: Paul Van Eck <[email protected]>

* Prep for next version (#42678)

* Added changes for rate limited sampler (azure-distro changes)  (#41976)

* RateLimitedSampler distro changes

* Fixed formatting errors

* Updated config and tests

* Updated CHANGELOG with URL

* Modified CHANGELOG

* Retrigger build

* Upgraded exporter version in setup.py

* Fixed argument and linting errors

* Addressed comments

* Bumped up the unreleased version number

* Updated CHANGELOG

* Updated CHANGELOG and README

* Updated url in README

* Fix link issue

* Fix link

* bandit

* capitalized rate limited sampler

* update apiview-stub-generator to 0.3.22 (#42699)

* Release/azure communication phonenumbers 1.4.0 (#42407)

* Populating `whl` and `imports` entrypoint (#42677)

* Add Check class to be used as common definition for a check
* add whl and import_all check entrypoints
* refactor to allow automatic venv isolation
* update readme
  
Co-authored-by: Laurent Mazuel <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>

* Add Powershell Installation Instructions for Copilot (#42607)

* Add Powershell Installation Instructions for Copilot

* Update copilot-instructions.md

* more specific

* enable portaudio installation by existence of a variable that we will set in the matrix for portaudio ci.yml (#42693)

* changed name file (#42704)

Co-authored-by: shirelmr <[email protected]>

* Prep for release of Python Projects SDK version 1.1.0b3 (#42702)

* Fix failing storage tests (#42680)

* some requests were not being filtered behind self.is_live. Just added an if check in a few places to get this green

* Remove Dockerfile (#42630)

* remove dockerfile (and clean up tools directory)
* remove unused documentation

* Sync eng/common directory with azure-sdk-tools for PR 11839 (#42709)

* snake case

* change file name to .instructions.md

* Revert "change file name to .instructions.md"

This reverts commit c4bb65dc03258a45f74590edff6ccbf889d9e559.

---------

Co-authored-by: Juan Ospina <[email protected]>

* Fix telemetry issues. (#42698)

* Fix telemetry issues.

* Fix

* Add support for OpenAPI step

* Fix OpenAPI tool logging

* Fix comment

* Fix

* Add mention of external dependencies to azure-sdk-tools readme (#42701)

* Add Voice Live SDK (preview) (#42080)

Introduces a new client library that enables real-time, speech-to-speech interactions with Azure AI Voice Live, supporting low-latency audio streaming and conversational experiences.
API view: https://spa.apiview.dev/review/8129e6c762924e02836a2e79b2b480a6?activeApiRevisionId=fb791ee09ebc438ea457deff338b865d

* update issue repo url (#42720)

* fix typo (#42722)

* remove kwargs from docstrings (#42729)

* [evaluation] adding e2e tests for red team (#42504)

* adding e2e tests for red team

* address comments

* fix recordings so that playback works hopefully

* fix test recordings

* mock service discovery url for non fdp project tests

* run tox black

* fix faulty test

* fix faulty test pt 2

* ignore problematic config

* flaky test

* [Storage] Fix Blob test_helpers.py (#42712)

* Remove recording condition for playback-only test decorator (#42717)

* Conv runtime python sdk 20250515preview (#42271)

* Configurations:  'specification/cognitiveservices/Language.Conversations/tspconfig.yaml', API Version: 2025-05-15-preview, SDK Release Type: beta, and CommitSHA: '681db46dd0a9bf82b91c91687f2bb600278a8c5c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'

* added test for conversation prediciton

* modify all the clientname to be same as csharp

* removed aiconversation and reuse textConversation

* change version to `1.2.0b1`

* update the version to '2.0.0b1'

* update the clientname

* modify clientname for canceljob and submitjob

* updated operation clientnames

* added analyze_conversations function to retrieve the result object

* added overload and documents for analyze_conversations

* change name of analyze_conversations to begin_analyze_conversation_job

* make get_job_status private

* make the original begin_analyze_conversation_job private

* renamed to ConversationalAILanguageUnderstandingActionContent

* updated Tasks.items to "taskResults" clientName

* updated clientName to NonLinkedTargetIntentResult

* modify test for summarization

* added custom begin_analyze_conversation_job to aio client

* add sync custom AnalyzeConversationLROPoller, and add a summarization test for it.

* added customed async AnalyzeConversationAsyncLROPoller, and modify begin_analyze_conversation_job accordingly

* add test for async conversation summarization

* removed Luis related types

* modify return type from AnalyzeConversationLROPoller to AnalyzeConversationLROPoller[ItemPaged[ConversationActions]]

* modify aio return type from AnalyzeConversationAsyncLROPoller to AnalyzeConversationAsyncLROPoller[AsyncItemPaged[ConversationActions]] and adjust tests

* add test for conversation prediction

* add tests for prediction sync and async

* move the custom poller to the top namespace and modify the tests

* modified test prefix from authoring to conversations

* add tests for orchestration prediction

* added tests for prediction with options

* added tests for prediction with language

* added tests for conversation pii

* correct the test names

* added tests for pii with character mask policy.
add await client.close() to all async tests

* added tests for pii with entity mask policy

* add tests for pii with no mask policy

* added tests for multi-turn prediction

* updated assets.json

* removed generated tests and generated samples

* updated change log

* fixed typo in change log

* delete authoring samples

* added __all__: List[str] = [] to patch.py

* added samples for orchestration_prediction

* added samples for conversation_summarization

* modify samples for orchestration_prediction

* added samples for conversation_prediction

* added samples for conversation_prediction_with_options

* added samples for conversation_prediction_with_language

* removed old samples

* added samples for conversation_pii

* add samples for conversation_pii_with_no_mask_policy

* added tests for conversation_pii_with_entity_mask_policy

* added samples for conversation_pii_with_character_mask_policy

* added samples for conversation_multi_turn_prediction

* add suppress on test and sample

* updated the fake endpoint

* updated tag in assets.json

* fix check spelling

* add Generic[PollingReturnType_co] to custom poller

* fix pylint

* # pylint:disable

* updated general readme

* add apiview to client init

* updated general readme

* updated the samples readme

* remove luis from readme

* add next steps and resume the code sample

* fix indentication

* rename ConversationActionContent

* fixed pylint

* updated all the async samples

* updated sync samples

* remove all unnecessary isinstance

* modify record_state_for_details to private

* updated to qa is not None and qa.answers is not None in samples

* added # pylint:disable=protected-access

* udpated the date on change log

* removed empty changelog entries

* Update sdk/cognitivelanguage/azure-ai-language-conversations/CHANGELOG.md

Co-authored-by: McCoy Patiño <[email protected]>

* Update sdk/cognitivelanguage/azure-ai-language-conversations/README.md

Co-authored-by: McCoy Patiño <[email protected]>

* replace PowerShellPreparer with EnvironmentVariableLoader

---------

Co-authored-by: azure-sdk <[email protected]>
Co-authored-by: McCoy Patiño <[email protected]>

* Add VS Code credential to README table (#42737)

* enable mgmt for Python (#42436)

enable API reviews for management plane for all languages includes python

* Rewrite Mypy Check Without Tox (#42706)

Co-authored-by: Scott Beddall <[email protected]>

* add mypy check

* add mypy version

* add get_targeted_directories helper function

* clean

* append wildcard to target glob

* revert adding /* to target

* change default to **

* remove comment

* update import_all

* update import_all and whl

* copilot formatting fixes

Co-authored-by: Copilot <[email protected]>

* update exception logging

* update readme

---------

Co-authored-by: Laurent Mazuel <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Fix MCP serialization for telemetry. Add unit tests. (#42739)

* Fix MCP serialization for telemetry. Add unit tests.

* Fix

* [Key Vault] Docstring improvements for custom polling code (#42692)

* Update CODEOWNERS for Azure AI Search (#42735)

* Add test for DeepResearch (#42750)

* Remove pod identity content from TSG (#42754)

* Bugfix/aoai row mismatch (#42466)

* Prepare evals SDK Release

* Fix bug

* Fix for ADV_CONV for FDP projects

* Update release date

* re-add pyrit to matrix

* Change grader ids

* Update unit test

* replace all old grader IDs in tests

* Update platform-matrix.json

Add pyrit and not remove the other one

* Update test to ensure everything is mocked

* tox/black fixes

* Skip that test with issues

* update grader ID according to API View feedback

* Update test

* remove string check for grader ID

* Update changelog and officialy start freeze

* update the enum according to suggestions

* update the changelog

* Finalize logic

* Initial plan

* Fix client request ID headers in azure-ai-evaluation

Co-authored-by: nagkumar91 <[email protected]>

* Fix client request ID header format in rai_service.py

Co-authored-by: nagkumar91 <[email protected]>

* Passing threshold in AzureOpenAIScoreModelGrader

* Add changelog

* Adding the self.pass_threshold instead of pass_threshold

* Add the python grader

* Remove redundant test

* Add class to exception list and format code

* Add properties to evaluation upload run for FDP

* Remove debug

* Remove the redundant property

* Fix changelog

* Fix the multiple features added section

* removed the properties in update

* fix(evaluation): pad AOAI grader results to expected_rows to prevent row misalignment; add missing-rows unit test

* Update the test and changelog

* Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluate/_evaluate_aoai.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluate/_evaluate_aoai.py

Co-authored-by: Copilot <[email protected]>

* Fix the indent

* Lint fixes

* update cspell

---------

Co-authored-by: Nagkumar Arkalgud <[email protected]>
Co-authored-by: Nagkumar Arkalgud <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nagkumar91 <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Fix broken links (#42745)

* Update CHANGELOG for 1.4.0 release date (#42766)

* [Agents] add static merge_resources method to McpTool class (#42768)

* [Voice Live]Update models related to voice and conversation (#42718)

* Update models related to voice and conversation

* Update sdk/ai/azure-ai-voicelive/azure/ai/voicelive/_types.py

Co-authored-by: Copilot <[email protected]>

* use pyproject and deprecate setup.py

* update change log

---------

Co-authored-by: Xiting Zhang <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Added Red Team tests and pushed new recordings (#42711)

* Added RedTeam tests

* updated tests

* pushed assets

* Update sdk/ai/azure-ai-projects/tests/test_redteams_async.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/ai/azure-ai-projects/tests/test_redteams.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/ai/azure-ai-projects/tests/test_base.py

Co-authored-by: Copilot <[email protected]>

* Update connection_name to a fixed value

---------

Co-authored-by: Copilot <[email protected]>

* Venv Isolation Update (#42772)

* checks can now properly isolate themselves without a recursive call to azure-sdk-tools from a venv to another venv

* Simplify and enhance `discover_targeted_packages` (#42740)

* simplfy discover_targeted_packages and add a test for it
* we need this to work by default for unfiltered input, instead of forcing default of **

* [CODEOWNERS]  Messaging ownership transfer (#42774)

The focus of these changes is to transfer ownership of the Azure messaging services to the associated service teams.

* bump typespec-python 0.49.0 (#42781)

* bump typespec-python to 0.49.0

* Update swagger_to_sdk_config_autorest.json

* Update Autorest Python version to 6.39.0

* Refactor statsbeat to use `StatsbeatManager` (#42716)

* Prepare azure-ai-evaluation release 1.11.0 (#42710)

* Add Centralized Logger for Checks (#42775)

* add wip logging.py

* pass args to logging

* use logger in mypy, move logger to logging/init

* use env var

* minor log fix

* replace logging with logger

* replace prints with logs

* make log level args mutually exclusive

* fix arg precedence logic

* add unit test

* test fix

* test fix

* minor fix

* logic fix

* formatting fix

* merge

* clean test

* standardize log params

* copilot formatting fix

Co-authored-by: Copilot <[email protected]>

* remove levels arg

---------

Co-authored-by: Copilot <[email protected]>

* [Bugfix] Partition Scoping Incorrect for PPCB (#42751)

* add logs and improve diagnostics

* fix logs

* fix partitionkey issue

* add tests

* remove logs and add change log

* fix pylint

* fix tests

* Sync eng/common directory with azure-sdk-tools for PR 11905 (#42785)

* Updated instructions files for service label and CODEOWNERS validation

* Update eng/common/instructions/azsdk-tools/validate-service-label.instructions.md

Co-authored-by: Copilot <[email protected]>

* Trim trailing whitespaces

* Added suggested changes from previous PR

---------

Co-authored-by: Michelle <[email protected]>
Co-authored-by: Michelle Ma <[email protected]>
Co-authored-by: Copilot <[email protected]>

* Added back download_blob overloads to fix API Views (#42769)

* Rewrite Pylint Check Without Tox (#42757)

* add pylint check

* minor fix

* remove creating new package installation

* clean imports

* clean mypy imports

* merge updates

* merge updates and remove package install

* use pip_install

* [evaluation] feat: User Configurable Credentials for Prompty-based Evaluators (#42549)

* feat: Make TokenCredential configurable for prompty based evaluators

* fix,tests: Remove unused invalid import

* tests: Add a test for using credential with prompty based evaluator

* docs: Add changelog entry

* Update sdk/evaluation/azure-ai-evaluation/tests/e2etests/test_builtin_evaluators.py

Co-authored-by: Copilot <[email protected]>

* refactor: Move credential to be a parameter to __init__

* chore: Update assets.json

* Update sdk/evaluation/azure-ai-evaluation/CHANGELOG.md

Co-authored-by: Ankit Singhal <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Ankit Singhal <[email protected]>

* cleaning last remaining file in tools/ directory (#42786)

* Source user ID from graph api in TME (#42791)

Co-authored-by: Ben Broderick Phillips <[email protected]>

* Fix issue w/ `azure-sdk-tools` `pyproject.toml`/`MANIFEST.in` (#42792)

* fix issue with pyproject.oml getting built and includeded on itself over and over and over again

* Sparse-Checkout Entire Repo (#42793)

* add a sparse-checkout of the entire repo to any clones that may run on mac

* Address API View Feedback (#42789)

* change to indirect attack

* update changelog

* nit

* run black

* Customer Facing Statsbeat: Exception categorization changes (#42695)

* Exception categorizatio changes

* Updated CHANGELOG

* Refactored after statsbeat changes

* Addressed feedback

* Fix lint

* Added reason for UNKNOWN

* [Cosmos] fix: add ability to replace indexing policies with vector indexes (#42810)

* changes

* more tests, changelog

* nits

* Update CHANGELOG.md

* Fix hybrid text query with parameters (#42787)

* Fix hybrid text query with parameters

* Update CHANGELOG.md

* Update sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/aio/hybrid_search_aggregator.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/azure/cosmos/_execution_context/hybrid_search_aggregator.py

Co-authored-by: Copilot <[email protected]>

* pylint fix and formatting fix

---------

Co-authored-by: Copilot <[email protected]>

* [evaluation] Fix for IndirectAttack attack objectives mapping  (#42816)

* change to indirect attack

* update changelog

* nit

* run black

* Fix IndirectAttack attack objectives

* run tox black

* Enable package mode for mgmt sdk (#42276)

* enable package mode for mgmt sdk

* update classifier logic

* fix ofr __init__.py

* Update __init__.py

* update

* update

* fix

* Update swagger_to_sdk_config_autorest.json

* update

* fix for new service

* fix for build

* update

* fix for judge tag

* fix dependencies for pyproject.toml (#42820)

* [AutoRelease] t2-sitemanager-2025-08-29-73765(can only be merged by SDK owner) (#42780)

* code and test

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* [AutoRelease] t2-storagediscovery-2025-09-03-35045(can only be merged by SDK owner) (#42818)

* code and test

* Update CHANGELOG.md

* Update azure-core dependency to azure-mgmt-core

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: ChenxiJiang333 <[email protected]>

* Fix dependency issue with RunStepFunctionToolCall (#42826)

* try to fix

* run black

* address issues with changelog verification link (#42828)

* Fix failing checkouts on mac livetests (#42827)

* use - checkout with sparse checkout + disabling fetch of tags over sparse-checkout template

* Auto-generated baselines by 1ES Pipeline Templates (#42796)

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=3314 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522542

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1274 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522562

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7156 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522606

* Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=7050 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4522666

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=983 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522627

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=2358 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522685

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7158 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522686

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=5719 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4522728

* Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=7050 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4523044

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=3314 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4525625

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7156 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4525701

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7158 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4525789

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=2358 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4525788

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1274 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4529673

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=5719 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4529872

* Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=7050 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4590530

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7156 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4594634

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=983 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4594695

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=7158 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4594759

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=2358 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4594749

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=5719 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4594812

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=3314 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4598998

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1274 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4599088

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=5947 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4851844

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=5947 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4858977

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1274 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4984395

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=6975 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=5211625

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=6975 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=5216832

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=983 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=5279697

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=983 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=5285641

* Update PipelineAutobaseliningConfig.yml

* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=983 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=5289697

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Wes Haggard <[email protected]>

* Improve typing (#42596)

* Replace kwargs with optional params

* Update polling parameter type to use PollingMethod in PhoneNumbersClient

* Remove extra spaces

* Set default quantity to 1 if not provided in PhoneNumbersClient

* Update recordings to add quantity

* Fix recordings

* Remove x-ms-user-agent

* Fix pylint errors

* Reorganize TYPE_CHECKING imports for consistency

* Refactor search request creation to use kwargs for improved readability

* Revert recording changes

* Refactor PhoneNumberSearchRequest creation for improved clarity and maintainability

* Refactor PhoneNumberSearchRequest creation to simplify logic and improve readability

* Remove quantity from recordings

* Revert to recordings quith quantity

* Remove unnecessary blank lines in PhoneNumbersClient search request methods

* Update recordings

* Update recordings

* Update recordings

* add changelog entry

* refactor: simplify return statement in list_phone_numbers method

* changelog: update release history for version 1.4.1

* changelog: update release history for version 1.4.1

* changelog: correct version header and format for 1.4.1 release

* changelog: fix format

* refactor: remove unnecessary cast in phone number listing methods

* changelog: update release history for version 1.5.0

* bump version to 1.5.0

* Swap back to sparse-checkout template for livetests, build and package, and ci.tests (#42832)

* Update generate_utils.py (#42836)

* [AutoRelease] t2-iotfirmwaredefense-2025-08-29-65768(can only be merged by SDK owner) (#42777)

* code and test

* update changelog

* update changelog

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* Remove multiapi documentation (#42749)

* Initial plan

* Remove multiapi documentation and references as requested

Co-authored-by: msyyc <[email protected]>

* Fix remaining reference to removed multi_api folder

Co-authored-by: msyyc <[email protected]>

* Update generation.md

* Address reviewer feedback: remove multiapi sentence and restore changelog link to commit

Co-authored-by: msyyc <[email protected]>

* Remove outdated multi-api reference from get_private_package.md

Co-authored-by: msyyc <[email protected]>

* Remove empty multiapi section and renumber steps in get_private_package.md

Co-authored-by: msyyc <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>

* [AutoPR azure-mgmt-storagemover]-generated-from-SDK Generation - Python-5276150 (#42782)

* Configurations:  'specification/storagemover/StorageMover.Management/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: '17891d99ece54475e43fb8665727d044e8fb2f54' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5276150 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

* Configurations:  'specification/storagemover/StorageMover.Management/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: 'af759847e0abab741437d695782ad62d7b2cce14' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5282631 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

* Update CHANGELOG for version 3.0.0 release date

* Update dev_requirements.txt

---------

Co-authored-by: Yuchao Yan <[email protected]>

* [AutoRelease] t2-computerecommender-2025-08-29-37004(can only be merged by SDK owner) (#42783)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>

* Synapse Artifacts Release 2025 Sep (#42807)

* generate release

* update changelog

* update changelog

* skip mypy

* Update Python version support and dependencies

* skip verifytypes

---------

Co-authored-by: Yuchao Yan <[email protected]>

* Fix exception when tracing `agents_client.threads.create(messages=[ThreadMessageOptions(....)])` (#42812)

* Run `black` tool on Agents  (#42851)

* Search aug preview (#42438)

* search index updates

* search service updates

* search agent updates

* fix tests

* update

* update

* update

* expose searchindex.description

* updates

* update changelog

* update tests

* update

* updates

* update

* updates

* updates

* update

* update

* update

* Add missing code to `samples\agents_tools\sample_agents_auto_function_call.py` to set `sys.path` (#42856)

* Increment package version after release of azure-search-documents (#42859)

* [Identity] Update tenant resolution logic (#42721)

* [Identity] Update tenant resolution logic

Our tenant resolution logic shouldn't error out requests for certain dev
credentials (e.g. `DeviceCodeCredential and `InteractiveBrowserCredential`) if
a tenant is passed into `get_token` or `get_token_info`. This happens if
the no tenant was configured on the credential and the default
"organizations" tenant is used.

Signed-off-by: Paul Van Eck <[email protected]>

* Update changelog

Signed-off-by: Paul Van Eck <[email protected]>

---------

Signed-off-by: Paul Van Eck <[email protected]>

* Update code_report.py (#42838)

* Update code_report.py

* Improve package directory resolution logic

* Improve package directory resolution logic

Refactor package resolution to check for both setup.py and pyproject.toml files.

* Increment version for evaluation release (#42853)

* [Bug Fix] None and Null Partititon Key Improvements (#42747)

* Remove `logging_enable=True` from `samples\sample_agents_basics.py` (#42860)

* [Conv authoring] python sdk 20250515preview (#42149)

* Configurations:  'specification/cognitiveservices/Language.AnalyzeConversations-authoring/tspconfig.yaml', API Version: 2025-05-15-preview, SDK Release Type: beta, and CommitSHA: 'df0a8bf7d27c634671572b2adb7835cf54975a56' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'

* updated commit id

* initiate first version of project main client

* updated the operation distribution in authoringClient and projectAuthoringClient

* added test for create_project

* added four operation groups to the Custom Project Client

* move import and export to authoring client level

* complete the test for train

* add 7 features to custom projectOperations

* move getImportStatus and getExportStatus into authoringClient level

* added remaining features for custom projectOperations

* added variable project_operations to custom authoringProjectClient

* added deployment_operations in custom authoringProjectClient

* Added ExportedModelOperations in custom authoringProjectClient

* added trainedModelOperations in custom authoringProjectClient

* bypass super init for projectClient by implementing the whole init in custom projectClient

* add custom async authoringProjectClient

* adjust aio operations patch.py

* add __all__ in aio client patch

* modify operation group clientName

* added aio custom operation groups

* updated _utils in patch.py

* updated test_train recording for test

* remove conversationauthoring prefix from all models

* added _oper…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants