Skip to content

Commit

Permalink
Update/pyo3 (#1847)
Browse files Browse the repository at this point in the history
* update to new pyo3 compiles

* disk graph also compiles

* tidy

* clean up warnings

* point kdam at PR for now

* rebase fixes

* tidy

* fix test comment

* update latest python version to 3.13

* update pyarrow requirement and drop python 3.8

* fix for numpy >= 2.0

* fix arrow version mismatch

* deactivate storage

* downgrade sql_parser

* fix cypher

* update kdam and fix some deprecation warnings

* add back the default features
  • Loading branch information
ljeub-pometry authored Nov 7, 2024
1 parent 1357c29 commit 2e9e503
Show file tree
Hide file tree
Showing 68 changed files with 1,962 additions and 1,440 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/_release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
Expand All @@ -45,18 +45,18 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
working-directory: ./python
command: build
target: ${{ matrix.target }}
args: --release --out dist -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12
args: --release --out dist -i python3.9 -i python3.10 -i python3.11 -i python3.12 -i python3.13
manylinux: 2_28
before-script-linux: |
if [[ -f /etc/os-release ]]; then
Expand Down Expand Up @@ -137,26 +137,26 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
ref: ${{ inputs.base }}
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
working-directory: ./python
command: build
target: ${{ matrix.target }}
args: --release --out dist -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12
args: --release --out dist -i python3.9 -i python3.10 -i python3.11 -i python3.12 -i python3.13
- name: Upload wheels to gh artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -177,7 +177,7 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
Expand All @@ -195,18 +195,18 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
working-directory: ./python
command: build
target: ${{ matrix.target }}
args: --release --out dist -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12
args: --release --out dist -i python3.9 -i python3.10 -i python3.11 -i python3.12 -i python3.13
- name: Upload wheels to gh artifact
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_python_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- id: set-matrix
run: |
echo "python-versions=[\"3.8\",\"3.12\"]" >> $GITHUB_OUTPUT
echo "python-versions=[\"3.9\",\"3.13\"]" >> $GITHUB_OUTPUT
python-test:
if: ${{ !inputs.skip_tests }}
name: Python Tests
Expand Down
Loading

0 comments on commit 2e9e503

Please sign in to comment.