package for release with requests update

This commit is contained in:
Jeff Jarry 2024-05-22 15:52:24 -04:00
Родитель 384a316781
Коммит b06798a0c8
6 изменённых файлов: 15 добавлений и 10 удалений

Просмотреть файл

@ -6,4 +6,4 @@ vcrpy
contextlib2
mock
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
==========
11.2.1
----------
- Updated versions of dependency libraries
11.2.0
----------
- Updated to use 8.2 Service fabric SDK

Просмотреть файл

@ -17,7 +17,7 @@ def read(fname):
setup(
name='sfctl',
version='11.2.0',
version='11.2.1',
description='Azure Service Fabric command line',
long_description=read('README.rst'),
url='https://github.com/Azure/service-fabric-cli',
@ -31,12 +31,12 @@ setup(
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
keywords='servicefabric azure',
python_requires='>3.5, <4',
python_requires='>3.8, <4',
packages=[
'sfctl',
'sfctl.helps',

Просмотреть файл

@ -272,7 +272,7 @@ def sfctl_cluster_version_matches(cluster_version, sfctl_version):
: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')

Просмотреть файл

@ -185,7 +185,7 @@ class HelpTextTests(unittest.TestCase):
# Do not split the help_command, as that breaks behavior:
# 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, err) = pipe.communicate()

Просмотреть файл

@ -16,9 +16,9 @@ class VersionTests(unittest.TestCase):
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, err) = pipe.communicate()