Skip to content

Commit 1464d5d

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/azure-ai-projects/2.0.0b1
2 parents 60aa09f + 9c8a278 commit 1464d5d

File tree

425 files changed

+88912
-16830
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

425 files changed

+88912
-16830
lines changed

.github/CODEOWNERS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@
320320
# PRLabel: %Operator Nexus - Network Cloud
321321
/sdk/networkcloud/ @Azure/azure-sdk-write-networkcloud
322322

323+
# ServiceLabel: %Planetary Computer
324+
# PRLabel: %Planetary Computer
325+
/sdk/planetarycomputer/ @mandarinamdar @chahibi
326+
323327
# AzureSdkOwners: @annatisch
324328
# ServiceLabel: %Azure Projects
325329
# ServiceOwners: @annatisch
@@ -836,6 +840,7 @@
836840
/eng/common/ @Azure/azure-sdk-eng
837841
/.github/workflows/ @Azure/azure-sdk-eng
838842
/.github/CODEOWNERS @lmazuel @xiangyan99 @kashifkhan @Azure/azure-sdk-eng
843+
/.github/copilot-instructions.md @l0lawrence @praveenkuttappan @maririos
839844
/sdk/pullrequest.yml @scbedd @weshaggard @benbp
840845

841846
/.config/1espt/ @benbp @weshaggard
@@ -859,4 +864,4 @@
859864
/eng/emitter-package-lock.json @mccoyp @catalinaperalta @iscai-msft
860865

861866
/pylintrc @l0lawrence @scbedd @mccoyp
862-
/sdk/**/ci.yml @msyyc @lmazuel
867+
/sdk/**/ci.yml @msyyc @lmazuel @scbedd

eng/.docsettings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ omitted_paths:
2222
language: python
2323
root_check_enabled: True
2424
required_readme_sections:
25-
- ^Azure (.+ client library for Python|Smoke Test for Python)
25+
- ^Azure (.+ client library for Python|Smoke Test for Python|AI Agent Server Adapter for .*Python)
2626
- ^Getting started$
2727
- ^Key concepts$
2828
- ^Examples$

eng/ci_tools.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ pkginfo==1.12.1.2
1111
pip==24.0
1212
typing-extensions==4.12.2
1313
pyproject-api==1.8.0
14-
cibuildwheel==2.16.5
14+
cibuildwheel==2.23.3
1515
importlib-metadata==8.5.0
1616
build==1.2.2.post1
17-
nh3<0.3; platform_python_implementation == "PyPy" and python_version == "3.9"
1817

1918
# requirements leveraged for testing
2019
pytest==8.3.5
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Verify Setup'
3+
---
4+
5+
## Goal
6+
This tool verifies the developer's environment for SDK development and release tasks. It returns what requirements are missing for the specified languages and repo.
7+
8+
Your goal is to identify the project repo root, and pass in the `packagePath` to the Verify Setup tool. For a language repo, pass in the language of the repo.
9+
10+
## Examples
11+
- in `azure-sdk-for-js`, run `azsdk_verify_setup` with `(langs=javascript, packagePath=<path>/azure-sdk-for-js)`.
12+
- in `azure-sdk-for-python`, run `azsdk_verify_setup` with `(langs=python, packagePath=<path>/azure-sdk-for-python, venvPath=<path-to-venv>)`.
13+
14+
## Parameter Requirements
15+
WHENEVER Python is included in `langs`, BEFORE RUNNING `azsdk_verify_setup`, you MUST ASK THE USER TO SPECIFY WHICH virtual environment they want to check. DO NOT ASSUME THE VENV WITHOUT ASKING THE USER. After obtaining the `venvPath`, you can run the tool.
16+
17+
The user can specify multiple languages to check. If the user wants to check all languages, pass in ALL supported languages and STILL ASK for a `venvPath`. Passing in no languages will only check the core requirements.
18+
19+
## Output
20+
Display results in a user-friendly and concise format, highlighting any missing dependencies that need to be addressed.

