зеркало из
1
0
Форкнуть 0
Граф коммитов

18111 Коммитов

Автор SHA1 Сообщение Дата
microsoft-github-policy-service[bot] 326dfa9cf6
Updated for https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build?definitionId=585 by using baselines generated in https://dev.azure.com/azure-sdk/29ec6040-b234-4e31-b139-33dc4287b756/_build/results?buildId=4140641 2024-09-16 19:23:31 +00:00
Libba Lawrence 6e5a7d6dc1
[SB] fixing link flow issues (#36879)
* fixing link flow issues

* add eh

* pylint

* add unittest

* add todo

* changelog
2024-09-16 12:06:50 -07:00
microsoft-github-policy-service[bot] 0a8dfb57ae
Auto-generated baselines by 1ES Pipeline Templates (#37396)
* Updated for https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build?definitionId=1866 by using baselines generated in https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_build/results?buildId=4135850

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

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

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

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

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

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

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

* 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=4136115

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

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

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

* 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=4136217

* 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=4136247

* 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=4131957

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

* Only scan main pipeline

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-16 14:26:34 -04:00
kdestin 6b52a53d63
[evaluation] ci: Re-enable python3.12 in test matrix (#37399)
* ci: Re-enable python 3.12 in matrix

* chore: Bump minimum bound of numpy

         1.26.4 fixes a bug that prevented numpy from installing on
         python3.12
2024-09-16 13:01:09 -04:00
Yuchao Yan 86d97f651c
fix assignee for release-helper (#37407) 2024-09-14 17:00:20 +08:00
Yuchao Yan 4396007bbe
[release helper]Update assignee for release issue of Go SDK (#37402) 2024-09-14 09:55:17 +08:00
Paul Van Eck b2043faf38
[Identity] Update instance discovery error message (#36932)
Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
2024-09-13 15:53:38 -07:00
kdestin c78042ef68
(engsys) feat: Make `mindependency` aware of environment_markers (#37357)
* refactor: Return full Requirements object instead of [name, specifier]

* feat: Filter out requirements that apply to the current environment

* feat: Add a log message when a requirement is skipped

* small update covering a couple extra usages of parse_require

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-13 18:07:59 -04:00
Scott Beddall 2ed5d3103e
Remove Manifest Generation Cleanup (#37397)
* handle the possibility of folder not existing
2024-09-13 13:55:06 -07:00
Azure SDK Bot 72abbdffc4
Update PublishCodeCoverageResults task to v2 (#37394)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:59:04 -07:00
Wes Haggard 345350b3e6
Update PublishCodeCoverageResults to v2 (#37393) 2024-09-13 11:58:00 -07:00
catalinaperalta 392e0aef50
[bct] Support regex suppressions (#37196)
* add regex suppressions

* clean up ignore logic

* pass ignores at tracker start up

* add ListResult suppression

* fix model, add test

* update allowlist

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-09-13 11:52:43 -07:00
Krista Pratico e964d988b6
update tests to target aug preview version (#37360)
* update tests to target aug preview version

* adjust models where gpt-4o not supported
2024-09-13 10:58:41 -07:00
Azure SDK Bot 58bdd75fad
Sync eng/common directory with azure-sdk-tools for PR 8959 (#37359)
* Disable sbom generation for forked PR builds

* Update publish-1es-artifact.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:49 -07:00
Billy Hu 1ca2ffcbb9
include missing data package wordnet (#37366) 2024-09-13 09:04:29 -07:00
Nagkumar Arkalgud b70434b2f8
Add t1 language support for simulators (#37348)
* Add t1 language support for simulators

* Update __init__.py

* Update _conversation.py

* Update xpia_simulator.py

* Update _language_suffix_mapping.py

* remove promptflow.evals

---------

Co-authored-by: Nagkumar Arkalgud <nagkumar@naarkalg-work-mac.local>
Co-authored-by: Nagkumar Arkalgud <nagkumar@naarkalgworkmac.lan>
2024-09-13 08:59:23 -07:00
kdestin 89cdab7bbe
[evaluation] tests: Migrate azure-ai-evaluations tests (#37201)
* chore: Add pf-azure extra as dev dependency

* tests: Copy tests verbatim from Microsoft/promptflow

* tests: Re-sync tests

* chore: Re-sync tests again

* fix: Change imports from "promptflow.evals" to "azure.ai.evaluation"

* tests,refactor: Replace promptflow-recording.{is_live,is_record,...} with az-for-python equivalents

* tests,refactor: Make SanitizedValues enum

* tests: Replace "vcr_recording" with azp equivalent

* tests,refactor: Move test data from `recordings/` -> `test_configs`

* tests, fix: Explicitly set expected caplog level

    Some unittests inspect the log messages captured by the caplog
    pytest fixture.

    Explicitly setting the caplog level resolves test failures
    when the `log_level` config value is changed from the default.

* tests,refactor: Remove setup_recording_injection_if_enabled

* style: Run isort

* tests,refactor: Remove RecordStorage

    RecordStorage appears to be a caching mechanism to accelerate
    recordings that involve flows.

* tests,refactor: Remove variable_recorder fixture

    This shadows the implementation used by the azure-sdk-for-python
    infrastructure.

* tests,refactor: Make a dev_connections fixture

* style: Run isort + black

* tests,chore: Move tests up a directory

* chore: Remove tests/e2etests/README.md

* ci: Re-enable tests in ci

* chore: Mock dev_connections when not live

* tests,fix: Don't hardcode azure_deployment

* tests,feat: Add support for recording openai requests

* fix: response.status -> response.status_code

* fix: Don't await response.text()

* tests,fix: Redirect traffic from AsyncioRequestsTransport to test proxy

    Currently, the azure-sdk-for-python infra:

      * Only patches a single async transport (AsyncioTransport)
      * Only patches the async transport when the test itself is async

    This fixture gets requested unconditionally, and patches the
    default transport the SDK uses.

    Ideally this would be part of the azure-sdk-for-python
    test infra.

* tests: Request "recorded_test" for more e2e tests

* test,refactor: Update mock config values

* tests,refactor: Remove redundant mock project_scope

* tests: Add some sanitizers

    Were taken from promptflow-recording

* chore: Add assets.json

* tests,fix: Use a FakeTokenCredential when not live

* ci,fix: Exclude tests from packages so verify_sdist finds py.typed

* tests: Add sanitizers for stainless headers and x-cv

* tests: Add a sanitizer for values from connections.json

* tests: Add return type to get_cred

* chore: Update assets.json

* tests,fix: late import NISTTokenizer

    nltk does not bundle all the data it uses in its pip install, and
    instead requires that the user manually installs them
    (`nltk.download`).

    nltk will error on the import of any class the depends on some external
    resource to work.

    The azure-sdk-for-python team's test proxy uses it's own certificate
    bundle to enable https connections to the test proxy, but this
    seems to cause `nltk.download` to fail.

    late importing NISTTokenizer allows tests to run in CI without
    immediately crashing on the import

* fix: Fix broken IndirectAttackEvaluator imports

* fix: Fix broken EvaluationMetrics import

* chore: Update assets.json

* docs: Fix docstring for IndirectAttackEvaluator

* tests,fix: Coerce string enum values to string

    Otherwise the string in the dict is the qualified name of the enum
    value.

* chore: Update assets.json

* tests: Temp skip tests

* chore: Add a minimum bound to azure-identity dependency

* chore: Bump minimum bound of numpy

         1.26.4 fixes a bug that prevented numpy from installing on
         python3.12

* chore: Bump nltk lower bound

    * 3.8.1 crashes on python3.12
    * 3.9.0 can't be imported (`import nltk`) without downloading
      "wordnet"

* ci: Temporarily disable windows tests

* ci: Temp disable python3.12 test

* chore: Bump numpy minimum bound

         On Python 3.11, pandas depends on numpy>=1.23.2

* ci: Run pypy39 on ubuntu
2024-09-13 02:34:16 -04:00
Yuchao Yan 189b106ec5
bump typespec-python 0.32.0 (#37387) 2024-09-13 12:01:34 +08:00
catalinaperalta 7099e79faf
[bct] Fix module key error (#37363)
* fix module key error

* Update breaking_changes_allowlist.py

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
2024-09-13 03:18:33 +00:00
Azure SDK Bot 313b67d3ca
[AutoRelease] t2-containerservice-2024-09-02-40998(can only be merged by SDK owner) (#37172)
* code and test

* update-testcases

* Update CHANGELOG.md

* Update test_mgmt_aks.py

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
2024-09-13 10:24:21 +08:00
Diondra 2e9481eb98
[evaluation] Fix xpia simulator logging warning (#37351)
* Remove Optional type annotation from get() methods

* Remove duplicate overloads

* Include xpia in handled_metrics for evaluation aggregation

* Remove jailbreak_type param from logging attributes

* Rename xpia_simulator.py to indirect_attack_simulator.py'

* Remove old commits
2024-09-12 21:59:29 -04:00
Matthew Metcalf d2d638dd41
E tag fix (#37364)
* ETag fix

* Update _constants.py
2024-09-12 18:48:51 -07:00
Leighton Chen 22208ce1b6
Add aad auth samples to distro (#37352) 2024-09-12 18:06:54 -07:00
Azure SDK Bot 089f85090e
Require minimum stress addons version of 0.3.0 (#37355)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-12 16:55:20 -07:00
Azure SDK Bot a0eed76431
Increment package version after release of azure-core (#37356) 2024-09-12 16:29:05 -07:00
Matthew Metcalf 6473aafb09
ETag fix (#37349) 2024-09-12 13:59:14 -07:00
Ben Broderick Phillips 450ce41f22
Add auto-baseline main pipeline config for core (#37345) 2024-09-12 16:09:31 -04:00
Azure SDK Bot 9c9b0df083
Increment package version after release of azure-appconfiguration-provider (#37347) 2024-09-12 18:34:52 +00:00
McCoy Patiño 72ed2a5c19
Fix broken links (#37300) 2024-09-12 10:30:25 -07:00
kdestin a31e507640
fix: Gracefully handle invalid python_requires when finding minversion (#37317)
python_requires must follow the specification defined in:
        https://packaging.python.org/en/latest/specifications/version-specifiers/#id5

    In the event that a package version specifies a `python_requires`
    that does not match that spec, execution terminates with
    an InvalidSpecifier exception.

    This commit makes it so that we catch and log the exception,
    ignoring the version that has the invalid python version specifier.

    An alternative solution could have been to attempt to correct
    the version specifier (e.g. '>= 3.5.*' is invalid, but it'd be
    trivial to correct it to '>=3.5'). But that would potentially invite
    a complexity that costs more than it's worth.
2024-09-12 10:23:40 -07:00
kdestin 0b71075ff8
ci: Enable `black` check for evaluation SDK (#37305)
* chore: set black=true

* style: Run black
2024-09-12 12:09:55 -04:00
Matthew Metcalf eaadfa0012
Beta Release (#37302) 2024-09-12 09:07:26 -07:00
Dina Saparbaeva 4b2357e4ea
[comminication] - sms-Adds type check for enable_delivery_report parameter in send function (#37341)
* Rolled back spell check changes in README.md

* Separating pipeline changes
2024-09-12 14:54:38 +00:00
Dina Saparbaeva be9a055bdc
[communication] - sms - Add service connection to the test pipeline (#37313)
* Add service connection to the test pipeline and code owner to the repository.

* Remove inactive user from code owners.

* Removed myself from owners as pylinter is not reading my membership

* Removed codeowner changes will submit in another pull request
2024-09-12 11:35:17 +00:00
Yuchao Yan f8fd3e0ab1
enable changelog for data-plane (#37311) 2024-09-12 16:19:30 +08:00
Dina Saparbaeva 6c63611e16
Fixes the path to test resources. (#37296) 2024-09-12 10:26:20 +03:00
Yuchao Yan a776148024
[breaking change detector] add allowlist for ARM SDK (#37309)
* add allowlist for ARM SDK

* Update breaking_changes_allowlist.py
2024-09-12 14:57:48 +08:00
Yuchao Yan 79eb48eb6e
[auto release pipeline] Bump version for dependency (#37308)
* bump python version and tox version

* bump version
2024-09-12 05:50:41 +00:00
Kshitij Chawla bad6f14e52
Update _version.py (#37176) 2024-09-12 08:41:35 +05:30
Xiang Yan 548ea6215d
Add cloud shell validation (#37278)
* Add cloud shell validation

* update

* update

* update

* update

* update

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>

* rename tests

---------

Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>
2024-09-11 16:41:33 -07:00
Matthew Metcalf 04e0fda91f
Telemetry support for App Configuration (#35254)
* Adding Telemetry

* Telemetry Support

* fixing formatting

* Update _azureappconfigurationprovider.py

* Update _azureappconfigurationproviderasync.py

* formatting

* changing doc style due to pylint-next

* fixing kwargs docs

* Formatting

* Review comments

* Changed label checking.

* black format changes

* pylint

* Update sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_azureappconfigurationprovider.py

Co-authored-by: Avani Gupta <avanigupta@users.noreply.github.com>

* added space checks

* Update conftest.py

* moved telemetry to client wrapper

* fixing format

* updating after merge

* fixing black issue

* removing unused imports

---------

Co-authored-by: Avani Gupta <avanigupta@users.noreply.github.com>
2024-09-11 15:50:49 -07:00
Xiang Yan f1d725c13e
Update typing (#37294)
* Update typing

* update

* update

* update
2024-09-11 15:46:17 -07:00
Nagkumar Arkalgud 48688629cd
Fix eval() to ast.literal_eval() (#37297)
Co-authored-by: Nagkumar Arkalgud <nagkumar@naarkalgworkmac.lan>
2024-09-11 14:00:39 -07:00
Scott Beddall 47224113a7
Ensure Pip CG (#37261)
* add auth-dev-feed to internal `build` step. This will have the effect of locking down the bits we build packages with
2024-09-11 11:12:43 -07:00
McCoy Patiño 3e5e59c297
[Core] Adjust auth tests to avoid false CredScan flags (#37267) 2024-09-11 10:11:39 -07:00
Azure SDK Bot 197df5834d
Increment package version after release of azure-monitor-opentelemetry-exporter (#37282) 2024-09-11 09:08:16 -07:00
Billy Hu 7aeef6f433
math evaluator update (#37283) 2024-09-10 17:41:30 -07:00
Yalin Li f7c3b85fe1
[Appconfig] Fix content validation issues for github.io (#37281) 2024-09-11 00:05:35 +00:00
catalinaperalta a537fe9162
Radiology insights client patch (#37001)
* patch the client

* post process + code fixes

* clean up other patch

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* async client patches

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* update patches

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* Update _patch.py

* regenerate SDK

* update inits to include patch changes

* Update _models.py

* Update sdk/healthinsights/azure-healthinsights-radiologyinsights/azure/healthinsights/radiologyinsights/_patch.py

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* Update sdk/healthinsights/azure-healthinsights-radiologyinsights/azure/healthinsights/radiologyinsights/_patch.py

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* Update sdk/healthinsights/azure-healthinsights-radiologyinsights/azure/healthinsights/radiologyinsights/_patch.py

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* Update sdk/healthinsights/azure-healthinsights-radiologyinsights/azure/healthinsights/radiologyinsights/_patch.py

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* Update _models.py

* Update _models.py

* regen

* link fix

* fix pylint issues

* regen

* fix link issue

* pylint

* fix send request

* remove unused import

* Update CHANGELOG.md

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
Co-authored-by: koen-mertens <138520871+koen-mertens@users.noreply.github.com>
Co-authored-by: koen-mertens <koenmertens@microsoft.com>
2024-09-11 00:19:53 +02:00
Xiang Yan ba010416e6
Fr tests migration (#36275) 2024-09-10 14:41:50 -07:00