Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions eng/tools/azure-sdk-tools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ build = ["setuptools", "pyparsing", "certifi", "cibuildwheel", "pkginfo", "build
conda = ["beautifulsoup4"]
systemperf = ["aiohttp>=3.0", "requests>=2.0", "tornado==6.0.3", "httpx>=0.21", "azure-core"]
ghtools = ["GitPython", "PyGithub>=1.59.0", "requests>=2.0"]
sdkgenerator = ["tox"]

[tool.setuptools]
include-package-data = true
Expand Down
14 changes: 8 additions & 6 deletions scripts/auto_release/PythonSdkLiveTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
inputs:
versionSpec: 22.x
- bash: |
python scripts/dev_setup.py -p azure-core
cd ..
git config --global user.email "PythonSdkPipelines"
git config --global user.name "$(USR_NAME)"
Expand All @@ -52,6 +51,7 @@ jobs:
parameters:
rootFolder: ../azure-sdk-for-python
- bash: |
root_path=$(pwd)
script_path=$(pwd)/scripts/auto_release
cd ..

Expand All @@ -78,10 +78,6 @@ jobs:
export DEBUG_REST_BRANCH=$(DEBUG_REST_BRANCH)
fi

# create virtual env
python -m venv venv-sdk
source venv-sdk/bin/activate
python -m pip install -r $script_path/requirement.txt

# import env variable
export AZURE_TEST_RUN_LIVE=$(AZURE_TEST_RUN_LIVE)
Expand All @@ -99,10 +95,16 @@ jobs:
export TEST_FOLDER=$(TEST_FOLDER)
export ISSUE_OWNER=$(ISSUE_OWNER)

# install azure-sdk-tools
python -m pip install $root_path/eng/tools/azure-sdk-tools[build,ghtools,sdkgenerator]

# install requirements
python -m pip install -r $script_path/requirement.txt

# install tsp-client
cd azure-sdk-for-python/eng/common/tsp-client
npm ci
cd ../../..

# run
python $script_path/main.py
1 change: 0 additions & 1 deletion scripts/auto_release/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def generate_code(self):
json.dump(input_data, file)

# generate code(be careful about the order)
print_exec("python scripts/dev_setup.py -p azure-core")
print_check(f"python -m packaging_tools.sdk_generator {self.autorest_result} {self.autorest_result}")

generate_result = self.get_autorest_result()
Expand Down
10 changes: 1 addition & 9 deletions scripts/auto_release/requirement.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
azure-identity
python-dotenv==0.15.0
ghapi==0.1.19
PyGithub==1.55
packaging==24.1
pytest==6.2.5
fastcore==1.3.25
tox==4.15.0
wheel==0.43.0
setuptools==78.1.0
build==1.3.0
tomli-w==1.0.0
tomli==2.2.1
fastcore==1.3.25
7 changes: 1 addition & 6 deletions scripts/automation_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

# init env
python -m pip install -U pip > /dev/null
python scripts/dev_setup.py -p azure-core > /dev/null
pip install tox==4.15.0 > /dev/null
pip install wheel==0.43.0 > /dev/null
pip install setuptools==78.1.0 > /dev/null
pip install setuptools-scm==8.3.0 > /dev/null
pip install build==1.3.0 > /dev/null
python -m pip install eng/tools/azure-sdk-tools[build,ghtools,sdkgenerator] > /dev/null

# install tsp-client
echo Install tsp-client
Expand Down
41 changes: 41 additions & 0 deletions sdk/recoveryservices/azure-mgmt-recoveryservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Release History

## 4.0.0 (2025-09-29)

### Features Added

- Model `RecoveryServicesClient` added parameter `cloud_setting` in method `__init__`
- Client `RecoveryServicesClient` added method `send_request`
- Client `RecoveryServicesClient` added operation group `deleted_vaults`
- Model `PatchTrackedResource` added property `system_data`
- Model `PatchVault` added property `system_data`
- Model `PrivateLinkResource` added property `system_data`
- Model `Resource` added property `system_data`
- Model `TrackedResource` added property `system_data`
- Model `VaultExtendedInfoResource` added property `properties`
- Model `VaultExtendedInfoResource` added property `system_data`
- Added model `CloudError`
- Added model `DeletedVault`
- Added model `DeletedVaultProperties`
- Added model `DeletedVaultUndeleteInput`
- Added model `DeletedVaultUndeleteInputProperties`
- Added model `ProxyResource`
- Added model `VaultExtendedInfo`
- Added operation group `DeletedVaultsOperations`

### Breaking Changes

- This version introduces new hybrid models which have dual dictionary and model nature. And please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- Model `Resource` deleted or renamed its instance variable `etag`
- Model `TrackedResource` deleted or renamed its instance variable `etag`
- Model `VaultExtendedInfoResource` deleted or renamed its instance variable `integrity_key`
- Model `VaultExtendedInfoResource` deleted or renamed its instance variable `encryption_key`
- Model `VaultExtendedInfoResource` deleted or renamed its instance variable `encryption_key_thumbprint`
- Model `VaultExtendedInfoResource` deleted or renamed its instance variable `algorithm`
- Deleted or renamed model `ClientDiscoveryResponse`
- Deleted or renamed model `PrivateLinkResources`
- Deleted or renamed model `ReplicationUsageList`
- Deleted or renamed model `VaultList`
- Deleted or renamed model `VaultUsageList`
- Method `VaultsOperations.begin_create_or_update` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
- Method `VaultsOperations.begin_update` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
- Deleted or renamed operation group `RecoveryServicesClientOperationsMixin`

## 3.1.0 (2025-06-03)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/recoveryservices/azure-mgmt-recoveryservices/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
recursive-include tests *.py *.json
recursive-include samples *.py *.md
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/recoveryservices/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/mgmt/__init__.py
12 changes: 4 additions & 8 deletions sdk/recoveryservices/azure-mgmt-recoveryservices/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"commit": "fabce2fda4c20dfddbba4a265163ecb5b3ad117b",
"apiVersion": "2025-08-01",
"commit": "348e0ea05f4f5cac81567e4d3cf3a780e17604f8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/recoveryservices/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/recoveryservices/resource-manager/readme.md"
"typespec_src": "specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices",
"emitterVersion": "0.51.2"
}
Loading