Bug 2099038 - F37FailsToInstall: Multiple packages built from python-opentelemetry
Summary: F37FailsToInstall: Multiple packages built from python-opentelemetry
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-opentelemetry
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2099039
Blocks: PYTHON3.11 F37FTBFS F37FailsToInstall 2099149
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:40 UTC by Miro Hrončok
Modified: 2022-06-20 16:15 UTC (History)
2 users (show)

Fixed In Version: python-opentelemetry-1.11.1-8.fc37
Clone Of:
Environment:
Last Closed: 2022-06-20 16:15:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-06-20 09:40:03 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (python-opentelemetry) Fails To Install in Fedora 37:

can't install python3-opentelemetry-api:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-api-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-api-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(setuptools) >= 16 needed by python3-opentelemetry-api-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-jaeger:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-jaeger-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-jaeger-proto-grpc:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(googleapis-common-protos) >= 1.52 with python3.10dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(grpcio) < 2~~ with python3.10dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-jaeger-thrift:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-jaeger-thrift-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(thrift) >= 0.10 needed by python3-opentelemetry-exporter-jaeger-thrift-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-opencensus:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-opencensus-0.30~b1-5.fc37.noarch
  - nothing provides python3.10dist(setuptools) >= 16 needed by python3-opentelemetry-exporter-opencensus-0.30~b1-5.fc37.noarch
  - nothing provides (python3.10dist(grpcio) < 2~~ with python3.10dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-opencensus-0.30~b1-5.fc37.noarch
  - nothing provides python3.10dist(protobuf) >= 3.13 needed by python3-opentelemetry-exporter-opencensus-0.30~b1-5.fc37.noarch
  - nothing provides (python3.10dist(opencensus-proto) < 1~~ with python3.10dist(opencensus-proto) >= 0.1) needed by python3-opentelemetry-exporter-opencensus-0.30~b1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-otlp:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-otlp-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-otlp-proto-grpc:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(backoff) < 2~~ with python3.10dist(backoff) >= 1.10) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(googleapis-common-protos) >= 1.52 with python3.10dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(grpcio) < 2~~ with python3.10dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-zipkin:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-zipkin-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-zipkin-json:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-zipkin-json-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(requests) >= 2.7 with python3.10dist(requests) < 3) needed by python3-opentelemetry-exporter-zipkin-json-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-zipkin-proto-http:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-zipkin-proto-http-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(requests) >= 2.7 with python3.10dist(requests) < 3) needed by python3-opentelemetry-exporter-zipkin-proto-http-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(protobuf) >= 3.12 needed by python3-opentelemetry-exporter-zipkin-proto-http-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-opentracing-shim:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-opentracing-shim-0.30~b1-5.fc37.noarch
  - nothing provides python3.10dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-opentracing-shim-0.30~b1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-otlp-proto-http:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-otlp-proto-http-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(backoff) < 2~~ with python3.10dist(backoff) >= 1.10) needed by python3-opentelemetry-exporter-otlp-proto-http-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(googleapis-common-protos) >= 1.52 with python3.10dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-otlp-proto-http-1.11.1-5.fc37.noarch
  - nothing provides (python3.10dist(requests) >= 2.7 with python3.10dist(requests) < 3) needed by python3-opentelemetry-exporter-otlp-proto-http-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-exporter-prometheus:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-exporter-prometheus-0.30~b1-5.fc37.noarch
  - nothing provides (python3.10dist(prometheus-client) < 1~~ with python3.10dist(prometheus-client) >= 0.5) needed by python3-opentelemetry-exporter-prometheus-0.30~b1-5.fc37.noarch
  
can't install python3-opentelemetry-sdk:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-sdk-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(setuptools) >= 16 needed by python3-opentelemetry-sdk-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(typing-extensions) >= 3.7.4 needed by python3-opentelemetry-sdk-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-semantic-conventions:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-semantic-conventions-0.30~b1-5.fc37.noarch
  
can't install python3-opentelemetry-test-utils:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-test-utils-0.30~b1-5.fc37.noarch
  - nothing provides (python3.10dist(asgiref) >= 3 with python3.10dist(asgiref) < 4) needed by python3-opentelemetry-test-utils-0.30~b1-5.fc37.noarch
  
