Skip to content
Open
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
2 changes: 2 additions & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ baseoperatorlink
BaseView
BaseXCom
bashrc
BatchClient
batchGet
BatchNodeState
BatchServiceClient
bc
bcc
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@
"adlfs>=2023.10.0",
"apache-airflow-providers-common-compat>=1.13.0",
"apache-airflow>=2.11.0",
"azure-batch>=8.0.0,<15.0.0",
"azure-batch>=15.0.0",
"azure-cosmos>=4.6.0",
"azure-datalake-store>=0.0.45",
"azure-identity>=1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
93831555f2a141e481c81c147142aeb860c34ea860163ca130d045e5ecd0a83b
0ae0e88f5bb6fcda15e559925585aae2be84bcc09ff3850b0e7a8863785114a3
2 changes: 1 addition & 1 deletion providers/microsoft/azure/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.13.0``
``adlfs`` ``>=2023.10.0``
``azure-batch`` ``<15.0.0,>=8.0.0``
``azure-batch`` ``>=15.0.0``
``azure-cosmos`` ``>=4.6.0``
``azure-mgmt-cosmosdb`` ``>=3.0.0``
``azure-datalake-store`` ``>=0.0.45``
Expand Down
23 changes: 22 additions & 1 deletion providers/microsoft/azure/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@
Changelog
---------

.. warning::
The ``AzureBatchHook`` and ``AzureBatchOperator`` have been migrated to the ``azure-batch`` 15.x
SDK (track 2). This is a breaking change and requires ``azure-batch>=15.0.0``.

The following changes were introduced:

* Hooks
* ``AzureBatchHook.get_conn`` and ``AzureBatchHook.connection`` now return an ``azure.batch.BatchClient``
instead of an ``azure.batch.BatchServiceClient``.
* Shared key authentication now uses ``azure.core.credentials.AzureNamedKeyCredential`` instead of
``azure.batch.batch_auth.SharedKeyCredentials``.
* ``AzureBatchHook.configure_pool`` no longer accepts the ``os_family`` and ``os_version`` parameters.
Cloud service configuration is not supported by the track 2 SDK; use a virtual machine configuration
(``vm_publisher``, ``vm_offer``, ``vm_sku``, ``vm_version`` or ``use_latest_image_and_sku``) instead.
* The Batch model classes were renamed by the SDK: ``PoolAddParameter`` is now ``BatchPoolCreateOptions``,
``JobAddParameter`` is now ``BatchJobCreateOptions``, ``TaskAddParameter`` is now ``BatchTaskCreateOptions``,
and ``CloudTask`` is now ``BatchTask``.

* Operators
* ``AzureBatchOperator`` no longer accepts the ``os_family`` parameter. A ``vm_publisher`` must now be
provided to configure the pool's virtual machine image.

13.5.0
......

Expand Down Expand Up @@ -68,7 +90,6 @@ Doc-only
appropriate section above if needed. Do not delete the lines(!):
* ``Fix flaky AzureDataFactory operator test by mocking time (#67427)``


13.3.0
......

Expand Down
2 changes: 1 addition & 1 deletion providers/microsoft/azure/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.13.0``
``adlfs`` ``>=2023.10.0``
``azure-batch`` ``<15.0.0,>=8.0.0``
``azure-batch`` ``>=15.0.0``
``azure-cosmos`` ``>=4.6.0``
``azure-mgmt-cosmosdb`` ``>=3.0.0``
``azure-datalake-store`` ``>=0.0.45``
Expand Down
4 changes: 1 addition & 3 deletions providers/microsoft/azure/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ dependencies = [
"apache-airflow>=2.11.0",
"apache-airflow-providers-common-compat>=1.13.0",
"adlfs>=2023.10.0",
# azure-batch 15.x is a full rewrite of the Azure SDK (track 2) that removes BatchServiceClient, batch_auth,
# and the other references in AzureBatchHook. Lifting the upper bound cap needs a full hook rewrite.
"azure-batch>=8.0.0,<15.0.0",
"azure-batch>=15.0.0",
"azure-cosmos>=4.6.0",
"azure-mgmt-cosmosdb>=3.0.0",
"azure-datalake-store>=0.0.45",
Expand Down
Loading