-
Notifications
You must be signed in to change notification settings - Fork 3k
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
{Packaging} Use proper PEP 508 environment marker for dependencies #21660
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -139,6 +139,8 @@ | |||||||||||||||||||||
'azure-synapse-spark~=0.2.0', | ||||||||||||||||||||||
'chardet~=3.0.4', | ||||||||||||||||||||||
'colorama~=0.4.4', | ||||||||||||||||||||||
# On Linux, the distribution (Ubuntu, Debian, etc) and version are checked for `az feedback` | ||||||||||||||||||||||
'distro; sys_platform == "linux"', | ||||||||||||||||||||||
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 is what it becomes in generated wheel
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. You should use Here: https://peps.python.org/pep-0508/#environment-markers 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. It's ok. We have dropped support for Python 2 anyway. We also use azure-cli/src/azure-cli-core/azure/cli/core/auth/persistence.py Lines 41 to 50 in fb805f4
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.
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. Ok sounds good to me |
||||||||||||||||||||||
'fabric~=2.4', | ||||||||||||||||||||||
'javaproperties~=0.5.1', | ||||||||||||||||||||||
'jsondiff~=1.3.0', | ||||||||||||||||||||||
|
@@ -154,10 +156,6 @@ | |||||||||||||||||||||
'xmltodict~=0.12' | ||||||||||||||||||||||
] | ||||||||||||||||||||||
|
||||||||||||||||||||||
# On Linux, the distribution (Ubuntu, Debian, etc) and version are checked | ||||||||||||||||||||||
if sys.platform == 'linux': | ||||||||||||||||||||||
DEPENDENCIES.append('distro') | ||||||||||||||||||||||
|
||||||||||||||||||||||
with open('README.rst', 'r', encoding='utf-8') as f: | ||||||||||||||||||||||
README = f.read() | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
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.
These lines were added by #15076.
This brought back #9399, making it impossible to install
azure-cli
on cygwin: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.
This is what it becomes in generated wheel
METADATA
: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.
Well, anyway, latest
cryptography
doesn't have cygwin support either: pyca/cryptography#6834