can't install python3-opentelemetry-propagator-b3:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-propagator-b3-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-propagator-b3-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-propagator-jaeger:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-propagator-jaeger-1.11.1-5.fc37.noarch
  
can't install python3-opentelemetry-proto:
  - nothing provides python(abi) = 3.10 needed by python3-opentelemetry-proto-1.11.1-5.fc37.noarch
  - nothing provides python3.10dist(protobuf) >= 3.13 needed by python3-opentelemetry-proto-1.11.1-5.fc37.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install python3-opentelemetry-api python3-opentelemetry-exporter-jaeger python3-opentelemetry-exporter-jaeger-proto-grpc python3-opentelemetry-exporter-jaeger-thrift python3-opentelemetry-exporter-opencensus python3-opentelemetry-exporter-otlp python3-opentelemetry-exporter-otlp-proto-grpc python3-opentelemetry-exporter-zipkin python3-opentelemetry-exporter-zipkin-json python3-opentelemetry-exporter-zipkin-proto-http python3-opentelemetry-opentracing-shim python3-opentelemetry-exporter-otlp-proto-http python3-opentelemetry-exporter-prometheus python3-opentelemetry-sdk python3-opentelemetry-semantic-conventions python3-opentelemetry-test-utils python3-opentelemetry-propagator-b3 python3-opentelemetry-propagator-jaeger python3-opentelemetry-proto


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:08:35 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Ben Beasley 2022-06-20 13:55:18 UTC
Rebuild blocked by python-opentracing.

Comment 3 Miro Hrončok 2022-06-20 14:46:57 UTC
Exception ignored in atexit callback: <bound method MeterProvider.shutdown of <opentelemetry.sdk._metrics.MeterProvider object at 0xf42a0170>>
Traceback (most recent call last):
  File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/sdk/_metrics/__init__.py", line 314, in shutdown
    did_shutdown = self._shutdown_once.do_once(_shutdown)
                   ^^^^^^^^^^^^^^^^^^^
AttributeError: 'MeterProvider' object has no attribute '_shutdown_once'

Comment 4 Miro Hrončok 2022-06-20 14:53:41 UTC
=================================== FAILURES ===================================
________________ TestSpan.test_record_exception_context_manager ________________
self = <tests.trace.test_trace.TestSpan testMethod=test_record_exception_context_manager>
        def test_record_exception_context_manager(self):
            try:
                with self.tracer.start_as_current_span("span") as span:
                    raise RuntimeError("example error")
            except RuntimeError:
                pass
            finally:
                self.assertEqual(len(span.events), 1)
                event = span.events[0]
                self.assertEqual("exception", event.name)
                self.assertEqual(
                    "RuntimeError", event.attributes["exception.type"]
                )
                self.assertEqual(
                    "example error", event.attributes["exception.message"]
                )
    
                stacktrace = """in test_record_exception_context_manager
        raise RuntimeError("example error")
    RuntimeError: example error"""
>               self.assertIn(stacktrace, event.attributes["exception.stacktrace"])
E               AssertionError: 'in test_record_exception_context_manager\n    raise RuntimeError("example error")\nRuntimeError: example error' not found in 'Traceback (most recent call last):\n  File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/trace/__init__.py", line 563, in use_span\n    yield span\n    ^^^^^^^^^^\n  File "/builddir/build/BUILDROOT/python-opentelemetry-1.11.1-6.fc37.noarch/usr/lib/python3.11/site-packages/opentelemetry/sdk/trace/__init__.py", line 1015, in start_as_current_span\n    yield span_context\n    ^^^^^^^^^^^^^^^^^^\n  File "/builddir/build/BUILD/opentelemetry-python-1.11.1/opentelemetry-sdk/tests/trace/test_trace.py", line 1139, in test_record_exception_context_manager\n    raise RuntimeError("example error")\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: example error\n'
opentelemetry-sdk/tests/trace/test_trace.py:1156: AssertionError

Comment 5 Miro Hrončok 2022-06-20 14:56:59 UTC
Note that "AttributeError: 'MeterProvider' object has no attribute '_shutdown_once'" is a pre-existing thing that does not fail the build.

The actual problem is test_record_exception_context_manager not expecting the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in a tracaback.


Note You need to log in before you can comment on or make changes to this bug.