package for release with requests update
This commit is contained in:
Родитель
384a316781
Коммит
b06798a0c8
|
@ -6,4 +6,4 @@ vcrpy
|
||||||
contextlib2
|
contextlib2
|
||||||
mock
|
mock
|
||||||
astroid==2.5.6
|
astroid==2.5.6
|
||||||
requests==2.31.0
|
requests==2.32.0
|
|
@ -16,6 +16,11 @@ To get started, after installation run the following:
|
||||||
Change Log
|
Change Log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
11.2.1
|
||||||
|
----------
|
||||||
|
- Updated versions of dependency libraries
|
||||||
|
|
||||||
|
|
||||||
11.2.0
|
11.2.0
|
||||||
----------
|
----------
|
||||||
- Updated to use 8.2 Service fabric SDK
|
- Updated to use 8.2 Service fabric SDK
|
||||||
|
|
10
src/setup.py
10
src/setup.py
|
@ -17,7 +17,7 @@ def read(fname):
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='sfctl',
|
name='sfctl',
|
||||||
version='11.2.0',
|
version='11.2.1',
|
||||||
description='Azure Service Fabric command line',
|
description='Azure Service Fabric command line',
|
||||||
long_description=read('README.rst'),
|
long_description=read('README.rst'),
|
||||||
url='https://github.com/Azure/service-fabric-cli',
|
url='https://github.com/Azure/service-fabric-cli',
|
||||||
|
@ -31,12 +31,12 @@ setup(
|
||||||
'Environment :: Console',
|
'Environment :: Console',
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.9',
|
||||||
'Programming Language :: Python :: 3.8'
|
'Programming Language :: Python :: 3.10'
|
||||||
],
|
],
|
||||||
keywords='servicefabric azure',
|
keywords='servicefabric azure',
|
||||||
python_requires='>3.5, <4',
|
python_requires='>3.8, <4',
|
||||||
packages=[
|
packages=[
|
||||||
'sfctl',
|
'sfctl',
|
||||||
'sfctl.helps',
|
'sfctl.helps',
|
||||||
|
|
|
@ -272,7 +272,7 @@ def sfctl_cluster_version_matches(cluster_version, sfctl_version):
|
||||||
:return: True if they are a match. False otherwise.
|
:return: True if they are a match. False otherwise.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if sfctl_version in ['11.2.0']:
|
if sfctl_version in ['11.2.1']:
|
||||||
|
|
||||||
return cluster_version.startswith('8') or cluster_version.startswith('9')
|
return cluster_version.startswith('8') or cluster_version.startswith('9')
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,7 @@ class HelpTextTests(unittest.TestCase):
|
||||||
# Do not split the help_command, as that breaks behavior:
|
# Do not split the help_command, as that breaks behavior:
|
||||||
# Linux ignores the splits and takes only the first.
|
# Linux ignores the splits and takes only the first.
|
||||||
|
|
||||||
pipe = Popen(help_command, shell=True, stdout=PIPE, stderr=PIPE)
|
pipe = Popen(help_command, shell=False, stdout=PIPE, stderr=PIPE)
|
||||||
# returned_string and err are returned as bytes
|
# returned_string and err are returned as bytes
|
||||||
(returned_string, err) = pipe.communicate()
|
(returned_string, err) = pipe.communicate()
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,9 @@ class VersionTests(unittest.TestCase):
|
||||||
|
|
||||||
note: this will require changing the sfctl_version on releases
|
note: this will require changing the sfctl_version on releases
|
||||||
"""
|
"""
|
||||||
sfctl_version = '11.2.0'
|
sfctl_version = '11.2.1'
|
||||||
|
|
||||||
pipe = Popen('sfctl --version', shell=True, stdout=PIPE, stderr=PIPE)
|
pipe = Popen('sfctl --version', shell=False, stdout=PIPE, stderr=PIPE)
|
||||||
# returned_string and err are returned as bytes
|
# returned_string and err are returned as bytes
|
||||||
(returned_string, err) = pipe.communicate()
|
(returned_string, err) = pipe.communicate()
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче