-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Specify the build-system in pyproject.toml #5531
Conversation
Signed-off-by: Justin Chu <justinchu@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option: adding setuptools>=61.0.0
directly in https://github.com/onnx/onnx/blob/main/requirements.txt? but I also feel adding it in pyproject.toml seems more proper.
It doesn’t need to be in requirements because it’s a build time dependency not a runtime one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI for uploading onnx-weekly seems failed because of this PR: https://github.com/onnx/onnx/actions/runs/5993960831/job/16254965073.
Hmm. Looks like more things need to be fixed. I will revert |
This reverts commit b8482d7.
Reverts #5531 because the macos release pipeline is broken due to the change.
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of #5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes #4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. ### Motivation and Context Fixes onnx#4878 Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Reverts onnx#5531 because the macos release pipeline is broken due to the change. Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of onnx#5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes onnx#4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. ### Motivation and Context Fixes onnx#4878 Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Reverts onnx#5531 because the macos release pipeline is broken due to the change. Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of onnx#5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes onnx#4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Reverts onnx#5531 because the macos release pipeline is broken due to the change. Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of onnx#5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes onnx#4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. ### Motivation and Context Fixes onnx#4878 Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Reverts onnx#5531 because the macos release pipeline is broken due to the change. Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of onnx#5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes onnx#4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Reverts onnx#5531 because the macos release pipeline is broken due to the change. Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
### Description Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install. Second attempt of onnx#5531 by removing `--no-use-pep517` in the test pipeline ### Motivation and Context Fixes onnx#4878 --------- Signed-off-by: Justin Chu <justinchu@microsoft.com> Signed-off-by: Corwin Joy <corwinjoy@gmail.com>
Description
Specify setuptools in the build-system section in pyproject.toml. So that setuptools gets installed when it is not in the environment when doing local install.
Motivation and Context
Fixes #4878