Skip to content

Commit

Permalink
Fix the py.typed marker file usage
Browse files Browse the repository at this point in the history
As defined in PEP 561, the py.typed marker files for namespace packages
should be placed "in the submodules of the namespace, to avoid conflicts
and for clarity". In commit 732ea8a, the markers were added to the
subpackage roots, which serves no purpose. This changeset addresses all
marker-related issues in this repository.

A summary of the changes:

- Removed the unnecessary py.typed markers from the subpackage roots.
- Removed the markers at the root of the namespaces.
- Added the missing marker to the prometheus exporter. Fixes open-telemetry#4113.
- Added the missing marker to opentelemetry._events.
- Removed the accidentally reintroduced jaeger exporters, which were
  originally removed in commit 1625b35.
  • Loading branch information
kjagiello committed Sep 1, 2024
1 parent 47a2504 commit 471e2ca
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 0 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed opentelemetry-api/py.typed
Empty file.
Empty file.
Empty file removed opentelemetry-proto/py.typed
Empty file.
Empty file removed opentelemetry-sdk/py.typed
Empty file.
Empty file.

0 comments on commit 471e2ca

Please sign in to comment.