Skip to content

Commit

Permalink
chore(deps): Bump build requirements (#137)
Browse files Browse the repository at this point in the history
* chore(deps): Bump build requirements

Signed-off-by: Luka Peschke <[email protected]>

* fix: adapt maturin action usage to maturin >=1

Signed-off-by: Luka Peschke <[email protected]>

---------

Signed-off-by: Luka Peschke <[email protected]>
  • Loading branch information
lukapeschke authored Nov 14, 2023
1 parent fcebe56 commit 57d050a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ jobs:
uses: messense/maturin-action@v1
with:
command: build
args: "-o dist --universal2 --interpreter python${{ matrix.python-version }}"
target: universal2-apple-darwin
args: "-o dist --interpreter python${{ matrix.python-version }}"
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
uses: messense/maturin-action@v1
with:
command: build
args: "--release -o dist --universal2 --interpreter python${{ matrix.python-version }}"
target: universal2-apple-darwin
args: "--release -o dist --interpreter python${{ matrix.python-version }}"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ format:
$(fmt)

install-test-requirements:
pip install -U 'maturin>=0.15,<0.16' -r test-requirements.txt
pip install -U -r test-requirements.txt -r build-requirements.txt

install-doc-requirements:
pip install -r doc-requirements.txt
Expand Down
1 change: 1 addition & 0 deletions build-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
maturin>=1.3.2,<2.0
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin>=0.15,<0.16"]
requires = ["maturin>=1.3.2,<2.0"]
build-backend = "maturin"

[project]
Expand All @@ -14,8 +14,8 @@ dependencies = [
]

[project.optional-dependencies]
pandas = ["pandas>=1.4.4,<2.2"]
polars = ["polars>=0.16.14,<0.20"]
pandas = ["pandas>=1.4.4"]
polars = ["polars>=0.16.14"]


[project.urls]
Expand Down

0 comments on commit 57d050a

Please sign in to comment.