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

add more module mappings for popular packages #20551

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

purajit
Copy link
Contributor

@purajit purajit commented Feb 15, 2024

Added more default module mappings of popular packages

  • alphabetized the dictionaries
  • opentelemetry packages are from here

@purajit purajit changed the title 20240209 more module mappings add more module mappings for popular packages Feb 15, 2024
Copy link
Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kaos kaos merged commit dc7d4b6 into pantsbuild:main Feb 16, 2024
24 checks passed
@purajit purajit deleted the 20240209-more-module-mappings branch April 4, 2024 00:38
huonw added 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 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)
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]>
cburroughs added a commit to cburroughs/pants that referenced this pull request Apr 17, 2024
In pantsbuild#20551 the opentelemetry module mappings were expanded -- yeah! --
but in the transition of `opentelemetry-api` from a wildcard to
explicit list, this sub-module was missed.

See https://github.com/open-telemetry/opentelemetry-python/tree/v1.24.0/opentelemetry-api/src/opentelemetry
kaos pushed a commit that referenced this pull request Apr 18, 2024
In #20551 the opentelemetry module mappings were expanded -- yeah! --
but in the transition of `opentelemetry-api` from a wildcard to explicit
list, this sub-module was missed.

See
https://github.com/open-telemetry/opentelemetry-python/tree/v1.24.0/opentelemetry-api/src/opentelemetry
WorkerPants pushed a commit that referenced this pull request Apr 18, 2024
In #20551 the opentelemetry module mappings were expanded -- yeah! --
but in the transition of `opentelemetry-api` from a wildcard to explicit
list, this sub-module was missed.

See
https://github.com/open-telemetry/opentelemetry-python/tree/v1.24.0/opentelemetry-api/src/opentelemetry
kaos pushed a commit that referenced this pull request Apr 18, 2024
…) (#20810)

In #20551 the opentelemetry module mappings were expanded -- yeah! --
but in the transition of `opentelemetry-api` from a wildcard to explicit
list, this sub-module was missed.

See
https://github.com/open-telemetry/opentelemetry-python/tree/v1.24.0/opentelemetry-api/src/opentelemetry

Co-authored-by: cburroughs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants