Skip to content
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

[EngSys] making all packages uppercase to prevent issue with PyJWT and pyjwt #18364

Merged
3 commits merged into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions eng/tox/verify_installed_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ def verify_packages(package_file_path):
sys.exit(1)

# find installed and expected packages
installed = dict(p.split('==') for p in get_installed_packages() if "==" in p)
expected = dict(p.split('==') for p in packages)
installed = {}
for p in get_installed_packages():
if "==" in p:
[package, version] = p.split("==")
installed[package.upper()] = version
expected = {}
for p in packages:
[package, version] = p.split("==")
expected[package.upper()] = version

missing_packages = [pkg for pkg in expected.keys() if installed.get(pkg) != expected.get(pkg)]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[packaging]
package_name = "azure-messaging-webpubsubservice"
package_nspkg = "azure-messaging-nspkg"
package_pprint_name = "Azure Web PubSub Service"
package_doc_id = ""
is_stable = false
is_arm = false
need_msrestazure = false
auto_update = false