Skip to content

CI/CD: Add support for macos in Python binding#264

Merged
haochengxia merged 4 commits intodevelopfrom
hxia/workflow
Jul 14, 2025
Merged

CI/CD: Add support for macos in Python binding#264
haochengxia merged 4 commits intodevelopfrom
hxia/workflow

Conversation

@haochengxia
Copy link
Copy Markdown
Collaborator

@haochengxia haochengxia commented Jul 14, 2025

  • Add Python 3.13
  • Create a new issue for installation via uv add

@1a1a11a
Copy link
Copy Markdown
Owner

1a1a11a commented Jul 14, 2025

LGTM

@haochengxia
Copy link
Copy Markdown
Collaborator Author

haochengxia commented Jul 14, 2025

We provide prebuilt binary wheels as well as instructions for building from source. However, tools like uv often attempt to build packages automatically, which can lead to errors. This is because our Python package is part of a larger monorepo, and the uploaded source distribution (via pyproject.toml) includes only the Python subdirectory, not the full project structure required for a successful build.

We have not yet found a robust solution to this issue. As a temporary workaround, we've added a note in the troubleshooting section as follows.

Installing with uv:
Because uv attempts to build from an incomplete source and will fail, please force installation of the binary wheel using the following command: via uv pip install libcachesim --only-binary=:all:.

@haochengxia
Copy link
Copy Markdown
Collaborator Author

Hand the issue to #265

@haochengxia haochengxia merged commit 1bda9f7 into develop Jul 14, 2025
11 checks passed
@1a1a11a
Copy link
Copy Markdown
Owner

1a1a11a commented Jul 14, 2025

We provide prebuilt binary wheels as well as instructions for building from source. However, tools like uv often attempt to build packages automatically, which can lead to errors. This is because our Python package is part of a larger monorepo, and the uploaded source distribution (via pyproject.toml) includes only the Python subdirectory, not the full project structure required for a successful build.

We have not yet found a robust solution to this issue. As a temporary workaround, we've added a note in the troubleshooting section as follows.

Installing with uv: Because uv attempts to build from an incomplete source and will fail, please force installation of the binary wheel using the following command: via uv pip install libcachesim --only-binary=:all:.

What errors do you get? uv pip install ilbcachesim works for me on both ubuntu and macos.

@haochengxia
Copy link
Copy Markdown
Collaborator Author

When I test, uv add libcachesim did not work, the error message said the main project did not exist.

@haochengxia haochengxia deleted the hxia/workflow branch July 16, 2025 00:40
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