Commit fd169a7
Fix the py.typed marker file usage (#4172)
* Fix the py.typed marker file usage
As defined in PEP 561, the py.typed marker files for namespace packages
should be placed "in the submodules of the namespace". 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.
- Added the missing marker to the prometheus exporter. Fixes #4113.
- Added the missing marker to opentelemetry._events.
- Removed the accidentally reintroduced jaeger exporters, which were
originally removed in commit 1625b35.
* Add missing py.typed
* Add pyright and fix the reported issues
* Update the generated workflow
---------
Co-authored-by: Riccardo Magliocchetti <[email protected]>
Co-authored-by: Emídio Neto <[email protected]>
Co-authored-by: Diego Hurtado <[email protected]>1 parent cafd7f2 commit fd169a7
File tree
33 files changed
+46
-0
lines changed- .github/workflows
- exporter
- opentelemetry-exporter-otlp-proto-http
- opentelemetry-exporter-otlp
- opentelemetry-exporter-prometheus
- src/opentelemetry/exporter/prometheus
- opentelemetry-exporter-zipkin-json
- opentelemetry-exporter-zipkin-proto-http
- opentelemetry-exporter-zipkin
- opentelemetry-api
- src/opentelemetry/_events
- opentelemetry-proto
- src/opentelemetry/proto
- opentelemetry-sdk
- src/opentelemetry/sdk
- _configuration
- _logs
- environment_variables
- error_handler
- metrics
- _internal/exponential_histogram
- resources
- trace
- util
- version
- opentelemetry-semantic-conventions
- src/opentelemetry/semconv
- attributes
- metrics
- resource
- trace
33 files changed
+46
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
91 | 109 | | |
92 | 110 | | |
93 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
0 commit comments