egglog 11.0.0__tar.gz → 11.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of egglog might be problematic. Click here for more details.
- {egglog-11.0.0 → egglog-11.2.0}/.github/workflows/CI.yml +6 -6
- egglog-11.2.0/.github/workflows/update-changelog.yml +66 -0
- {egglog-11.0.0 → egglog-11.2.0}/.github/workflows/version.yml +15 -15
- {egglog-11.0.0 → egglog-11.2.0}/.gitignore +1 -0
- {egglog-11.0.0 → egglog-11.2.0}/.pre-commit-config.yaml +2 -2
- {egglog-11.0.0 → egglog-11.2.0}/Cargo.lock +306 -356
- {egglog-11.0.0 → egglog-11.2.0}/Cargo.toml +12 -11
- {egglog-11.0.0 → egglog-11.2.0}/PKG-INFO +1 -1
- {egglog-11.0.0 → egglog-11.2.0}/docs/changelog.md +15 -1
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/contributing.md +9 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/egglog-translation.md +53 -11
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/python-integration.md +4 -3
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/usage.md +8 -0
- {egglog-11.0.0 → egglog-11.2.0}/pyproject.toml +12 -7
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/bindings.pyi +96 -21
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/builtins.py +22 -22
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/declarations.py +9 -1
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/egraph.py +112 -36
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/egraph_state.py +49 -6
- egglog-11.2.0/python/egglog/examples/jointree.py +67 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/array_api.py +1 -1
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/program_gen.py +2 -2
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/pretty.py +13 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/runtime.py +30 -3
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/version_compat.py +1 -1
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_bindings.py +7 -6
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_high_level.py +136 -8
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_program_gen.py +1 -1
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_py_object_sort.py +8 -6
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_runtime.py +2 -2
- egglog-11.2.0/rust-toolchain.toml +2 -0
- {egglog-11.0.0 → egglog-11.2.0}/src/conversions.rs +104 -30
- {egglog-11.0.0 → egglog-11.2.0}/src/egraph.rs +17 -32
- {egglog-11.0.0 → egglog-11.2.0}/src/lib.rs +8 -2
- {egglog-11.0.0 → egglog-11.2.0}/src/py_object_sort.rs +33 -69
- {egglog-11.0.0 → egglog-11.2.0}/src/serialize.rs +4 -0
- {egglog-11.0.0 → egglog-11.2.0}/src/utils.rs +2 -2
- {egglog-11.0.0 → egglog-11.2.0}/uv.lock +805 -712
- egglog-11.0.0/.github/workflows/update-changelog.yml +0 -52
- egglog-11.0.0/rust-toolchain.toml +0 -2
- {egglog-11.0.0 → egglog-11.2.0}/.cargo/config.toml +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/.github/dependabot.yml +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/.python-version +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/.readthedocs.yaml +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/CITATION.cff +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/LICENSE +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/Makefile +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/README.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/conftest.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/.gitignore +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/_templates/comments.html +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/conf.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/environment.yml +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/.gitignore +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_07_presentation.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_11_09_portland_state.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_11_17_pytensor.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_11_pydata_lightning_talk.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_12_02_congruence_closure-1.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_12_02_congruence_closure-2.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2023_12_02_congruence_closure.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2024_03_17_community_talk.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/2024_03_17_map.svg +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/big_graph.svg +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/define_and_define.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/ecosystem-graph.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/egg.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/indexing_pushdown.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/moa.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/optional_values.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation/pldi_2023_presentation.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/explanation.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/how-to-guides.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/index.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/bindings.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference/high-level.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/reference.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/tutorials/getting-started.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/tutorials/screenshot-1.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/tutorials/screenshot-2.png +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/tutorials/sklearn.ipynb +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/docs/tutorials.md +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/modify_changelog.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/__init__.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/config.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/conversion.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/deconstruct.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/README.rst +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/__init__.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/bignum.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/bool.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/eqsat_basic.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/fib.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/higher_order_functions.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/lambda_.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/matrix.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/multiset.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/ndarrays.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/resolution.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/examples/schedule_demo.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/__init__.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/array_api_jit.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/array_api_loopnest.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/array_api_numba.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/array_api_program_gen.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/exp/siu_examples.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/ipython_magic.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/py.typed +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/thunk.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/type_constraint_solver.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/visualizer.css +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/visualizer.js +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/egglog/visualizer_widget.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/TestLoopNest.test_index_codegen[code].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/TestLoopNest.test_index_codegen[expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[add][code].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[add][expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[add][initial_expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[lda][code].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[lda][expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[lda][initial_expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[tuple][code].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[tuple][expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_jit[tuple][initial_expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_program_compile[tuple][code].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_array_api/test_program_compile[tuple][expr].py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_bindings/TestEGraph.test_parse_program.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_program_gen/test_to_string.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/__snapshots__/test_program_gen/test_to_string_function_three.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/conftest.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_array_api.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_convert.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_deconstruct.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_modify_changelog.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_no_import_star.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_pretty.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_type_constraint_solver.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_typing.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/python/tests/test_unstable_fn.py +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/src/error.rs +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/src/termdag.rs +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/stubtest_allow +0 -0
- {egglog-11.0.0 → egglog-11.2.0}/test-data/unit/check-high-level.test +0 -0
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
- "3.11"
|
|
26
26
|
- "3.10"
|
|
27
27
|
steps:
|
|
28
|
-
- uses: actions/checkout@
|
|
28
|
+
- uses: actions/checkout@v5
|
|
29
29
|
- uses: astral-sh/setup-uv@v6
|
|
30
30
|
with:
|
|
31
31
|
enable-cache: true
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
mypy:
|
|
39
39
|
runs-on: ubuntu-latest
|
|
40
40
|
steps:
|
|
41
|
-
- uses: actions/checkout@
|
|
41
|
+
- uses: actions/checkout@v5
|
|
42
42
|
- uses: astral-sh/setup-uv@v6
|
|
43
43
|
with:
|
|
44
44
|
enable-cache: true
|
|
@@ -53,9 +53,9 @@ jobs:
|
|
|
53
53
|
strategy:
|
|
54
54
|
matrix:
|
|
55
55
|
# Run on codspeed for walltime and ubuntu for instrumenentation
|
|
56
|
-
runner: [ codspeed-macro,
|
|
56
|
+
runner: [ ubuntu-latest ] # codspeed-macro, disable for now till we set up custom runner for more minutes
|
|
57
57
|
steps:
|
|
58
|
-
- uses: actions/checkout@
|
|
58
|
+
- uses: actions/checkout@v5
|
|
59
59
|
- name: Set up Python
|
|
60
60
|
uses: actions/setup-python@v5
|
|
61
61
|
with:
|
|
@@ -68,7 +68,7 @@ jobs:
|
|
|
68
68
|
- run: |
|
|
69
69
|
export UV_PROJECT_ENVIRONMENT="${pythonLocation}"
|
|
70
70
|
uv sync --extra test --locked
|
|
71
|
-
- uses: CodSpeedHQ/action@v3.8.
|
|
71
|
+
- uses: CodSpeedHQ/action@v3.8.1
|
|
72
72
|
with:
|
|
73
73
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
|
74
74
|
# allow updating snapshots due to indeterministic benchmarks
|
|
@@ -77,7 +77,7 @@ jobs:
|
|
|
77
77
|
docs:
|
|
78
78
|
runs-on: ubuntu-latest
|
|
79
79
|
steps:
|
|
80
|
-
- uses: actions/checkout@
|
|
80
|
+
- uses: actions/checkout@v5
|
|
81
81
|
- uses: astral-sh/setup-uv@v6
|
|
82
82
|
with:
|
|
83
83
|
enable-cache: true
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
name: Update Changelog
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
update-changelog:
|
|
9
|
+
# Only run if this is a comment on a PR containing "@actions-user changelog"
|
|
10
|
+
# and not a comment made by GitHub Action to avoid infinite loops
|
|
11
|
+
if: github.event.issue.pull_request && contains(github.event.comment.body, '@actions-user changelog') && github.actor != 'github-actions[bot]'
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
pull-requests: write
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Get PR details
|
|
19
|
+
id: pr-details
|
|
20
|
+
uses: actions/github-script@v7
|
|
21
|
+
with:
|
|
22
|
+
script: |
|
|
23
|
+
const { data: pullRequest } = await github.rest.pulls.get({
|
|
24
|
+
owner: context.repo.owner,
|
|
25
|
+
repo: context.repo.repo,
|
|
26
|
+
pull_number: context.issue.number
|
|
27
|
+
});
|
|
28
|
+
core.setOutput('number', pullRequest.number);
|
|
29
|
+
core.setOutput('title', pullRequest.title);
|
|
30
|
+
core.setOutput('head_ref', pullRequest.head.ref);
|
|
31
|
+
|
|
32
|
+
- name: Checkout repository
|
|
33
|
+
uses: actions/checkout@v5
|
|
34
|
+
with:
|
|
35
|
+
# Checkout the PR head ref
|
|
36
|
+
ref: ${{ steps.pr-details.outputs.head_ref }}
|
|
37
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
38
|
+
|
|
39
|
+
- name: Set up Python
|
|
40
|
+
uses: actions/setup-python@v5
|
|
41
|
+
with:
|
|
42
|
+
python-version: '3.12'
|
|
43
|
+
|
|
44
|
+
- name: Update changelog
|
|
45
|
+
run: |
|
|
46
|
+
python modify_changelog.py update_changelog \
|
|
47
|
+
"${{ steps.pr-details.outputs.number }}" \
|
|
48
|
+
'${{ steps.pr-details.outputs.title }}'
|
|
49
|
+
|
|
50
|
+
- name: Check for changes
|
|
51
|
+
id: changes
|
|
52
|
+
run: |
|
|
53
|
+
if git diff --quiet docs/changelog.md; then
|
|
54
|
+
echo "changed=false" >> $GITHUB_OUTPUT
|
|
55
|
+
else
|
|
56
|
+
echo "changed=true" >> $GITHUB_OUTPUT
|
|
57
|
+
fi
|
|
58
|
+
|
|
59
|
+
- name: Commit and push changes
|
|
60
|
+
if: steps.changes.outputs.changed == 'true'
|
|
61
|
+
run: |
|
|
62
|
+
git config --local user.email "action@github.com"
|
|
63
|
+
git config --local user.name "GitHub Action"
|
|
64
|
+
git add docs/changelog.md
|
|
65
|
+
git commit -m "Add changelog entry for PR #${{ steps.pr-details.outputs.number }}"
|
|
66
|
+
git push
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
outputs:
|
|
36
36
|
version: ${{ steps.bump.outputs.version }}
|
|
37
37
|
steps:
|
|
38
|
-
- uses: actions/checkout@
|
|
38
|
+
- uses: actions/checkout@v5
|
|
39
39
|
- run: |
|
|
40
40
|
git config user.name github-actions[bot]
|
|
41
41
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
|
@@ -59,13 +59,13 @@ jobs:
|
|
|
59
59
|
needs: [bump]
|
|
60
60
|
if: ${{ always() }}
|
|
61
61
|
steps:
|
|
62
|
-
- uses: actions/checkout@
|
|
62
|
+
- uses: actions/checkout@v5
|
|
63
63
|
if: ${{ needs.bump.result == 'success' }}
|
|
64
64
|
with:
|
|
65
65
|
ref: version-${{ needs.bump.outputs.version }}
|
|
66
|
-
- uses: actions/checkout@
|
|
66
|
+
- uses: actions/checkout@v5
|
|
67
67
|
if: ${{ needs.bump.result == 'skipped' }}
|
|
68
|
-
- uses: PyO3/maturin-action@v1.49.
|
|
68
|
+
- uses: PyO3/maturin-action@v1.49.4
|
|
69
69
|
with:
|
|
70
70
|
target: ${{ matrix.target }}
|
|
71
71
|
manylinux: auto
|
|
@@ -83,15 +83,15 @@ jobs:
|
|
|
83
83
|
needs: [bump]
|
|
84
84
|
if: ${{ always() }}
|
|
85
85
|
steps:
|
|
86
|
-
- uses: actions/checkout@
|
|
86
|
+
- uses: actions/checkout@v5
|
|
87
87
|
if: ${{ needs.bump.result == 'success' }}
|
|
88
88
|
with:
|
|
89
89
|
ref: version-${{ needs.bump.outputs.version }}
|
|
90
|
-
- uses: actions/checkout@
|
|
90
|
+
- uses: actions/checkout@v5
|
|
91
91
|
if: ${{ needs.bump.result == 'skipped' }}
|
|
92
92
|
- name: Setup QEMU
|
|
93
93
|
uses: docker/setup-qemu-action@v3
|
|
94
|
-
- uses: PyO3/maturin-action@v1.49.
|
|
94
|
+
- uses: PyO3/maturin-action@v1.49.4
|
|
95
95
|
with:
|
|
96
96
|
manylinux: auto
|
|
97
97
|
command: build
|
|
@@ -108,13 +108,13 @@ jobs:
|
|
|
108
108
|
needs: [bump]
|
|
109
109
|
if: ${{ always() }}
|
|
110
110
|
steps:
|
|
111
|
-
- uses: actions/checkout@
|
|
111
|
+
- uses: actions/checkout@v5
|
|
112
112
|
if: ${{ needs.bump.result == 'success' }}
|
|
113
113
|
with:
|
|
114
114
|
ref: version-${{ needs.bump.outputs.version }}
|
|
115
|
-
- uses: actions/checkout@
|
|
115
|
+
- uses: actions/checkout@v5
|
|
116
116
|
if: ${{ needs.bump.result == 'skipped' }}
|
|
117
|
-
- uses: PyO3/maturin-action@v1.49.
|
|
117
|
+
- uses: PyO3/maturin-action@v1.49.4
|
|
118
118
|
with:
|
|
119
119
|
command: build
|
|
120
120
|
args: --release -o dist --find-interpreter
|
|
@@ -130,13 +130,13 @@ jobs:
|
|
|
130
130
|
needs: [bump]
|
|
131
131
|
if: ${{ always() }}
|
|
132
132
|
steps:
|
|
133
|
-
- uses: actions/checkout@
|
|
133
|
+
- uses: actions/checkout@v5
|
|
134
134
|
if: ${{ needs.bump.result == 'success' }}
|
|
135
135
|
with:
|
|
136
136
|
ref: version-${{ needs.bump.outputs.version }}
|
|
137
|
-
- uses: actions/checkout@
|
|
137
|
+
- uses: actions/checkout@v5
|
|
138
138
|
if: ${{ needs.bump.result == 'skipped' }}
|
|
139
|
-
- uses: PyO3/maturin-action@v1.49.
|
|
139
|
+
- uses: PyO3/maturin-action@v1.49.4
|
|
140
140
|
with:
|
|
141
141
|
command: build
|
|
142
142
|
target: universal2-apple-darwin
|
|
@@ -158,7 +158,7 @@ jobs:
|
|
|
158
158
|
pattern: wheels-*
|
|
159
159
|
merge-multiple: true
|
|
160
160
|
- name: Publish to PyPI
|
|
161
|
-
uses: PyO3/maturin-action@v1.49.
|
|
161
|
+
uses: PyO3/maturin-action@v1.49.4
|
|
162
162
|
env:
|
|
163
163
|
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
164
164
|
with:
|
|
@@ -169,7 +169,7 @@ jobs:
|
|
|
169
169
|
permissions: write-all
|
|
170
170
|
needs: [release, bump]
|
|
171
171
|
steps:
|
|
172
|
-
- uses: actions/checkout@
|
|
172
|
+
- uses: actions/checkout@v5
|
|
173
173
|
with:
|
|
174
174
|
ref: version-${{ needs.bump.outputs.version }}
|
|
175
175
|
- run: |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
exclude: ^python/tests/__snapshots__/
|
|
2
2
|
repos:
|
|
3
3
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
4
|
-
rev: v0.12.
|
|
4
|
+
rev: v0.12.11
|
|
5
5
|
hooks:
|
|
6
6
|
- id: ruff-check
|
|
7
7
|
args: [--fix]
|
|
8
8
|
- id: ruff-format
|
|
9
9
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
10
|
-
rev: 0.8.
|
|
10
|
+
rev: 0.8.14
|
|
11
11
|
hooks:
|
|
12
12
|
- id: uv-lock
|