-
Notifications
You must be signed in to change notification settings - Fork 72
Enable pure pip/uv installations
#683
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
Open
niksirbi
wants to merge
8
commits into
main
Choose a base branch
from
add-tables-dependency
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+175
−81
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #683 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 34 34
Lines 1997 1997
=========================================
Hits 1997 1997 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8173f32 to
e397714
Compare
7 tasks
ef1ccd8 to
7f3c0b7
Compare
pip/uv installations
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description
What is this PR
Why is this PR needed?
Since
tables>=3.10, PyTables has published wheels for Apple Silicon (arm64) Macs — see release notes. Previously, the lack of these wheels required us to installpytablesfrom conda-forge, see #125.Now that the necessary wheels are available directly on PyPI, we can simplify installation and CI:
piporuvWhat does this PR do?
tables>=3.10.1topyproject.tomltox-condafrom thetoxconfig inpyproject.tomldocs/requirements.txt(no separatetablesrequirement needed now that it’s a runtime dependency)uvas an option (alongside conda and pip)uvas an alternative to the existing workflow (see Note below)Note
For now I recommend setting up a development environment using:
uv pip install -e ".[dev]"rather than:
While
uv syncenforces lockfile-based reproducibility, it currently struggles with platform-specific Qt backend dependencies (e.g.PyQt5), which can cause installation failures on some systems:uv add pyqt5error astral-sh/uv#7005PyQt5produces non-portable locks astral-sh/uv#9907Using
uv pipinstalls only what’s needed for the local platform, keeping contributors unblocked while retaining the familiar editable-install workflow. We may revisituv synconce our GUI dependency setup is more consistently cross-platform (e.g. if/when we migrate fromPyQt5toPySide6).These changes also pave the way toward switching our CI to
uv, but that will be pursued separately as it may require updates to our GitHub Actions.References
Closes #524.
Related to #125
How has this PR been tested?
toxlocally on macOS Apple Silicon passesuv run --python 3.13 --isolated --with-editable '.[dev]' pytestpasses (after a one-offuv cache prune)Is this a breaking change?
No, in the sense that conda-forge installation should still work.
Does this PR require an update to the documentation?
The installation and contributing guides have been updated.
Checklist: