Skip to content

Commit e6a8934

Browse files
authored
Resolve Bad Storage Sync Update (Azure#19865)
* Revert "Packaging update of azure-mgmt-storagesync" * disable auto_update
1 parent cb05bec commit e6a8934

File tree

6 files changed

+25
-18
lines changed

6 files changed

+25
-18
lines changed

sdk/storage/azure-mgmt-storagesync/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
1-
# Microsoft Azure SDK for Python
1+
## Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Storage Sync Client Library.
4+
5+
Azure Resource Manager (ARM) is the next generation of management APIs
6+
that replace the old Azure Service Management (ASM).
7+
48
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5-
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
69

10+
For the older Azure Service Management (ASM) libraries, see
11+
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
12+
library.
13+
14+
For a more complete set of Azure libraries, see the
15+
[azure sdk python release](https://aka.ms/azsdk/python/all).
716

8-
# Usage
17+
## Usage
918

1019

1120
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
1221

1322

14-
23+
1524
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
16-
Code samples for this package can be found at [Storage Sync](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
25+
Code samples for this package can be found at [Storage Sync Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
1726
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
1827

1928

20-
# Provide Feedback
21-
22-
If you encounter any bugs or have suggestions, please file an issue in the
23-
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
24-
section of the project.
29+
## Provide Feedback
2530

31+
If you encounter any bugs or have suggestions, please file an issue in
32+
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
33+
section of the project.
2634

27-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-storagesync%2FREADME.png)
35+
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-storagesync%2FREADME.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

sdk/storage/azure-mgmt-storagesync/sdk_packaging.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ package_name = "azure-mgmt-storagesync"
33
package_pprint_name = "Storage Sync"
44
package_doc_id = ""
55
is_stable = false
6+
auto_update = false

sdk/storage/azure-mgmt-storagesync/setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
pass
3737

3838
# Version extraction inspired from 'requests'
39-
with open(os.path.join(package_folder_path, 'version.py')
40-
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
41-
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
39+
with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd:
4240
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
4341
fd.read(), re.MULTILINE).group(1)
4442

@@ -70,7 +68,6 @@
7068
'Programming Language :: Python :: 3.6',
7169
'Programming Language :: Python :: 3.7',
7270
'Programming Language :: Python :: 3.8',
73-
'Programming Language :: Python :: 3.9',
7471
'License :: OSI Approved :: MIT License',
7572
],
7673
zip_safe=False,
@@ -82,8 +79,8 @@
8279
]),
8380
install_requires=[
8481
'msrest>=0.6.21',
85-
'msrestazure>=0.4.32,<2.0.0',
8682
'azure-common~=1.1',
83+
'azure-mgmt-core>=1.2.0,<2.0.0',
8784
],
8885
extras_require={
8986
":python_version<'3.0'": ['azure-mgmt-nspkg'],

0 commit comments

Comments
 (0)