Skip to content

Rename top-level build folder to simplify wheel building #9117

Closed
@jathu

Description

@jathu

Based on the python docs, and the PyTorch wheel building workflow, building a wheel should just take the following steps:

# Installs deps referenced in pyproject.toml → build-system.requires
$ python3 -m pip install --upgrade build

# Builds the wheel
$ python3 -m build --wheel

Unfortunately, since we have a top-level folder called build, I think python is attempting to use that as a module — which is invalid. If we rename the folder from build, we should be able to simplify our CI setup to just those steps.

Although, the effort to rename the folder seems large and daunting. Is it worth the simplified workflow?

cc @larryliu0820 @lucylq

Metadata

Metadata

Assignees

Labels

actionableItems in the backlog waiting for an appropriate impl/fixmodule: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchmodule: ciIssues related to continuous integration

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions