Skip to content

Commit

Permalink
chore: Making eachdist release catch more deps (#867)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
toumorokoshi and lzchen authored Jul 2, 2020
1 parent 6ea3f23 commit 2a9c3ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ext/opentelemetry-ext-datadog/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/eachdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ def update_dependencies(targets, version):
targets,
version,
"setup.cfg",
r"(opentelemetry-.*)= (.*)",
r"\1= " + version,
r"(opentelemetry-.*)==(.*)",
r"\1== " + version,
)


Expand Down

0 comments on commit 2a9c3ac

Please sign in to comment.