Skip to content

Drop the py314-metal environment; update boilerplate - #162

Merged
MImmesberger merged 4 commits into
mainfrom
drop-metal-env
Nov 17, 2026
Merged

MImmesberger merged 4 commits into
mainfrom
drop-metal-env

Conversation

@hmgaudecker

@hmgaudecker hmgaudecker commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
  • Remove the py314-metal environment: the jax-metal build is not well maintained, and the osx-arm64-only feature blocked locking elsewhere.
  • Boilerplate update: hooks (ruff 0.17.5, ty 0.0.104, pyproject-fmt, check-jsonschema) and actions bumped, prek>=0.5.9, .ai-instructions excluded from ty, ty's rule renames followed.
  • Adopt the dead-code hook (local and in the run-ty job). It needs no allow entries; six test helpers that nothing used are deleted.

Supersedes #158 and #161.

The .ai-instructions submodule points at ea823b0 on main, which adds registering-decorators to the dead-code hook (OpenSourceEconomics/ai-instructions#21).

Local: prek run --all-files passes; full suite before the helper deletions 1737 passed, 58 skipped; the three edited test files afterwards 159 passed, 6 skipped.

https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77

hmgaudecker and others added 2 commits November 16, 2026 12:32
jax-metal's last release (0.1.1) is from October 2024, and the osx-arm64-only
environment blocks regenerating the lock off macOS when the workspace has
path-installed PyPI packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump hooks (ruff 0.17.5, ty 0.0.104, pyproject-fmt, check-jsonschema) and
actions, require prek>=0.5.9, exclude .ai-instructions from ty, follow ty's
rule renames. Run the dead-code hook locally and in the run-ty job; delete
six test helpers that nothing used.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77
@hmgaudecker hmgaudecker changed the title Drop the py314-metal environment Drop the py314-metal environment; update boilerplate Nov 16, 2026
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.81818% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
tests/test_unit_inference.py 0.00% 3 Missing ⚠️
src/ttsim/tt/column_objects_param_function.py 66.66% 2 Missing ⚠️
src/ttsim/tt/vectorization.py 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77
@MImmesberger
MImmesberger merged commit 9baff9c into main Nov 17, 2026
13 checks passed
@MImmesberger
MImmesberger deleted the drop-metal-env branch November 17, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants