-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ServiceBus] drop Python 2.7/3.6 #22320
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,21 +20,6 @@ | |
# a-b-c => a.b.c | ||
namespace_name = PACKAGE_NAME.replace('-', '.') | ||
|
||
# azure v0.x is not compatible with this package | ||
# azure v0.x used to have a __version__ attribute (newer versions don't) | ||
try: | ||
import azure | ||
try: | ||
ver = azure.__version__ | ||
raise Exception( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why remove this? You might still need this block - afaik, it's not letting an install along side azure meta package(which shouldn't have existed in the first place) - this block is not limited to py2 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
'This package is incompatible with azure=={}. '.format(ver) + | ||
'Uninstall it with "pip uninstall azure".' | ||
) | ||
except AttributeError: | ||
pass | ||
except ImportError: | ||
pass | ||
|
||
# Version extraction inspired from 'requests' | ||
with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: | ||
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', | ||
|
@@ -62,16 +47,14 @@ | |
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'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', | ||
], | ||
python_requires=">=3.7", | ||
zip_safe=False, | ||
packages=find_packages(exclude=[ | ||
'tests', | ||
|
@@ -86,8 +69,5 @@ | |
'azure-core<2.0.0,>=1.14.0', | ||
"isodate>=0.6.0", | ||
"six>=1.11.0", | ||
], | ||
extras_require={ | ||
":python_version<'3.0'": ['azure-nspkg', 'futures'], | ||
} | ||
] | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 7.5.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated in this PR: d6f5462.
will merge this one after the other PR is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edit: above PR merged