Skip to content

Commit

Permalink
Update batch extension to 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwu1 authored and Ubuntu committed Jun 29, 2018
1 parent a4ac7bd commit e30e204
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
7 changes: 4 additions & 3 deletions scripts/ci/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ def test_metadata(self):
run_requires = metadata.get('run_requires')
if run_requires and ext_name not in SKIP_DEP_CHECK:
deps = run_requires[0]['requires']
self.assertTrue(all(not dep.startswith('azure-') for dep in deps),
"Dependencies of {} use disallowed extension dependencies. "
"Remove these dependencies: {}".format(item['filename'], deps))
self.assertTrue(
all(not dep.startswith('azure-') or dep.startswith('azure-batch-extensions') for dep in deps),
"Dependencies of {} use disallowed extension dependencies. "
"Remove these dependencies: {}".format(item['filename'], deps))
shutil.rmtree(extensions_dir)


Expand Down
16 changes: 12 additions & 4 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"extensions": {
"azure-batch-cli-extensions": [
{
"filename": "azure_batch_cli_extensions-2.2.2-py2.py3-none-any.whl",
"sha256Digest": "212493c9b044a66271986f30efd8ac9dd7f736283272d0049fa4f125e9dc9323",
"downloadUrl": "https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.2.2/azure_batch_cli_extensions-2.2.2-py2.py3-none-any.whl",
"filename": "azure_batch_cli_extensions-2.3.0-py2.py3-none-any.whl",
"sha256Digest": "360fa1a71da65db1866ec6987bad822868915d9ce5d2e6d5542c58836ff62816",
"downloadUrl": "https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.3.0/azure_batch_cli_extensions-2.3.0-py2.py3-none-any.whl",
"metadata": {
"azext.minCliCoreVersion": "2.0.24",
"azext.maxCliCoreVersion": "2.1.0",
Expand All @@ -26,12 +26,20 @@
}
}
},
"extras": [],
"generator": "bdist_wheel (0.30.0)",
"license": "MIT",
"metadata_version": "2.0",
"name": "azure-batch-cli-extensions",
"run_requires": [
{
"requires": [
"azure-batch-extensions (<3.1,>=3.0.0)"
]
}
],
"summary": "Additional commands for working with Azure Batch service",
"version": "2.2.2"
"version": "2.3.0"
}
}
],
Expand Down

0 comments on commit e30e204

Please sign in to comment.