Skip to content

Commit 1ee2774

Browse files
stevapplexrmx
andauthored
Fix typo: pustil -> psutil (#4311)
* Fix typo: `pustil` -> `psutil` * Update CHANGELOG.md * Update test-requirements.txt --------- Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 6812da2 commit 1ee2774

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
([#4270](https://github.com/open-telemetry/opentelemetry-python/pull/4270))
1818
- api: fix logging of duplicate EventLogger setup warning
1919
([#4299](https://github.com/open-telemetry/opentelemetry-python/pull/4299))
20+
- sdk: fix setting of process owner in ProcessResourceDetector
21+
([#4311](https://github.com/open-telemetry/opentelemetry-python/pull/4311))
2022
- sdk: fix serialization of logs severity_number field to int
2123
([#4324](https://github.com/open-telemetry/opentelemetry-python/pull/4324))
2224

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
try:
8585
import psutil as psutil_module
8686

87-
pustil = psutil_module
87+
psutil = psutil_module
8888
except ImportError:
8989
pass
9090

opentelemetry-sdk/test-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ importlib-metadata==6.11.0
55
iniconfig==2.0.0
66
packaging==24.0
77
pluggy==1.5.0
8+
psutil==5.9.6; sys_platform != 'win32'
89
py-cpuinfo==9.0.0
910
pytest==7.4.4
1011
tomli==2.0.1

0 commit comments

Comments
 (0)