chore(deps): declare gaussx-linalg in place of gaussx

Aperta
#181 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start with pyproject.toml and the two named import files: spectraldiffx/_src/chebyshev/solvers.py and spectraldiffx/_src/fourier/capacitance.py. Check the announced tags and package exports after the blocked workspace conversion lands, then update imports and declared dependencies, along with any dependency guard, plugin block, and README table present. Done means no legacy gaussx imports remain, declared packages match source imports, checks pass, and the change is released.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

dependencies

Problem

gaussx is being split into three packages, and this repository declares and imports it as one.

Context

gaussx is being split into three packages in one uv workspace. Each imports only the ones above it in this table.

Package Import name Holds
gaussx-sketch gaussx_sketch random sketches and randomized factorisations
gaussx-linalg gaussx_linalg operators, primitives, solver and log-determinant strategies, preconditioners, sparse Cholesky, builders of structured matrices
gaussx-infer gaussx_infer Gaussian densities and GMRFs, the exponential family, quadrature and likelihoods, GP and state-space recipes, ensemble, Laplace and site updates

A module belongs to gaussx-infer if it computes with a probability law: a density, a likelihood, an expectation under one, an update of a belief, or draws defined by one.
Everything else is mathematics: gaussx-sketch if it is randomized and reaches a matrix only through products with it, gaussx-linalg otherwise.
No public name or signature changes, and no number gaussx computes changes.
The design page is gaussx layout in geostack (decisions GX-D1 to GX-D5); this issue repeats everything needed to do the work.

Change

After the split this repository needs no Gaussian inference from gaussx, so its pin moves only when the linear algebra changes.
The lists below are every public gaussx name the source imports, placed in its package (surveyed on origin/main on 3 Dec 2026, tests and docs left out).

spectraldiffx declares gaussx-linalg.

  • from gaussx_linalg (7): DiagonalizedOperator, EigenDecomposition, MaskedOperator, circulant_from_symbol, grid_coupling_indices, kronecker_sum_solve, solve

Dependency lines today.

  • pyproject.toml line 30: "gaussx>=0.6.5",
  • pyproject.toml line 44: gaussx = { git = "https://github.com/jejjohnson/gaussx", tag = "v0.8.0" }

Each becomes one line per package listed above, installed from the workspace: gaussx-linalg @ git+https://github.com/jejjohnson/[email protected]#subdirectory=packages/gaussx-linalg, and the same form for the others, with the tags that the workspace conversion (jejjohnson/gaussx#927) announces. gaussx-infer brings gaussx-linalg, and gaussx-linalg brings gaussx-sketch, but geostack's dependency graph asks that a package declare every distribution it imports from, so list each.

Imports. 2 source files import gaussx (0 more under tests, docs and notebooks):

  • spectraldiffx/_src/chebyshev/solvers.py
  • spectraldiffx/_src/fourier/capacitance.py

In each, gaussx.<name> and from gaussx import <name> become the package of the name, for example import gaussx_linalg and gaussx_linalg.solve. A name used in tests or docs that is not in the lists above is looked up in the three packages' __all__; every public name of gaussx is in exactly one of them.

  • Regenerate the dependency guard if the repository has one (scripts/ or tests/ hold a list of allowed imports), the plugin skill's "Builds on" block and the README's ecosystem table.

Why now

If gaussx keeps a re-exporting gaussx package (jejjohnson/gaussx#928), nothing breaks at the split and this issue can wait for the next pin move. If it does not, this issue must land with the first pin past the split.

Definition of Done

  • git grep -nE "^\s*(import gaussx$|import gaussx |from gaussx import)" finds nothing: every import names gaussx_sketch, gaussx_linalg or gaussx_infer
  • each pyproject.toml declares exactly the packages its source imports from
  • the repository's lint, type-check and test commands are green on the new pins
  • released, so geostack can move its pin

Relationships

  • Parent: jejjohnson/gaussx#922
  • Blocked by: jejjohnson/gaussx#927
  • Related: jejjohnson/gaussx#928, jejjohnson/geostack#361
Lingua principale
Python
Stelle
2
Fork
0
Merge medio
8h 13m
PR unite (30g)
8

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jejjohnson/spectraldiffx

Tutte le issue di jejjohnson/spectraldiffx

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.