[SERVER-83206] Fix otel python deps on s390x, ppc, and macos Created: 14/Nov/23  Updated: 26/Nov/23  Resolved: 15/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2

Type: Task Priority: Major - P3
Reporter: Trevor Guidry Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-82807 Remove grpc-otel python depdency. Closed
Related
is related to SERVER-82807 Remove grpc-otel python depdency. Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.2
Participants:
Linked BF Score: 68

 Description   

For some reason this was not being downloaded on s390x and ppc even though it was in the poetry.lock file. Maybe alex.neben@mongodb.com knows more about why this could happen.

It was not declared as a direct dependency in pyproject.toml and declaring it seems to have fixed the issue even though the lock file did not change at all apart from the hash.



 Comments   
Comment by Githook User [ 15/Nov/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-83206 Fix otel python deps on s390x, ppc, and macos

(cherry picked from commit 97fd77b7c1cd88bc7423c051427db3c3b597ea9c)
Branch: v7.2
https://github.com/mongodb/mongo/commit/197f3769aab961b4d8d677a63e7266080e79a2b7

Comment by Githook User [ 15/Nov/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-83206 Fix otel python deps on s390x, ppc, and macos
Branch: master
https://github.com/mongodb/mongo/commit/97fd77b7c1cd88bc7423c051427db3c3b597ea9c

Comment by Alex Neben [ 14/Nov/23 ]

This is not being downloaded before of this line in pyproject.toml

 
 

# TODO: EVG-20576
# Once the above is merged we can get rid of our dependency on grpc
# TODO: SERVER-80336 grpc has problems on macosx, ppc, and s390x.
# For now lets just disable otel metrics on these variants
opentelemetry-exporter-otlp-proto-grpc = [
    { version = "*", markers = "platform_machine != 'darwin' and platform_machine != 's390x' and platform_machine != 'ppc64le'" },
]

 
 

Generated at Thu Feb 08 06:51:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.