eng/common/scripts/Update-DocsMsPackages.ps1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ param (
2626
[string] $DocRepoLocation, # the location of the cloned doc repo
2727

2828
[Parameter(Mandatory = $false)]
29-
[string] $PackageSourceOverride
29+
[string] $PackageSourceOverride,
30+
31+
[switch] $SkipLegacyOnboarding
3032
)
3133

3234
. (Join-Path $PSScriptRoot common.ps1)
@@ -57,7 +59,11 @@ function PackageIsValidForDocsOnboarding($package) {
5759
-DocRepoLocation $DocRepoLocation
5860
}
5961

60-
$MONIKERS = @('latest', 'preview', 'legacy')
62+
$MONIKERS = @('latest', 'preview')
63+
if (!$SkipLegacyOnboarding) {
64+
$MONIKERS += 'legacy'
65+
}
66+
6167
foreach ($moniker in $MONIKERS) {
6268
try {
6369
Write-Host "Onboarding packages for moniker: $moniker"

eng/common/tsp-client/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/common/tsp-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@azure-tools/typespec-client-generator-cli": "0.29.0"
3+
"@azure-tools/typespec-client-generator-cli": "0.30.0"
44
}
55
}

eng/pipelines/templates/steps/analyze.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ steps:
8989
condition: and(succeededOrFailed(), ne(variables['Skip.VerifySdist'],'true'))
9090
inputs:
9191
scriptPath: 'scripts/devops_tasks/dispatch_tox.py'
92-
arguments: '"$(TargetingString)" --service=${{parameters.ServiceDirectory}} --toxenv=verifysdist ${{ parameters.AdditionalTestArgs }}'
92+
arguments: '"$(TargetingString)" --disable-compatibility-filter --service=${{parameters.ServiceDirectory}} --toxenv=verifysdist ${{ parameters.AdditionalTestArgs }}'
9393

9494
- task: PythonScript@0
9595
displayName: 'Verify whl'
9696
condition: and(succeededOrFailed(), ne(variables['Skip.VerifyWhl'],'true'))
9797
inputs:
9898
scriptPath: 'scripts/devops_tasks/dispatch_tox.py'
99-
arguments: '"$(TargetingString)" --service=${{parameters.ServiceDirectory}} --toxenv=verifywhl ${{ parameters.AdditionalTestArgs }}'
99+
arguments: '"$(TargetingString)" --disable-compatibility-filter --service=${{parameters.ServiceDirectory}} --toxenv=verifywhl ${{ parameters.AdditionalTestArgs }}'
100100

101101
- template: run_mypy.yml
102102
parameters:
@@ -123,7 +123,7 @@ steps:
123123
displayName: 'Run Keyword Validation Check'
124124
inputs:
125125
scriptPath: 'scripts/devops_tasks/dispatch_tox.py'
126-
arguments: '"$(TargetingString)" --service=${{parameters.ServiceDirectory}} --toxenv=verify_keywords ${{ parameters.AdditionalTestArgs }}'
126+
arguments: '"$(TargetingString)" --disable-compatibility-filter --service=${{parameters.ServiceDirectory}} --toxenv=verify_keywords ${{ parameters.AdditionalTestArgs }}'
127127
condition: and(succeededOrFailed(), ne(variables['Skip.KeywordCheck'],'true'))
128128

129129
- template: ../steps/run_bandit.yml

eng/pipelines/templates/steps/run_bandit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ steps:
1717
--mark_arg="${{ parameters.TestMarkArgument }}"
1818
--service="${{ parameters.ServiceDirectory }}"
1919
--toxenv="bandit"
20+
--disable-compatibility-filter
2021
--disablecov
2122
${{ parameters.AdditionalTestArgs }}
2223
env: ${{ parameters.EnvVars }}

eng/pipelines/templates/steps/run_black.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ steps:
1414
"$(TargetingString)"
1515
--service="${{ parameters.ServiceDirectory }}"
1616
--checks="black"
17+
--disable-compatibility-filter
1718
--filter-type="Omit_management"
1819
${{ parameters.AdditionalTestArgs }}
1920
env:

0 commit comments

Comments
 (0)