"dgl_sparse/vscode:/vscode.git/clone" did not exist on "0a65559276b7ae27df7b0a43dd2579a0e1ce9be4"
Unverified Commit 6dea5c96 authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

Revert "get the python version from env (#4729)" (#4863)

parent 6ffb6bd4
......@@ -235,12 +235,6 @@ ext_modules = [
),
]
def get_py_ver():
major, minor = sys.version_info[:2]
return f"cp{major}{minor}"
setup(
name="sgl-kernel",
version=_get_version(),
......@@ -251,5 +245,5 @@ setup(
"build_ext": BuildExtension.with_options(use_ninja=True),
"build_py": CustomBuildPy,
},
options={"bdist_wheel": {"py_limited_api": get_py_ver()}},
options={"bdist_wheel": {"py_limited_api": "cp39"}},
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment