Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-dry-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
rm -rf ../target/wheels/
uv venv
uv tool run maturin@1.10 build --interpreter python3.11 --zig
uv tool run maturin@1.10 build --interpreter python3.11 --zig --sdist
uv tool run maturin@1.10.2 build --interpreter python3.11 --zig
uv tool run maturin@1.10.2 build --interpreter python3.11 --zig --sdist
file_count=$(ls -1 ../target/wheels/ | wc -l)
Expand Down
32 changes: 16 additions & 16 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions vortex-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ Issues = "https://github.com/vortex-data/vortex/issues"
Benchmarks = "https://bench.vortex.dev"

[build-system]
requires = ["maturin>=1.7.2,<2.0"]
requires = ["maturin>=1.10.2,<2.0"]
build-backend = "maturin"

[tool.uv]
managed = true

[tool.maturin]
profile = "release"
editable-profile = "dev"
python-source = "python"
module-name = "vortex._lib"
features = ["pyo3/extension-module", "mimalloc"]
Expand All @@ -70,7 +72,7 @@ include = [
[dependency-groups]
dev = [
"duckdb>=1.1.2",
"maturin>=1.7.2",
"maturin>=1.10.2",
"numpy>=2.2.2",
"pandas-stubs>=2.2.3.241126",
"pandas[output-formatting]>=2.2.3",
Expand Down
14 changes: 0 additions & 14 deletions vortex-python/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,5 @@
# SPDX-FileCopyrightText: Copyright the Vortex contributors

import logging
import os
import pathlib
import subprocess

logging.basicConfig(level=logging.DEBUG)


def pytest_sessionstart():
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also removed this test plugin that I think tried to avoid expensie rebuilds when running tests, now even a clean build will just build everything with a dev profile so this is unnecessery

"""Pytest plugin to trigger maturin builds before running tests."""
if os.environ.get("CI") is None:
# Running maturin develop --skip-install builds a "linux" wheel which PyPI rejects
# (https://peps.python.org/pep-0513/#rationale). When testing an already built wheel, we
# neither want to rebuild nor pollute the target/wheels directory with a wheel that PyPI
# will reject.
working_dir = pathlib.Path(__file__).parent.parent
_ = subprocess.check_call(["maturin", "develop", "--skip-install"], cwd=working_dir)
Loading