From a8baa1627fad1aa892744c230089dcd541960d85 Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Tue, 27 Apr 2021 17:07:14 -0400 Subject: [PATCH] [EngSys] making all packages uppercase to prevent issue with PyJWT and pyjwt (#18364) --- eng/tox/verify_installed_packages.py | 11 +++++++++-- .../sdk_packaging.toml | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml diff --git a/eng/tox/verify_installed_packages.py b/eng/tox/verify_installed_packages.py index 234b18bb323b..b39d93504146 100644 --- a/eng/tox/verify_installed_packages.py +++ b/eng/tox/verify_installed_packages.py @@ -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)] diff --git a/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml b/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml new file mode 100644 index 000000000000..f2b3fc1cf82b --- /dev/null +++ b/sdk/webpubsub/azure-messaging-webpubsubservice/sdk_packaging.toml @@ -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 \ No newline at end of file