-
-
Notifications
You must be signed in to change notification settings - Fork 1
⬆️ Bump Catalyst Version #45
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
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
a996f85
📌 bump catalyst version
flowerthrower a23b9a3
📌 update llvm commit hash
flowerthrower 63f05f9
⬆️ bump python version
flowerthrower 4284efd
⏪ revert python 11 drop
flowerthrower d3746ea
✅ update tests
flowerthrower ea8787c
Merge branch 'main' into new-catalyst-version
flowerthrower 78c11b8
🐛 correct return type in memref cast operation
flowerthrower 2000187
⬇️ use python 3.13
flowerthrower e1fd8ca
🎨 imporve mref handeling
flowerthrower 0df1afc
✅ imporve tests
flowerthrower 95773e9
🎨 update readme
flowerthrower 82f0a60
🎨 pre-commit fixes
pre-commit-ci[bot] d3ec979
🎨 improve type conversion
flowerthrower 6f2e760
🎨 remove windows from readme
flowerthrower fa19318
🎨 calm down linter
flowerthrower af82cbd
📝 update README
flowerthrower 13c67df
✏️ fix link
flowerthrower 5bc449d
🎨 guard against type conversion order
flowerthrower 989ea9a
Update README.md
flowerthrower c878904
🎨 improve cmake config
flowerthrower 69ff0bb
🎨 remove llvm_dir from readme
flowerthrower 671af8c
🎨 remove redundant code
flowerthrower 4fd820a
🎨 remove unnecessary directory link
flowerthrower 7ab193d
Merge branch 'main' into new-catalyst-version
flowerthrower 27f9418
🎨 add rtti flag
flowerthrower e342dd1
🎨 move rtti after findpackage
flowerthrower 37e32b1
🎨 fix lit preparation
flowerthrower 58b6a67
🎨 fix c lint
flowerthrower e07db73
🚧 fix lint ci
flowerthrower c526d80
🎨 prefere python venv
flowerthrower 2a2e4f3
🎨 fix cmake pyhton find venv
flowerthrower 2cdd6b0
✨ reenable Python 3.14 support
burgholzer d58cdf8
🔒 update lockfile
burgholzer 9469999
⬆️ run prek autoupdate
burgholzer db727ac
⬆️ upgrade `ty` to `0.0.13`
burgholzer 23a9644
🩹 also enable 3.14 for cibuildwheel
burgholzer c835da2
🎨 simplify MLIR installation commands
burgholzer 4cd5ddf
🔧 skip freethreading Python variant
burgholzer aa085a9
⏪ revert to Python 3.13 for docs build
burgholzer 9e5f0c7
🎨 update readme
flowerthrower 3a67696
🔥 remove Windows leftover
burgholzer c282a44
📝 prepare changelog for `1.0.0` release
burgholzer dc6bdbb
🔧 bump to beta
burgholzer 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 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
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
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| # Copyright (c) 2023 - 2025 Chair for Design Automation, TUM | ||
| # Copyright (c) 2025 Munich Quantum Software Company GmbH | ||
| # All rights reserved. | ||
| # | ||
| # SPDX-License-Identifier: MIT | ||
| # | ||
| # Licensed under the MIT License | ||
|
|
||
| name: 🐍 • Tests | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| runs-on: | ||
| description: "The platform to run the tests on" | ||
| required: true | ||
| type: string | ||
| setup-z3: | ||
| description: "Whether to set up Z3" | ||
| default: false | ||
| type: boolean | ||
| z3-version: | ||
| description: "The version of Z3 to set up" | ||
| default: "4.13.4" | ||
| type: string | ||
| setup-mlir: | ||
| description: "Whether to set up MLIR" | ||
| default: false | ||
| type: boolean | ||
| llvm-version: | ||
| description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" | ||
| default: "21.1.8" | ||
| type: string | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-python-tests-${{ inputs.runs-on }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| python-tests: | ||
| name: 🐍 ${{ inputs.runs-on }} | ||
| runs-on: ${{ inputs.runs-on }} | ||
| env: | ||
| FORCE_COLOR: 3 | ||
| GITHUB_TOKEN: ${{ github.token }} | ||
| steps: | ||
| # free up space on the runners | ||
| # the nox environments can get quite large, especially if torch is installed | ||
| - name: Free up space (Linux) | ||
| if: runner.os == 'Linux' | ||
| run: | | ||
| sudo rm -rf /opt/ghc || true | ||
| sudo rm -rf /usr/local/lib/android/sdk || true | ||
| sudo rm -rf /usr/share/dotnet || true | ||
| sudo rm -rf /usr/share/swift || true | ||
| - name: Free up space (macOS) | ||
| if: runner.os == 'macOS' | ||
| run: | | ||
| sudo rm -rf /usr/local/share/android-sdk || true | ||
| sudo rm -rf /usr/local/share/dotnet || true | ||
| sudo rm -rf /usr/share/swift || true | ||
|
|
||
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||
| with: | ||
| submodules: recursive | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - name: Set up Z3 | ||
| if: ${{ inputs.setup-z3 }} | ||
| uses: cda-tum/setup-z3@8156b32632230f11cf9c5a50becb33d73e2fb4e5 # v1.7.1 | ||
| with: | ||
| version: ${{ inputs.z3-version }} | ||
|
|
||
| - name: Set up MLIR | ||
| if: ${{ inputs.setup-mlir }} | ||
| uses: munich-quantum-software/setup-mlir@97da765dfa9dc8e055611ca934fe51bcade8140c # v1.1.0 | ||
| with: | ||
| llvm-version: ${{ inputs.llvm-version }} | ||
|
|
||
| - name: Set up mold as linker (Linux only) | ||
| uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1 | ||
|
|
||
| - name: Install the latest version of uv | ||
| uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0 | ||
| with: | ||
| enable-cache: true | ||
| save-cache: ${{ github.ref == 'refs/heads/main' }} | ||
|
|
||
| # set up sccache for faster builds | ||
| - name: Install sccache | ||
| run: uv tool install sccache | ||
|
|
||
| # run the nox minimums session (assumes a nox session named "minimums" exists) with coverage | ||
| - name: 🐍 Test with minimal versions | ||
| env: | ||
| RUNS_ON: ${{ inputs.runs-on }} | ||
| run: uvx nox -s minimums --verbose -- --cov --cov-report=xml:coverage-$RUNS_ON.xml --cov-append | ||
|
|
||
| # run the nox tests session (assumes a nox session named "tests" exists) with coverage | ||
| - name: 🐍 Test | ||
| env: | ||
| RUNS_ON: ${{ inputs.runs-on }} | ||
| run: uvx nox -s tests --verbose -- --cov --cov-report=xml:coverage-$RUNS_ON.xml --cov-append | ||
|
|
||
| # upload the report as an artifact to GitHub so that it can later be uploaded to Codecov | ||
| - name: Upload 🐍 coverage report for ${{ inputs.runs-on }} | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | ||
| with: | ||
| name: coverage-${{ inputs.runs-on }} | ||
| path: coverage-* | ||
|
|
||
| - name: Show sccache stats | ||
| run: sccache --show-stats | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 3.13 | ||
| 3.14 |
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.