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

Create workflow to build wheels for different OS/CPU architecture combinations #456

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

ljcornel
Copy link
Collaborator

@ljcornel ljcornel commented Jul 3, 2024

At the moment, installing the geti-sdk on macOS, or on any machine with arm64 architecture will require building datumaro from source. This requires Rust to be installed, which not all of our users may have. This PR is a first step to address this by building wheels for these OS'es and architectures, using the cibuildwheels library. It is still experimental, most likely the configuration needs to be tweaked for it to work.

Once building the wheels works, the next step would be to add a job that pulls the artifacts and publishes them to pypi.

@ljcornel ljcornel requested a review from igor-davidyuk July 3, 2024 12:44
@@ -64,7 +64,7 @@ def get_requirements(filename: str) -> List[str]:
"License :: OSI Approved :: Apache Software License",
],
packages=setuptools.find_packages(),
python_requires=">=3.9",
python_requires=">=3.9,<3.12",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure 3.12 works? Last time I tried there were no datumaro package for this version

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's 'less than 3.12', so it doesn't include 3.12

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right 😁

@ljcornel ljcornel merged commit 24f21d0 into main Jul 3, 2024
11 checks passed
@ljcornel ljcornel deleted the add-cibuildwheel-configuration branch July 3, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants