Skip to content

Commit 18a5828

Browse files
Muskaan436Muskan agarwal
andauthored
removed universal bdist_wheel option (#6197)
Remove the obsolete universal bdist_wheel option from setup.py and update the wheel filename in scripts/build_aws_lambda_layer.py from py2.py3-none-any.whl to py3-none-any.whl. The universal flag was used to build wheels compatible with both Python 2 and Python 3. Since the SDK no longer supports Python 2, this option is unnecessary. Issues resolves: #6121 Co-authored-by: Muskan agarwal <muskan.agarwal@easyecom.io>
1 parent b99f017 commit 18a5828

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/build_aws_lambda_layer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def install_python_packages(self) -> None:
4949

5050
sentry_python_sdk = os.path.join(
5151
DIST_PATH,
52-
f"sentry_sdk-{SDK_VERSION}-py2.py3-none-any.whl", # this is generated by "make dist" that is called by "make aws-lambda-layer"
52+
f"sentry_sdk-{SDK_VERSION}-py3-none-any.whl", # this is generated by "make dist" that is called by "make aws-lambda-layer"
5353
)
5454
subprocess.run(
5555
[

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,4 @@ def get_file_text(file_name):
113113
"Programming Language :: Python :: 3.14",
114114
"Topic :: Software Development :: Libraries :: Python Modules",
115115
],
116-
options={"bdist_wheel": {"universal": "1"}},
117116
)

0 commit comments

Comments
 (0)