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
17 changes: 2 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,7 @@ jobs:
run: uv python install ${{ matrix.python-version }}

- name: Build wheel
shell: bash
run: |
extra_args=()
if [[ "${{ runner.os }}" == "Linux" ]]; then
extra_args+=(--auditwheel repair)
fi

uv tool run --from "maturin>=1.7,<2" maturin build \
--release \
--out dist \
--interpreter "$(uv python find ${{ matrix.python-version }})" \
--compatibility pypi \
"${extra_args[@]}"
run: uv build --wheel

- name: Smoke-test wheel
shell: bash
Expand Down Expand Up @@ -120,8 +108,7 @@ jobs:
PY
python scripts/check_release_metadata.py
python scripts/check_dist_artifacts.py dist \
--require-cpython 3.10 3.11 3.12 3.13 \
--require-platform macosx manylinux win
--allow-pure-python
twine check dist/*

- name: Upload checked distributions
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
with:
persist-credentials: false

- name: Install Rust tooling
run: rustup component add rustfmt clippy

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
Expand All @@ -33,12 +30,6 @@ jobs:
- name: Install dependencies
run: uv sync --all-extras

- name: Check Rust formatting
run: cargo fmt --all -- --check

- name: Run Rust clippy
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Check Python formatting
run: uv run ruff format --check .

Expand Down Expand Up @@ -73,18 +64,12 @@ jobs:
- name: Install dependencies
run: uv sync --all-extras

- name: Build extension
run: uv run maturin develop

- name: Check release metadata
run: uv run python scripts/check_release_metadata.py

- name: Run Python tests
run: uv run pytest -m "not slow" --cov=micromode --cov-report=xml --cov-report=term-missing

- name: Run Rust tests
run: cargo test --no-default-features

- name: Build distributions
if: matrix.python-version == '3.13'
run: uv build
Expand Down Expand Up @@ -165,15 +150,9 @@ jobs:
- name: Install dependencies
run: uv sync --all-extras

- name: Build extension
run: uv run maturin develop

- name: Run Python tests
run: uv run pytest

- name: Run Rust tests
run: cargo test --no-default-features

test-windows:
name: Windows portable tests
needs: lint
Expand All @@ -193,15 +172,9 @@ jobs:
- name: Install dependencies
run: uv sync --all-extras

- name: Build extension
run: uv run maturin develop

- name: Run Python tests
run: uv run pytest -m "not slow"

- name: Run Rust tests
run: cargo test --no-default-features

- name: Build distributions
run: uv build

Expand Down
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
Initial alpha release candidate.

- Added grid-first Python API for rasterized mode solving.
- Added Rust sparse shift-invert solver backend.
- Added a portable native Rust sparse eigensolver path with AMD ordering, packed
LU solves, adaptive Arnoldi stopping, and no external solver-stack dependency.
- Added sparse shift-invert solver support.
- Added 2D cross-section solves and 1D slice solves.
- Added scalar, diagonal anisotropic, and tensor material grids.
- Added six-component field reconstruction.
Expand Down
Loading
Loading