-
Notifications
You must be signed in to change notification settings - Fork 72
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
installation: Switch to UV for dependency management #3294
Open
EdmundGoodman
wants to merge
41
commits into
xdslproject:main
Choose a base branch
from
EdmundGoodman:uv-packaging
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
Changes from 20 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
24707fb
install: Switch to using UV for dependency management
EdmundGoodman a4f1043
ci: Switch ci-core workflow to using UV
EdmundGoodman 1484229
ci: Debug ci-core workflow
EdmundGoodman 0c38cdb
ci: Fix uv python version matrix
EdmundGoodman 5fccc9d
ci: Re-enable pytest on ci-core workflow
EdmundGoodman 13d29aa
ci: Adopt uv in ci-mlir workflow
EdmundGoodman 0c0dd79
ci: Fix installation paths in ci-mlir workflow
EdmundGoodman 0729097
ci: Re-enable ci-notebooks workflow
EdmundGoodman f62890c
ci: Add uv run prefix to fix python venvs
EdmundGoodman 484e030
ci: Re-enable ci-pyright-fails workflow
EdmundGoodman 840ed43
ci: Activate virtual environment for uv
EdmundGoodman e4e4e73
ci: Fix virtual environment path
EdmundGoodman 60b6204
ci: Revert to uv run for stubgen
EdmundGoodman 842a69b
ci: Further fix virtual environment path
EdmundGoodman 07773c4
ci: Re-enable code-formatting workflow
EdmundGoodman b6cf9dd
ci: Enable running code formatting on non-main branches
EdmundGoodman e435414
ci: Re-enable jupyterlite workflow
EdmundGoodman d3be64f
ci: Re-enable remaining workflows
EdmundGoodman c57bc59
ci: Revert action invocation cases
EdmundGoodman 1d5efe3
ci: Revert python version changes
EdmundGoodman 22a9f4d
misc: Switch to inline make phonies and uv run
EdmundGoodman 4e92d77
misc: Constrain venv creation based on uv implementation
EdmundGoodman 23dfdd3
misc: Add phony target to check if uv is installed
EdmundGoodman a6694ef
Merge branch 'uv-packaging' of github.com:EdmundGoodman/xdsl into uv-…
EdmundGoodman bc747ee
misc: Make uv-installed phony fail when not installed
EdmundGoodman 18a50f8
docs: Update readme to reflect uv usage
EdmundGoodman 0218bba
tests: Add uv run to lit.cfg file
EdmundGoodman 507d2df
Revert "docs: Update readme to reflect uv usage"
EdmundGoodman 5cdd709
Revert "Revert "docs: Update readme to reflect uv usage""
EdmundGoodman 14a407e
Revert "tests: Add uv run to lit.cfg file"
EdmundGoodman 111873d
install: Remove extraneous extra imports
EdmundGoodman ef480c9
Add uv-installed dependency to all targets using uv run
EdmundGoodman 6b9b5a2
ci: Add update-bot to replace Dependabot behaviour for uv
EdmundGoodman d0e6877
ci: Add assignees to version bump PR and disable dependabot
EdmundGoodman b803524
install: Add jax and riscv as default extras, as the are required for…
EdmundGoodman b12a76a
ci: Add superlopuh to update bot pr list
EdmundGoodman 242d587
ci: Remove dependabot config file
EdmundGoodman e3dd09d
Update flake for uv
alexarice ea40cb4
Revert "ci: Remove dependabot config file"
EdmundGoodman 37d2919
docs: Update docs to add describe old mechanism of using pip
EdmundGoodman 9b7493a
Fix pip install instructions in README
EdmundGoodman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,18 +21,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' # caching pip dependencies | ||
cache-dependency-path: | | ||
setup.py | ||
requirements.txt | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install --upgrade pip | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
run: uv python install ${{ matrix.python-version }} | ||
|
||
- name: Run code formatting checks with pre-commit | ||
uses: pre-commit/[email protected] |
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
👍