diff --git a/CHANGELOG.md b/CHANGELOG.md index d749747..4dab04b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,16 @@ ## [Unreleased][] -[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.1...HEAD +[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.2..HEAD + +## [0.13.2][] - 2023-08-03 + +[0.13.2]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.1...0.13.2 + +### Fixed + +- Trap `AttributeError` when loading httpx. This can happen from a locust + file as they are relying on gevent heavily which changes the socket module ## [0.13.1][] - 2023-08-02 diff --git a/chaostracing/__init__.py b/chaostracing/__init__.py index cac9ed6..ba72dc5 100644 --- a/chaostracing/__init__.py +++ b/chaostracing/__init__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = "0.13.1" +__version__ = "0.13.2" diff --git a/chaostracing/oltp.py b/chaostracing/oltp.py index e45178a..9eadd00 100644 --- a/chaostracing/oltp.py +++ b/chaostracing/oltp.py @@ -23,7 +23,7 @@ from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor HAS_HTTPX = True -except ImportError: +except (AttributeError, ImportError): logger.debug("Failed to import HTTPXClientInstrumentor", exc_info=True) HAS_HTTPX = False try: