Package Details: python-opentelemetry-sdk 1.39.1-2

Git Clone URL: https://aur.archlinux.org/python-opentelemetry.git (read-only, click to copy)
Package Base: python-opentelemetry
Description: OpenTelemetry Python SDK
Upstream URL: https://github.com/open-telemetry/opentelemetry-python
Licenses: Apache-2.0
Submitter: carsme
Maintainer: mistersmee
Last Packager: mistersmee
Votes: 1
Popularity: 0.52
First Submitted: 2023-06-19 23:08 (UTC)
Last Updated: 2026-01-11 09:25 (UTC)

Latest Comments

1 2 Next › Last »

romainhk commented on 2026-01-12 07:51 (UTC)

I managed to solve my issue with python-opentelemetry. Check stage was using a pytest version from an old pyenv 3.9 folder i have ¯_(ツ)_/¯ I just removed this env and it managed to recover the right one. Hope it can help you @PhCl

But I still have some trouble to install mistral-vibe after solving that (No module named build).

PhCl commented on 2026-01-12 05:22 (UTC)

I also run into the ModuleNotFoundError: No module named 'opencensus' error now. But surprisingly only on one machine, while on a second, relatively comparable installation, it was able to upgrade. To the best of my knowledge, the dependencies come all through "aur/mistral-vibe" in my case, and I did not spot any relevant differences between the setup that worked and the one that failed.

I tried to debug, but unfortunately could not find out more than the error message that romainhk already posted. But I can at least confirm that the problem can occur.

rubin55 commented on 2026-01-10 18:25 (UTC)

I noticed just yet with Python 3.14, a test breaks; add a deselect to the check() stage, i.e.:

--deselect=opentelemetry-sdk/tests/context/test_asyncio.py::TestAsyncio::test_with_asyncio

romainhk commented on 2026-01-07 14:44 (UTC)

Hum, so its on my side. Thx @mistersmee. I'll let a note here if i find something interesting

mistersmee commented on 2026-01-06 16:24 (UTC)

@romainhk, unable to reproduce the error on my end, unfortunately.

romainhk commented on 2026-01-06 13:45 (UTC) (edited on 2026-01-06 13:45 (UTC) by romainhk)

Hi ! Got some issues while installing this package (during check stage) :

shim/opentelemetry-opencensus-shim/tests/test_shim_with_sdk.py:19: in <module>
    from opencensus.trace import execution_context, time_event
E   ModuleNotFoundError: No module named 'opencensus'

(even if python-opencensus is well installed beside)

Don't seems to be an upstream issue so i post that here :)

mistersmee commented on 2025-10-17 07:36 (UTC)

@micwoj92, should be fixed with the latest pkgrel bump.

micwoj92 commented on 2025-10-16 21:26 (UTC)

Getting this error:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.13/unittest/mock.py:1423: in patched
    with self.decoration_helper(patched,
/usr/lib/python3.13/contextlib.py:141: in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
/usr/lib/python3.13/unittest/mock.py:1405: in decoration_helper
    arg = exit_stack.enter_context(patching)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.13/contextlib.py:530: in enter_context
    result = _enter(cm)
             ^^^^^^^^^^
/usr/lib/python3.13/unittest/mock.py:1497: in __enter__
    original, local = self.get_original()
                      ^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <unittest.mock._patch object at 0x7fc5cf0587d0>

    def get_original(self):
        target = self.getter()
        name = self.attribute

        original = DEFAULT
        local = False

        try:
            original = target.__dict__[name]
        except (AttributeError, KeyError):
            original = getattr(target, name, DEFAULT)
        else:
            local = True

        if name in _builtins and isinstance(target, ModuleType):
            self.create = True

        if not self.create and original is DEFAULT:
>           raise AttributeError(
                "%s does not have the attribute %r" % (target, name)
            )
E           AttributeError: <class 'opentelemetry.exporter.otlp.proto.grpc.trace_exporter.OTLPSpanExporter'> does not have the attribute '_stub'

/usr/lib/python3.13/unittest/mock.py:1467: AttributeError