From 2a9c3ac6e3e0bfa8038e07c60e19cab0975a5636 Mon Sep 17 00:00:00 2001 From: Yusuke Tsutsumi Date: Thu, 2 Jul 2020 09:45:56 -0700 Subject: [PATCH] chore: Making eachdist release catch more deps (#867) In the last release, eachdist missed updating dependencies on ext-datadog, which has a slightly different, but valid, way of specifying the version (omitting some spaces). Making the eachdist regex more lenient to catch other valid version specifications. Also modifying the ext-datadog dependency specification to match the format of all the others. Co-authored-by: Leighton Chen --- ext/opentelemetry-ext-datadog/setup.cfg | 4 ++-- scripts/eachdist.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/opentelemetry-ext-datadog/setup.cfg b/ext/opentelemetry-ext-datadog/setup.cfg index 905dcda2ee..d97bcdaa69 100644 --- a/ext/opentelemetry-ext-datadog/setup.cfg +++ b/ext/opentelemetry-ext-datadog/setup.cfg @@ -40,8 +40,8 @@ package_dir= packages=find_namespace: install_requires = ddtrace>=0.34.0 - opentelemetry-api==0.11.dev0 - opentelemetry-sdk==0.11.dev0 + opentelemetry-api == 0.11.dev0 + opentelemetry-sdk == 0.11.dev0 [options.packages.find] where = src diff --git a/scripts/eachdist.py b/scripts/eachdist.py index 57560b9b84..724061690d 100755 --- a/scripts/eachdist.py +++ b/scripts/eachdist.py @@ -589,8 +589,8 @@ def update_dependencies(targets, version): targets, version, "setup.cfg", - r"(opentelemetry-.*)= (.*)", - r"\1= " + version, + r"(opentelemetry-.*)==(.*)", + r"\1== " + version, )