Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproject.toml 适配 PEP 517 及 PEP 621 #1214

Open
tonywu6 opened this issue Mar 28, 2024 · 0 comments · May be fixed by #1217
Open

pyproject.toml 适配 PEP 517 及 PEP 621 #1214

tonywu6 opened this issue Mar 28, 2024 · 0 comments · May be fixed by #1217
Assignees
Labels
build Build system issues

Comments

@tonywu6
Copy link
Member

tonywu6 commented Mar 28, 2024

构建及打包目前使用 setup.py,存在一些问题

  • PyPA 明确表示直接运行 setup.py 的做法不再受支持
  • 对 可选依赖/features 的支持不友好,features 指的是这种用法:
    pip install "ray[data,train,tune,serve]"
  • 当安装者的系统没有可用的 wheel 时,安装工具会 fallback 到 sdist 安装,此时一般会因为环境依赖问题导致安装失败,而异常提示目前不友好

期望更新 setup.py pyproject.toml 以及相关的 CI 流程来改善这些情况

PEP 517 http://peps.python.org/pep-0517/

PEP 621 https://peps.python.org/pep-0621/

@tonywu6 tonywu6 added the build Build system issues label Mar 28, 2024
@tonywu6 tonywu6 self-assigned this Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system issues
Projects
None yet
1 participant