Bug 2220378 - F39FailsToInstall: Multiple packages built from python-opentelemetry
Summary: F39FailsToInstall: Multiple packages built from python-opentelemetry
Keywords:
Status: CLOSED ERRATA
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:
Blocks: PYTHON3.12 F39FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:16 UTC by Fedora Fails To Install
Modified: 2023-07-06 04:06 UTC (History)
3 users (show)

Fixed In Version: python-opentelemetry-1.18.0-4.fc39
Clone Of:
Environment:
Last Closed: 2023-07-06 04:06:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-telemetry opentelemetry-python issues 3370 0 None open Test failure in opentelemetry-sdk on Python 3.12 2023-07-06 03:52:47 UTC

Description Fedora Fails To Install 2023-07-05 19:16:57 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

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

can't install python3-opentelemetry-api:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-api-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-api-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 16 needed by python3-opentelemetry-api-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(importlib-metadata) >= 6 with python3.11dist(importlib-metadata) < 7) needed by python3-opentelemetry-api-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-jaeger:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-jaeger-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-jaeger-proto-grpc:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(googleapis-common-protos) >= 1.52 with python3.11dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(grpcio) < 2~~ with python3.11dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-jaeger-proto-grpc-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-jaeger-thrift:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-jaeger-thrift-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(thrift) >= 0.10 needed by python3-opentelemetry-exporter-jaeger-thrift-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-opencensus:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-opencensus-0.39~b0-2.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 16 needed by python3-opentelemetry-exporter-opencensus-0.39~b0-2.fc39.noarch
  - nothing provides (python3.11dist(grpcio) < 2~~ with python3.11dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-opencensus-0.39~b0-2.fc39.noarch
  - nothing provides (python3.11dist(opencensus-proto) < 1~~ with python3.11dist(opencensus-proto) >= 0.1) needed by python3-opentelemetry-exporter-opencensus-0.39~b0-2.fc39.noarch
  - nothing provides (python3.11dist(protobuf) >= 3.13 with python3.11dist(protobuf) < 4) needed by python3-opentelemetry-exporter-opencensus-0.39~b0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-otlp:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-otlp-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-otlp-proto-common:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-otlp-proto-common-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-otlp-proto-grpc:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(backoff) < 3~~ with python3.11dist(backoff) >= 1.10) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(googleapis-common-protos) >= 1.52 with python3.11dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(grpcio) < 2~~ with python3.11dist(grpcio) >= 1) needed by python3-opentelemetry-exporter-otlp-proto-grpc-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-otlp-proto-http:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-otlp-proto-http-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-exporter-otlp-proto-http-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(backoff) < 3~~ with python3.11dist(backoff) >= 1.10) needed by python3-opentelemetry-exporter-otlp-proto-http-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(googleapis-common-protos) >= 1.52 with python3.11dist(googleapis-common-protos) < 2) needed by python3-opentelemetry-exporter-otlp-proto-http-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(requests) >= 2.7 with python3.11dist(requests) < 3) needed by python3-opentelemetry-exporter-otlp-proto-http-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-prometheus:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-prometheus-0.39~b0-2.fc39.noarch
  - nothing provides (python3.11dist(prometheus-client) < 1~~ with python3.11dist(prometheus-client) >= 0.5) needed by python3-opentelemetry-exporter-prometheus-0.39~b0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-zipkin:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-zipkin-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-zipkin-json:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-zipkin-json-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(requests) >= 2.7 with python3.11dist(requests) < 3) needed by python3-opentelemetry-exporter-zipkin-json-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-exporter-zipkin-proto-http:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-exporter-zipkin-proto-http-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(requests) >= 2.7 with python3.11dist(requests) < 3) needed by python3-opentelemetry-exporter-zipkin-proto-http-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(protobuf) >= 3.12 with python3.11dist(protobuf) < 4) needed by python3-opentelemetry-exporter-zipkin-proto-http-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-opentracing-shim:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-opentracing-shim-0.39~b0-2.fc39.noarch
  - nothing provides python3.11dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-opentracing-shim-0.39~b0-2.fc39.noarch
  - nothing provides python3.11dist(opentracing) >= 2 needed by python3-opentelemetry-opentracing-shim-0.39~b0-2.fc39.noarch
  
can't install python3-opentelemetry-test-utils:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-test-utils-0.39~b0-2.fc39.noarch
  - nothing provides (python3.11dist(asgiref) >= 3 with python3.11dist(asgiref) < 4) needed by python3-opentelemetry-test-utils-0.39~b0-2.fc39.noarch
  
can't install python3-opentelemetry-propagator-b3:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-propagator-b3-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(deprecated) >= 1.2.6 needed by python3-opentelemetry-propagator-b3-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-propagator-jaeger:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-propagator-jaeger-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-proto:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-proto-1.18.0-2.fc39.noarch
  - nothing provides (python3.11dist(protobuf) < 5~~ with python3.11dist(protobuf) >= 3.19) needed by python3-opentelemetry-proto-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-sdk:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-sdk-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(setuptools) >= 16 needed by python3-opentelemetry-sdk-1.18.0-2.fc39.noarch
  - nothing provides python3.11dist(typing-extensions) >= 3.7.4 needed by python3-opentelemetry-sdk-1.18.0-2.fc39.noarch
  
can't install python3-opentelemetry-semantic-conventions:
  - nothing provides python(abi) = 3.11 needed by python3-opentelemetry-semantic-conventions-0.39~b0-2.fc39.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-39-x86_64 --config-opts mirrored=False 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-common python3-opentelemetry-exporter-otlp-proto-grpc python3-opentelemetry-exporter-otlp-proto-http python3-opentelemetry-exporter-prometheus python3-opentelemetry-exporter-zipkin python3-opentelemetry-exporter-zipkin-json python3-opentelemetry-exporter-zipkin-proto-http python3-opentelemetry-opentracing-shim python3-opentelemetry-test-utils python3-opentelemetry-propagator-b3 python3-opentelemetry-propagator-jaeger python3-opentelemetry-proto python3-opentelemetry-sdk python3-opentelemetry-semantic-conventions


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 Ben Beasley 2023-07-06 03:21:42 UTC
$ fedpkg mockbuild --enablerepo=local
=================================== FAILURES ===================================
______________ TestLoggingHandler.test_log_record_user_attributes ______________

self = <tests.logs.test_handler.TestLoggingHandler testMethod=test_log_record_user_attributes>

    def test_log_record_user_attributes(self):
        """Attributes can be injected into logs by adding them to the LogRecord"""
        emitter_provider_mock = Mock(spec=LoggerProvider)
        emitter_mock = APIGetLogger(
            __name__, logger_provider=emitter_provider_mock
        )   
        logger = get_logger(logger_provider=emitter_provider_mock)
        # Assert emit gets called for warning message
        logger.warning("Warning message", extra={"http.status_code": 200})
        args, _ = emitter_mock.emit.call_args_list[0]
        log_record = args[0]

        self.assertIsNotNone(log_record)
>       self.assertEqual(log_record.attributes, {"http.status_code": 200})
E       AssertionError: {'taskName': None, 'http.status_code': 200} != {'http.status_code': 200}
E       - {'http.status_code': 200, 'taskName': None}
E       + {'http.status_code': 200}

opentelemetry-sdk/tests/logs/test_handler.py:93: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  tests.logs.test_handler:test_handler.py:88 Warning message

Comment 2 Fedora Update System 2023-07-06 04:02:32 UTC
FEDORA-2023-904260e8b9 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-904260e8b9

Comment 3 Fedora Update System 2023-07-06 04:06:09 UTC
FEDORA-2023-904260e8b9 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


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