Skip to content

Migrate GLASS mocks off the deprecated cosmology package (unblocks glass ≥2025.2) #336

Description

@cailmdaley

glass is pinned to ==2025.1 alongside glass-ext-camb==2023.6 and cosmology==2022.10.9. glass 2025.2 dropped the cosmology package in favour of cosmology.api, and sp_validation/glass_mock.py (l.181, l.224) and scripts/glass_mock/make_unions_glass_sim.py (l.321) still do from cosmology import Cosmology and pass that object to glass.distance_grid. Renovate's glass-2026 PR (#329) was closed for this reason and will stay closed until this is done.

Done when: the mock code uses the cosmology.api protocol (or glass's own cosmology adapter), the three pins are replaced by floors, and a mock generated with the new glass reproduces the fiducial 2025.1 result (same seed → same shear maps, or documented difference).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions