Skip to content

Move to the Mojo 1.3 nightly (1.3.0.dev2026111805) - #24

Merged
winding-lines merged 1 commit into
mainfrom
mojo-1.3-nightly
Nov 19, 2026
Merged

winding-lines merged 1 commit into
mainfrom
mojo-1.3-nightly

Conversation

@winding-lines

Copy link
Copy Markdown

Part of moving every magmalake tin from stable Mojo 1.2.0 to one pinned Mojo 1.3 nightly, 1.3.0.dev2026111805.

  • pixi.toml: one toolchain. mojo (for mojo format) is pinned exactly in the workspace and mojo-compiler in the package's host, build and run dependencies; the stable and nightly environments are removed (bench = ["bench"]). threads-mojo moves to its nightly port 820a7c6 (workspace and package), bench-mojo to 4cb1090, lint-mojo to 26bf696.
  • String.find() returns Optional[Int] on 1.3. sqlstate.mojo sqlstate_of takes .or_else(-1); in tests/test_sqlstate.mojo and tests/test_config.mojo presence checks become in / not in, and positions that are compared or offset take .or_else(-1) (so == 0 and > 0 keep their meaning).
  • FileHandle.close() consumes the handle: f^.close() in tests/crosscheck_read.mojo.
  • StringSlice is deprecated; replaced with StringSpan.
  • tests/run_pool.sh: the probe that skipped the pool suite when the compiler could not read the 1.2.0-built threads-mojo package is gone; the pool suite now always runs.
  • CI drops the environment matrix; the release check runs the default environment with mojo-compiler: "==1.3.0.dev2026111805".

test (unit, server, psycopg/psql cross-check, pool and its negative control), lint, examples, format-check, bench and pixi build pass locally on osx-arm64, with no compiler warnings. Not to be released on its own: the tins release together as one wave.

🤖 Generated with Claude Code

https://claude.ai/code/session_017TycsxF3PkSX49fnv7cSZd

The tin now builds, tests and ships on a single pinned Mojo nightly in
place of stable 1.2.0 plus a floating nightly. The stable and nightly
environments are gone; the default environment is the toolchain, and
`bench` adds only its feature.

- pixi.toml: `mojo ==1.3.0.dev2026111805` in the workspace (it ships the
  `mojo format` that `format` and `format-check` run), mojo-compiler
  pinned exactly in the package's host, build and run dependencies.
  threads-mojo moves to its nightly port (820a7c6) in the workspace and
  the package, bench-mojo to 4cb1090, lint-mojo to 26bf696.
- String.find() returns Optional[Int]: sqlstate.mojo `sqlstate_of` keeps
  its -1 checks through `.or_else(-1)`. In the tests, presence checks
  become `in` / `not in`; positions that are compared or offset take
  `.or_else(-1)`, which keeps `== 0` (prefix) and `> 0` (found, not at
  the start) meaning what they did.
- FileHandle.close() consumes the handle: `f^.close()` in
  tests/crosscheck_read.mojo.
- StringSlice is deprecated: StringSpan throughout src and tests.
- tests/run_pool.sh: the toolchain probe that skipped the pool suite when
  the compiler could not read the 1.2.0-built threads-mojo package is
  removed; with one toolchain the package always loads, and a probe that
  exits 0 would only hide a real failure.
- CI drops the environment matrix; the pool suite now runs on every leg,
  and the release check runs the default environment on the pinned
  compiler.
- README (the stable-only pool caveat, the test commands), CONTRIBUTING
  and pixi.toml comments describe the single toolchain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TycsxF3PkSX49fnv7cSZd
@winding-lines
winding-lines merged commit 86d15ee into main Nov 19, 2026
7 checks passed
@winding-lines
winding-lines deleted the mojo-1.3-nightly branch November 19, 2026 13:20
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.

1 participant