What is the actual behavior?
Traceback (most recent call last):
File "/home/richardf/prog/otel-reader-examples/preferred_aggregation.py", line 28, in
exporter = ConsoleMetricExporter(
TypeError: init() got an unexpected keyword argument 'preferred_aggregation'
Additional context
This is the behaviour reported in #2910 and putatively fixed in #2911
The issue seems to be that the requirements.txt installs the versions of the software before the fix. Changing requirements.txt to:
Describe your environment
success case:
Steps to reproduce
What is the expected behavior?
What is the actual behavior? Traceback (most recent call last): File "/home/richardf/prog/otel-reader-examples/preferred_aggregation.py", line 28, in
exporter = ConsoleMetricExporter(
TypeError: init() got an unexpected keyword argument 'preferred_aggregation'
Additional context This is the behaviour reported in #2910 and putatively fixed in #2911
The issue seems to be that the
requirements.txt
installs the versions of the software before the fix. Changing requirements.txt to:resolved the issue for me, there's probably a smarter way to do this. Ideally there would be pipeline tests to ensure the examples run.