-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
OS: ubuntu
Python version: Python 3.12
SDK version: 1.26.0
API version: 1.26.0
What happened?
#3385 added a py.typed
marker to every subpackage.
This marker was added to the subpackage root, but it should stay with the package source code (inside /src
)
ie: Instead of exporter/opentelemetry-exporter-prometheus, it should be exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus
Steps to Reproduce
Run mypy with --strict
flag in a project importing from opentelemetry.exporter.prometheus
.
Expected Result
Mypy succeeds
Actual Result
Mypy fails with
error: Skipping analyzing "opentelemetry.exporter.prometheus": module is installed, but missing library stubs or py.typed marker [import-untyped]
Additional context
No response
Would you like to implement a fix?
Yes
aabmass
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working