From 21a5d1f60d3811195ea0ab383f8390326babcdc5 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Wed, 1 Dec 2021 16:53:22 -0800 Subject: [PATCH 1/7] update packaging tool --- .../azure-applicationinsights/sdk_packaging.toml | 1 + sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml | 1 - sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml | 1 - sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml | 1 - sdk/azureadb2c/azure-mgmt-azureadb2c/sdk_packaging.toml | 1 - .../azure-mgmt-azurestackhci/sdk_packaging.toml | 1 - .../azure-mgmt-baremetalinfrastructure/sdk_packaging.toml | 2 -- tools/azure-sdk-tools/packaging_tools/__init__.py | 5 ++++- .../packaging_tools/templates/{LICENSE.txt => LICENSE} | 6 +++--- tools/azure-sdk-tools/packaging_tools/templates/MANIFEST.in | 2 +- tools/azure-sdk-tools/packaging_tools/templates/setup.py | 1 + 11 files changed, 10 insertions(+), 12 deletions(-) rename tools/azure-sdk-tools/packaging_tools/templates/{LICENSE.txt => LICENSE} (89%) diff --git a/sdk/applicationinsights/azure-applicationinsights/sdk_packaging.toml b/sdk/applicationinsights/azure-applicationinsights/sdk_packaging.toml index 63f0951e6a3c..65322fc8f69b 100644 --- a/sdk/applicationinsights/azure-applicationinsights/sdk_packaging.toml +++ b/sdk/applicationinsights/azure-applicationinsights/sdk_packaging.toml @@ -4,3 +4,4 @@ package_pprint_name = "Application Insights" package_doc_id = "" is_stable = false is_arn = false +auto_update = false diff --git a/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml b/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml index 1d7edd47be33..f2b6c449b94d 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml +++ b/sdk/appplatform/azure-mgmt-appplatform/sdk_packaging.toml @@ -5,4 +5,3 @@ package_pprint_name = "Appplatform Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true diff --git a/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml b/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml index 00288928243d..0636d04fc345 100644 --- a/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml +++ b/sdk/attestation/azure-mgmt-attestation/sdk_packaging.toml @@ -5,4 +5,3 @@ package_pprint_name = "MyService Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true diff --git a/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml b/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml index 0cbc63c7cc85..cdedb80cf597 100644 --- a/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml +++ b/sdk/automanage/azure-mgmt-automanage/sdk_packaging.toml @@ -5,4 +5,3 @@ package_pprint_name = "Auto Manage Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/sdk_packaging.toml b/sdk/azureadb2c/azure-mgmt-azureadb2c/sdk_packaging.toml index 9dc8ef5f830b..ab0abb5acbaa 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/sdk_packaging.toml +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/sdk_packaging.toml @@ -5,4 +5,3 @@ package_pprint_name = "Azureadb2c Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml b/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml index a4878bb809c5..80466016f666 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/sdk_packaging.toml @@ -5,4 +5,3 @@ package_pprint_name = "AzureStackHCI Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml index 9d80c14d060f..bcb8422d76f8 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/sdk_packaging.toml @@ -5,5 +5,3 @@ package_pprint_name = "Baremetalinfrastructure Management" package_doc_id = "" is_stable = false is_arm = true -need_msrestazure = true -need_azuremgmtcore = true diff --git a/tools/azure-sdk-tools/packaging_tools/__init__.py b/tools/azure-sdk-tools/packaging_tools/__init__.py index 67e29e69bb70..1b6afe958dc6 100644 --- a/tools/azure-sdk-tools/packaging_tools/__init__.py +++ b/tools/azure-sdk-tools/packaging_tools/__init__.py @@ -29,7 +29,10 @@ def build_config(config: Dict[str, Any]) -> Dict[str, str]: result["is_arm"] = result.pop("is_arm", True) # Do I need msrestazure for this package? - result["need_msrestazure"] = result.pop("need_msrestazure", True) + result["need_msrestazure"] = result.pop("need_msrestazure", False) + + # Do I need azure-mgmt-core for this package? + result["need_azuremgmtcore"] = result.pop("need_azuremgmtcore", True) # Pre-compute some Jinja variable that are complicated to do inside the templates package_parts = result["package_nspkg"][: -len("-nspkg")].split("-") diff --git a/tools/azure-sdk-tools/packaging_tools/templates/LICENSE.txt b/tools/azure-sdk-tools/packaging_tools/templates/LICENSE similarity index 89% rename from tools/azure-sdk-tools/packaging_tools/templates/LICENSE.txt rename to tools/azure-sdk-tools/packaging_tools/templates/LICENSE index 2d3163745319..b2f52a2bad4e 100644 --- a/tools/azure-sdk-tools/packaging_tools/templates/LICENSE.txt +++ b/tools/azure-sdk-tools/packaging_tools/templates/LICENSE @@ -1,6 +1,6 @@ -The MIT License (MIT) +Copyright (c) Microsoft Corporation. -Copyright (c) 2021 Microsoft +MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER diff --git a/tools/azure-sdk-tools/packaging_tools/templates/MANIFEST.in b/tools/azure-sdk-tools/packaging_tools/templates/MANIFEST.in index b67a47a42802..597108650d29 100644 --- a/tools/azure-sdk-tools/packaging_tools/templates/MANIFEST.in +++ b/tools/azure-sdk-tools/packaging_tools/templates/MANIFEST.in @@ -3,4 +3,4 @@ include *.md {%- for init_name in init_names %} include {{ init_name }} {%- endfor %} -include LICENSE.txt +include LICENSE diff --git a/tools/azure-sdk-tools/packaging_tools/templates/setup.py b/tools/azure-sdk-tools/packaging_tools/templates/setup.py index 40f72f8b053b..b7ec98cb4e9d 100644 --- a/tools/azure-sdk-tools/packaging_tools/templates/setup.py +++ b/tools/azure-sdk-tools/packaging_tools/templates/setup.py @@ -70,6 +70,7 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'License :: OSI Approved :: MIT License', ], zip_safe=False, From 9475c8da3096c273d6bdbc3d99aa6c5e8ff6de1e Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:40 +0000 Subject: [PATCH 2/7] Packaging update of azure-mgmt-azureadb2c --- .../azure-mgmt-azureadb2c/LICENSE.txt | 21 +++++++++++++++++++ .../azure-mgmt-azureadb2c/MANIFEST.in | 2 +- .../azure-mgmt-azureadb2c/README.md | 6 +++--- .../azure-mgmt-azureadb2c/azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py | 6 +++--- 6 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 sdk/azureadb2c/azure-mgmt-azureadb2c/LICENSE.txt diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/LICENSE.txt b/sdk/azureadb2c/azure-mgmt-azureadb2c/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/MANIFEST.in b/sdk/azureadb2c/azure-mgmt-azureadb2c/MANIFEST.in index a3cb07df8765..ceca2422f05f 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/MANIFEST.in +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/MANIFEST.in @@ -2,4 +2,4 @@ recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md b/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md index de064ba17dc4..fa2575b1db48 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md @@ -1,7 +1,7 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure Azureadb2c Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). @@ -21,7 +21,7 @@ Additional code samples for different Azure services are available at [Samples R If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-workloadmonitor%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-azureadb2c%2FREADME.png) diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/__init__.py b/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/__init__.py +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/__init__.py b/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/__init__.py +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py b/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py index 88ae2a3b73e3..1ca9d7ed6c87 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py @@ -66,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -80,9 +80,9 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0' ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], From 4b4dbe03fdd2cbe889b891cddf29f9ad96a7fb2a Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:41 +0000 Subject: [PATCH 3/7] Packaging update of azure-mgmt-azurestackhci --- .../azure-mgmt-azurestackhci/LICENSE.txt | 21 +++++++++++++++++++ .../azure-mgmt-azurestackhci/MANIFEST.in | 3 +-- .../azure-mgmt-azurestackhci/README.md | 8 +++---- .../azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- .../azure-mgmt-azurestackhci/setup.py | 6 +++--- 6 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 sdk/azurestackhci/azure-mgmt-azurestackhci/LICENSE.txt diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/LICENSE.txt b/sdk/azurestackhci/azure-mgmt-azurestackhci/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/MANIFEST.in b/sdk/azurestackhci/azure-mgmt-azurestackhci/MANIFEST.in index 3a9b6517412b..ceca2422f05f 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/MANIFEST.in +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/MANIFEST.in @@ -1,6 +1,5 @@ -include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md b/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md index 046c8511f7dc..241c932f792f 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md @@ -1,7 +1,7 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure AzureStackHCI Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). @@ -11,9 +11,9 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) - + For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [Azure Stack HCI Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Code samples for this package can be found at [AzureStackHCI Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) @@ -21,7 +21,7 @@ Additional code samples for different Azure services are available at [Samples R If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-azurestackhci%2FREADME.png) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/__init__.py b/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/__init__.py +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/__init__.py b/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/__init__.py +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py index c0f551efc68b..cfb45be6ae85 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py @@ -36,7 +36,7 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') +with open(os.path.join(package_folder_path, 'version.py') if os.path.exists(os.path.join(package_folder_path, 'version.py')) else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', @@ -66,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -81,8 +81,8 @@ ]), install_requires=[ 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], From a4be46f19ff2de0a9e88fe152b3e1def4287edc5 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:42 +0000 Subject: [PATCH 4/7] Packaging update of azure-mgmt-automanage --- .../azure-mgmt-automanage/LICENSE.txt | 21 +++++++++++++++++++ .../azure-mgmt-automanage/MANIFEST.in | 2 +- .../azure-mgmt-automanage/README.md | 14 +++++++++---- .../azure-mgmt-automanage/azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- sdk/automanage/azure-mgmt-automanage/setup.py | 6 +++--- 6 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 sdk/automanage/azure-mgmt-automanage/LICENSE.txt diff --git a/sdk/automanage/azure-mgmt-automanage/LICENSE.txt b/sdk/automanage/azure-mgmt-automanage/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/automanage/azure-mgmt-automanage/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/automanage/azure-mgmt-automanage/MANIFEST.in b/sdk/automanage/azure-mgmt-automanage/MANIFEST.in index a3cb07df8765..ceca2422f05f 100644 --- a/sdk/automanage/azure-mgmt-automanage/MANIFEST.in +++ b/sdk/automanage/azure-mgmt-automanage/MANIFEST.in @@ -2,4 +2,4 @@ recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/automanage/azure-mgmt-automanage/README.md b/sdk/automanage/azure-mgmt-automanage/README.md index b7d922c6650f..8f72e71226e3 100644 --- a/sdk/automanage/azure-mgmt-automanage/README.md +++ b/sdk/automanage/azure-mgmt-automanage/README.md @@ -1,21 +1,27 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure Auto Manage Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). # Usage -For code examples, see [Auto Manage Management](https://docs.microsoft.com/python/api/overview/azure/) -on docs.microsoft.com. + +To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) + + + +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) +Code samples for this package can be found at [Auto Manage Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) # Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-automanage%2FREADME.png) diff --git a/sdk/automanage/azure-mgmt-automanage/azure/__init__.py b/sdk/automanage/azure-mgmt-automanage/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/automanage/azure-mgmt-automanage/azure/__init__.py +++ b/sdk/automanage/azure-mgmt-automanage/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/automanage/azure-mgmt-automanage/azure/mgmt/__init__.py b/sdk/automanage/azure-mgmt-automanage/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/automanage/azure-mgmt-automanage/azure/mgmt/__init__.py +++ b/sdk/automanage/azure-mgmt-automanage/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/automanage/azure-mgmt-automanage/setup.py b/sdk/automanage/azure-mgmt-automanage/setup.py index 53b8251ba353..a2cdf9cf737d 100644 --- a/sdk/automanage/azure-mgmt-automanage/setup.py +++ b/sdk/automanage/azure-mgmt-automanage/setup.py @@ -66,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -80,9 +80,9 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], From 3339fc22d81ab286750509ff9c16f5424744c9ab Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:44 +0000 Subject: [PATCH 5/7] Packaging update of azure-mgmt-attestation --- .../azure-mgmt-attestation/LICENSE.txt | 21 +++++++++++++++++++ .../azure-mgmt-attestation/MANIFEST.in | 2 +- .../azure-mgmt-attestation/README.md | 8 +++---- .../azure-mgmt-attestation/azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- .../azure-mgmt-attestation/setup.py | 10 +++++---- 6 files changed, 34 insertions(+), 11 deletions(-) create mode 100644 sdk/attestation/azure-mgmt-attestation/LICENSE.txt diff --git a/sdk/attestation/azure-mgmt-attestation/LICENSE.txt b/sdk/attestation/azure-mgmt-attestation/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/attestation/azure-mgmt-attestation/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/attestation/azure-mgmt-attestation/MANIFEST.in b/sdk/attestation/azure-mgmt-attestation/MANIFEST.in index a3cb07df8765..ceca2422f05f 100644 --- a/sdk/attestation/azure-mgmt-attestation/MANIFEST.in +++ b/sdk/attestation/azure-mgmt-attestation/MANIFEST.in @@ -2,4 +2,4 @@ recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/attestation/azure-mgmt-attestation/README.md b/sdk/attestation/azure-mgmt-attestation/README.md index 3226a465d527..188dea142651 100644 --- a/sdk/attestation/azure-mgmt-attestation/README.md +++ b/sdk/attestation/azure-mgmt-attestation/README.md @@ -1,7 +1,7 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure MyService Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). @@ -11,9 +11,9 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) - + For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [Attestation Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Code samples for this package can be found at [MyService Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) @@ -21,7 +21,7 @@ Additional code samples for different Azure services are available at [Samples R If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-attestation%2FREADME.png) diff --git a/sdk/attestation/azure-mgmt-attestation/azure/__init__.py b/sdk/attestation/azure-mgmt-attestation/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/attestation/azure-mgmt-attestation/azure/__init__.py +++ b/sdk/attestation/azure-mgmt-attestation/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/attestation/azure-mgmt-attestation/azure/mgmt/__init__.py b/sdk/attestation/azure-mgmt-attestation/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/attestation/azure-mgmt-attestation/azure/mgmt/__init__.py +++ b/sdk/attestation/azure-mgmt-attestation/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/attestation/azure-mgmt-attestation/setup.py b/sdk/attestation/azure-mgmt-attestation/setup.py index d04b35001be8..492bdc949088 100644 --- a/sdk/attestation/azure-mgmt-attestation/setup.py +++ b/sdk/attestation/azure-mgmt-attestation/setup.py @@ -36,7 +36,9 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: +with open(os.path.join(package_folder_path, 'version.py') + if os.path.exists(os.path.join(package_folder_path, 'version.py')) + else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) @@ -64,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -78,9 +80,9 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], From e1fec9cf05698149e1f12726dd4bff066eab7e1c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:46 +0000 Subject: [PATCH 6/7] Packaging update of azure-mgmt-appplatform --- .../azure-mgmt-appplatform/LICENSE.txt | 21 +++++++++++++++++++ .../azure-mgmt-appplatform/MANIFEST.in | 3 +-- .../azure-mgmt-appplatform/README.md | 8 +++---- .../azure-mgmt-appplatform/azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- .../azure-mgmt-appplatform/setup.py | 6 +++--- 6 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 sdk/appplatform/azure-mgmt-appplatform/LICENSE.txt diff --git a/sdk/appplatform/azure-mgmt-appplatform/LICENSE.txt b/sdk/appplatform/azure-mgmt-appplatform/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/appplatform/azure-mgmt-appplatform/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/appplatform/azure-mgmt-appplatform/MANIFEST.in b/sdk/appplatform/azure-mgmt-appplatform/MANIFEST.in index 3a9b6517412b..ceca2422f05f 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/MANIFEST.in +++ b/sdk/appplatform/azure-mgmt-appplatform/MANIFEST.in @@ -1,6 +1,5 @@ -include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/appplatform/azure-mgmt-appplatform/README.md b/sdk/appplatform/azure-mgmt-appplatform/README.md index 8fee55c5c6cc..76432cf53950 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/README.md +++ b/sdk/appplatform/azure-mgmt-appplatform/README.md @@ -1,7 +1,7 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure Appplatform Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). @@ -11,9 +11,9 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) - + For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) -Code samples for this package can be found at [AppPlatform Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Code samples for this package can be found at [Appplatform Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) @@ -21,7 +21,7 @@ Additional code samples for different Azure services are available at [Samples R If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-appplatform%2FREADME.png) diff --git a/sdk/appplatform/azure-mgmt-appplatform/azure/__init__.py b/sdk/appplatform/azure-mgmt-appplatform/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/azure/__init__.py +++ b/sdk/appplatform/azure-mgmt-appplatform/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/__init__.py b/sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/__init__.py +++ b/sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/appplatform/azure-mgmt-appplatform/setup.py b/sdk/appplatform/azure-mgmt-appplatform/setup.py index 008426455bb3..faf225120737 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/setup.py +++ b/sdk/appplatform/azure-mgmt-appplatform/setup.py @@ -36,7 +36,7 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') +with open(os.path.join(package_folder_path, 'version.py') if os.path.exists(os.path.join(package_folder_path, 'version.py')) else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', @@ -66,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -81,8 +81,8 @@ ]), install_requires=[ 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], From a113d90c58622d0cc6b239765dfb6cb96ebc5f6d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 2 Dec 2021 00:57:47 +0000 Subject: [PATCH 7/7] Packaging update of azure-mgmt-baremetalinfrastructure --- .../LICENSE.txt | 21 +++++++++++++++++++ .../MANIFEST.in | 3 +-- .../README.md | 14 +++++++++---- .../azure/__init__.py | 2 +- .../azure/mgmt/__init__.py | 2 +- .../setup.py | 4 ++-- 6 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/LICENSE.txt diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/LICENSE.txt b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/LICENSE.txt new file mode 100644 index 000000000000..2d3163745319 --- /dev/null +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/MANIFEST.in b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/MANIFEST.in index 3a9b6517412b..ceca2422f05f 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/MANIFEST.in +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/MANIFEST.in @@ -1,6 +1,5 @@ -include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py include azure/mgmt/__init__.py - +include LICENSE.txt diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md index 0f477e56b22b..5a1870c17aad 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md @@ -1,21 +1,27 @@ # Microsoft Azure SDK for Python This is the Microsoft Azure Baremetalinfrastructure Management Client Library. -This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). # Usage -For code examples, see [Baremetalinfrastructure Management](https://docs.microsoft.com/python/api/overview/azure/) -on docs.microsoft.com. + +To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) + + + +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) +Code samples for this package can be found at [Baremetalinfrastructure Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) # Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) -section of the project. +section of the project. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-baremetalinfrastructure%2FREADME.png) diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/__init__.py b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/__init__.py +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/mgmt/__init__.py b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/mgmt/__init__.py index 0260537a02bb..8db66d3d0f0f 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/mgmt/__init__.py +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py index 37623dd0f087..85239338f264 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py @@ -66,10 +66,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], zip_safe=False, @@ -81,8 +81,8 @@ ]), install_requires=[ 'msrest>=0.6.21', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', - 'azure-mgmt-core>=1.2.0,<2.0.0', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'],