Skip to content

Commit 14205ff

Browse files
authored
azure-batch 5.1.1 (#3625)
1 parent d8b0b44 commit 14205ff

File tree

9 files changed

+41
-258
lines changed

9 files changed

+41
-258
lines changed

azure-batch/HISTORY.rst

+17-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
Release History
44
===============
55

6+
5.1.1 (2018-10-16)
7+
++++++++++++++++++
8+
9+
**Bugfixes**
10+
11+
- Fix authentication class to allow HTTP session to be re-used
12+
13+
**Note**
14+
15+
- azure-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
16+
617
5.1.0 (2018-08-28)
718
++++++++++++++++++
819

@@ -28,7 +39,7 @@ Release History
2839
- Operation ComputeNodeOperations.disable_scheduling
2940
- Operation ComputeNodeOperations.reboot
3041
- Operation JobOperations.terminate
31-
- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
42+
- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
3243

3344
4.1.3 (2018-04-24)
3445
++++++++++++++++++
@@ -87,16 +98,16 @@ Release History
8798
- Added a new `allow_low_priority_node` property to `JobManagerTask`, which if `true` allows the `JobManagerTask` to run on a low-priority compute node.
8899
- `PoolResizeParameter` now takes two optional parameters, `target_dedicated_nodes` and `target_low_priority_nodes`, instead of one required parameter `target_dedicated`.
89100
At least one of these two parameters must be specified.
90-
- Added support for uploading task output files to persistent storage, via the `OutputFiles` property on `CloudTask` and `JobManagerTask`.
91-
- Added support for specifying actions to take based on a task's output file upload status, via the `file_upload_error` property on `ExitConditions`.
101+
- Added support for uploading task output files to persistent storage, via the `OutputFiles` property on `CloudTask` and `JobManagerTask`.
102+
- Added support for specifying actions to take based on a task's output file upload status, via the `file_upload_error` property on `ExitConditions`.
92103
- Added support for determining if a task was a success or a failure via the new `result` property on all task execution information objects.
93104
- Renamed `scheduling_error` on all task execution information objects to `failure_information`. `TaskFailureInformation` replaces `TaskSchedulingError` and is returned any
94-
time there is a task failure. This includes all previous scheduling error cases, as well as nonzero task exit codes, and file upload failures from the new output files feature.
105+
time there is a task failure. This includes all previous scheduling error cases, as well as nonzero task exit codes, and file upload failures from the new output files feature.
95106
- Renamed `SchedulingErrorCategory` enum to `ErrorCategory`.
96107
- Renamed `scheduling_error` on `ExitConditions` to `pre_processing_error` to more clearly clarify when the error took place in the task life-cycle.
97108
- Added support for provisioning application licenses to your pool, via a new `application_licenses` property on `PoolAddParameter`, `CloudPool` and `PoolSpecification`.
98109
Please note that this feature is in gated public preview, and you must request access to it via a support ticket.
99-
- The `ssh_private_key` attribute of a `UserAccount` object has been replaced with an expanded `LinuxUserConfiguration` object with additional settings for a user ID and group ID of the
110+
- The `ssh_private_key` attribute of a `UserAccount` object has been replaced with an expanded `LinuxUserConfiguration` object with additional settings for a user ID and group ID of the
100111
user account.
101112
- Removed `unmapped` enum state from `AddTaskStatus`, `CertificateFormat`, `CertificateVisibility`, `CertStoreLocation`, `ComputeNodeFillType`, `OSType`, and `PoolLifetimeOption` as they were not ever used.
102113
- Improved and clarified documentation.
@@ -133,7 +144,7 @@ Release History
133144

134145
- Added support for joining a CloudPool to a virtual network on using the network_configuration property.
135146
- Added support for application package references on CloudTask and JobManagerTask.
136-
- Added support for automatically terminating jobs when all tasks complete or when a task fails, via the on_all_tasks_complete property and
147+
- Added support for automatically terminating jobs when all tasks complete or when a task fails, via the on_all_tasks_complete property and
137148
the CloudTask exit_conditions property.
138149

139150
0.30.0rc5

azure-batch/MANIFEST.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include *.rst
2-
include azure_bdist_wheel.py
2+
include azure/__init__.py
3+

azure-batch/README.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Microsoft Azure SDK for Python
33

44
This is the Microsoft Azure Batch Client Library.
55

6-
This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
6+
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
7+
8+
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
79

810

911
Compatibility
@@ -28,14 +30,13 @@ If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
2830
Usage
2931
=====
3032

31-
For code examples, see `the Batch samples repo
33+
For code examples, see `the Batch samples repo
3234
<https://github.com/Azure/azure-batch-samples/tree/master/Python>`__
3335
on GitHub or see `Batch
3436
<https://docs.microsoft.com/python/api/overview/azure/batch>`__
3537
on docs.microsoft.com.
3638

3739

38-
3940
Provide Feedback
4041
================
4142

azure-batch/azure/batch/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "5.1.0"
12+
VERSION = "5.1.1"
1313

azure-batch/azure_bdist_wheel.py

-54
This file was deleted.

azure-batch/build.json

-183
This file was deleted.

azure-batch/sdk_packaging.toml

+6
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
[packaging]
2+
package_name = "azure-batch"
3+
package_nspkg = "azure-nspkg"
4+
package_pprint_name = "Batch"
5+
package_doc_id = "batch"
6+
is_stable = true
7+
is_arm = false
28
auto_update = false

azure-batch/setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[bdist_wheel]
22
universal=1
3-
azure-namespace-package=azure-nspkg

azure-batch/setup.py

+11-9
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
import os.path
1111
from io import open
1212
from setuptools import find_packages, setup
13-
try:
14-
from azure_bdist_wheel import cmdclass
15-
except ImportError:
16-
from distutils import log as logger
17-
logger.warn("Wheel is not available, disabling bdist_wheel hook")
18-
cmdclass = {}
1913

2014
# Change the PACKAGE_NAME only to change folder and different name
2115
PACKAGE_NAME = "azure-batch"
@@ -72,13 +66,21 @@
7266
'Programming Language :: Python :: 3.4',
7367
'Programming Language :: Python :: 3.5',
7468
'Programming Language :: Python :: 3.6',
69+
'Programming Language :: Python :: 3.7',
7570
'License :: OSI Approved :: MIT License',
7671
],
7772
zip_safe=False,
78-
packages=find_packages(exclude=["tests"]),
73+
packages=find_packages(exclude=[
74+
'tests',
75+
# Exclude packages that will be covered by PEP420 or nspkg
76+
'azure',
77+
]),
7978
install_requires=[
80-
'msrestazure>=0.4.32',
79+
'msrest>=0.5.0',
80+
'msrestazure>=0.4.32,<2.0.0',
8181
'azure-common~=1.1',
8282
],
83-
cmdclass=cmdclass
83+
extras_require={
84+
":python_version<'3.0'": ['azure-nspkg'],
85+
}
8486
)

0 commit comments

Comments
 (0)