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

Restore some opentelemetry module mappings #20749

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Apr 4, 2024

Several of mappings for opentelemetry packages were added/adjusted in #20551 and then adjusted more in #20705, but the second adjustment was based on the default fallback mapping replacing - with ., but it actually replaces them with _. This restores explicit mappings for the following (where I've downloaded the wheels and verified their contents):

  • opentelemetry-exporter-otlp
  • opentelemetry-exporter-otlp-proto-grpc
  • opentelemetry-exporter-otlp-proto-http
  • opentelemetry-sdk

These were originally added in #16337, released in 2.14.0, so this would be a notable regression if we released 2.20.0 without them.

Noticed in #20705 (comment)

@huonw huonw added the category:bugfix Bug fixes for released features label Apr 4, 2024
@huonw huonw added this to the 2.20.x milestone Apr 4, 2024
@huonw huonw marked this pull request as ready for review April 4, 2024 08:56
@huonw
Copy link
Contributor Author

huonw commented Apr 4, 2024

@purajit thanks for catching these typos! Can you verify that this looks better?

@purajit
Copy link
Contributor

purajit commented Apr 4, 2024

@purajit thanks for catching these typos! Can you verify that this looks better?

Yup, we're back!

@huonw huonw merged commit e23dc0a into main Apr 4, 2024
24 checks passed
@huonw huonw deleted the huonw/restore-opentelemetry-module-mapping branch April 4, 2024 19:45
WorkerPants pushed a commit that referenced this pull request Apr 4, 2024
Several of mappings for opentelemetry packages were added/adjusted in
#20551 and then adjusted more in #20705, but the second adjustment was
based on the default fallback mapping replacing `-` with `.`, but it
actually replaces them with `_`. This restores explicit mappings for the
following (where I've downloaded the wheels and verified their
contents):

- `opentelemetry-exporter-otlp`
- `opentelemetry-exporter-otlp-proto-grpc`
- `opentelemetry-exporter-otlp-proto-http`
- `opentelemetry-sdk`

These were originally added in #16337, released in 2.14.0, so this would
be a notable regression if we released 2.20.0 without them.

Noticed in
#20705 (comment)
@WorkerPants
Copy link
Member

I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants.

✔️ 2.20.x

Successfully opened #20753.


Thanks again for your contributions!

🤖 Beep Boop here's my run link

huonw added a commit that referenced this pull request Apr 4, 2024
…20753)

Several of mappings for opentelemetry packages were added/adjusted in
#20551 and then adjusted more in #20705, but the second adjustment was
based on the default fallback mapping replacing `-` with `.`, but it
actually replaces them with `_`. This restores explicit mappings for the
following (where I've downloaded the wheels and verified their
contents):

- `opentelemetry-exporter-otlp`
- `opentelemetry-exporter-otlp-proto-grpc`
- `opentelemetry-exporter-otlp-proto-http`
- `opentelemetry-sdk`

These were originally added in #16337, released in 2.14.0, so this would
be a notable regression if we released 2.20.0 without them.

Noticed in
#20705 (comment)

Co-authored-by: Huon Wilson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants