Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
561 commits
Select commit Hold shift + click to select a range
1dd0378
gh-352: fix latex rendering (#357)
Saransh-cpp Oct 14, 2024
3cba792
gh-280: add `mypy` to codebase (#359)
paddyroddy Oct 15, 2024
cfe3245
gh-248: a few fixes for ignored and recommended ruff rules (#360)
Saransh-cpp Oct 15, 2024
ff3c975
gh-363: fix flakiness of test_ellipticity_gaussian (#364)
Saransh-cpp Oct 15, 2024
d2ec560
gh-175: add CITATION.cff and bib entry in README (#325)
Saransh-cpp Oct 15, 2024
fbf2daf
gh-131: rename `gaussian_gls` to `discretized_cls` (#345)
Saransh-cpp Oct 15, 2024
60dc668
NLA model for intrinsic alignments (#21)
mwiet Oct 15, 2024
c020f18
gh-161: bump coverage for galaxies and shapes (#370)
Saransh-cpp Oct 16, 2024
0c39930
Fix `Returns` in docstrings (I think entered in #357) (#373)
paddyroddy Oct 18, 2024
e797fe6
gh-363: use pytest-rerunfailures for flaky test_ellipticity_gaussian …
Saransh-cpp Oct 18, 2024
dc4e7f3
pre-commit.ci: update pre-commit hooks (#378)
pre-commit-ci[bot] Oct 24, 2024
646e823
gh-379: fix warnings when running the notebooks (#380)
paddyroddy Oct 25, 2024
075cdda
pre-commit.ci: update pre-commit hooks (#387)
pre-commit-ci[bot] Nov 5, 2024
2cc6f34
gh-362: review the `ruff-format` recommended rules (#393)
paddyroddy Nov 5, 2024
209eb24
gh-354: tidy Actions, name steps, cache dependencies (#388)
paddyroddy Nov 5, 2024
4137616
gh-342: explicit libbz2-dev installation is not required now (#396)
Saransh-cpp Nov 6, 2024
74c5ac8
gh-358: add static types support (#368)
paddyroddy Nov 7, 2024
9075c79
gh-248: fix all remaining possible ruff `# noqa` statements (#394)
paddyroddy Nov 7, 2024
b58c275
gh-385: set random seeds in all glass functions used in notebooks (#389)
paddyroddy Nov 7, 2024
42e5a10
gh-365: upload HTML rendering of notebooks as artifact (#367)
Saransh-cpp Nov 7, 2024
3e6b78f
gh-336: support Python 3.13 (#337)
Saransh-cpp Nov 8, 2024
d35fc14
gh-399: hide `kappa_ia_nla` (#400)
paddyroddy Nov 11, 2024
baf4b8a
pre-commit.ci: update pre-commit hooks (#412)
pre-commit-ci[bot] Nov 11, 2024
72a037d
gh-272: add tests for glass.points (#372)
Saransh-cpp Nov 13, 2024
84f0b69
gh-188: add docstrings to all functions and tidy docs (#381)
paddyroddy Nov 13, 2024
a7c795a
gh-419: fix imports (#420)
paddyroddy Nov 14, 2024
d4b07f7
gh-286: replace `stable` in docs with tag for `sdist` (#416)
paddyroddy Nov 15, 2024
12569a3
gh-418: add variable names for `Yields` vars (#428)
paddyroddy Nov 15, 2024
0dd2fb9
gh-390: release 2024.2 (#426)
ntessore Nov 15, 2024
f84a307
gh-430: fix for release action (#429)
ntessore Nov 15, 2024
d6c8cdb
gh-163: drop `Python 3.9` & `NumPy < 2.1.1` support (#391)
paddyroddy Nov 18, 2024
09d3f83
gh-431: switch from `license.file` to `license.text` (#434)
paddyroddy Nov 18, 2024
0459309
Fix linting (#435)
paddyroddy Nov 18, 2024
f9947a0
pre-commit.ci: update pre-commit hooks (#437)
pre-commit-ci[bot] Nov 19, 2024
15e6847
gh-384: rename all internal functions to `trapezoid` over `trapz` (#392)
paddyroddy Nov 20, 2024
571d3a7
gh-443: `if` should be `elif` in `fixed_zbins` (#444)
paddyroddy Nov 21, 2024
09b14bd
gh-445: place all public function in `__all__` (#446)
paddyroddy Nov 21, 2024
d5f4fd8
gh-441: import directly from `glass` in tests (#442)
paddyroddy Nov 21, 2024
6fbeb97
gh-447: make sure `dz` gives the same results as `nbins` (#448)
paddyroddy Nov 21, 2024
33fc30e
DEV: Bump thehanimo/pr-title-checker from 1.4.2 to 1.4.3 (#452)
dependabot[bot] Nov 25, 2024
385e745
gh-450: move all `pytest.fixture` into `conftest.py` (#451)
paddyroddy Nov 25, 2024
ca32a63
gh-453: don't run PR title checker on dependabot PRs (#455)
Saransh-cpp Nov 25, 2024
ea3cb74
pre-commit.ci: update pre-commit hooks (#458)
pre-commit-ci[bot] Nov 26, 2024
4ef0167
gh-456: call `redshift_grid` within `distance_grid` (#457)
paddyroddy Nov 26, 2024
efa7d22
gh-271: add tests for `glass.observations` (#436)
paddyroddy Nov 27, 2024
6ce9629
gh-269: add tests for glass.fields (#374)
Saransh-cpp Nov 27, 2024
8d98a13
gh-274: add missing tests for `glass.user` (#422)
Saransh-cpp Nov 27, 2024
f1e26d6
gh-368: add type overloading for `lensing.from_convergence` (#395)
paddyroddy Nov 27, 2024
79ecfc4
gh-421: fix TestPyPI deployment (#427)
paddyroddy Nov 27, 2024
382bafd
gh-398: consistent plotting for notebooks (#425)
paddyroddy Nov 28, 2024
05c7700
gh-460: update notebooks inplace when running nox -s examples (#461)
Saransh-cpp Nov 28, 2024
47b93cc
gh-440: remove scipy as a test dependency (#462)
Saransh-cpp Nov 29, 2024
ef91fe4
pre-commit.ci: update pre-commit hooks (#466)
pre-commit-ci[bot] Dec 3, 2024
b8fc91a
pre-commit.ci: update pre-commit hooks (#467)
pre-commit-ci[bot] Jan 7, 2025
d22271d
pre-commit.ci: update pre-commit hooks (#477)
pre-commit-ci[bot] Jan 14, 2025
f6cfde4
gh-472: fix Sphinx configuration (#473)
paddyroddy Jan 14, 2025
8521dde
gh-469: @pre-commit.ci shouldn't break title checking (#474)
paddyroddy Jan 17, 2025
a68bcf6
gh-470: instructions to install using conda (#481)
Saransh-cpp Jan 20, 2025
27eb93c
gh-464: simplify release infrastructure (#482)
Saransh-cpp Jan 20, 2025
d3965ff
gh-465: enable installing glass through git archives (#483)
Saransh-cpp Jan 20, 2025
a2f1a79
Manual revert of #467 (#484)
paddyroddy Jan 20, 2025
29d3f5c
gh-468: fix virtualenv in testing (#471)
paddyroddy Jan 20, 2025
eb8da20
pre-commit.ci: update pre-commit hooks (#485)
pre-commit-ci[bot] Jan 21, 2025
b48c69a
gh-439: infrastructure for testing array API compatibility (#459)
Saransh-cpp Jan 23, 2025
4a2dd8b
gh-424: add a simple PR template (#463)
Saransh-cpp Jan 23, 2025
3b7d01e
gh-275: add tests for `glass.lensing` (#454)
paddyroddy Jan 23, 2025
e9982cc
gh-273: add tests for `glass.shells` (#449)
paddyroddy Jan 24, 2025
0602d04
pre-commit.ci: update pre-commit hooks (#489)
pre-commit-ci[bot] Jan 28, 2025
17dfffd
gh-480: fix mypy failures (#490)
Saransh-cpp Feb 1, 2025
607a861
pre-commit.ci: update pre-commit hooks (#498)
pre-commit-ci[bot] Feb 3, 2025
1012322
pre-commit.ci: update pre-commit hooks (#500)
pre-commit-ci[bot] Feb 11, 2025
a159f8d
gh-506: cache dependencies correctly (#505)
Saransh-cpp Feb 13, 2025
0220019
gh-493: add module for Gaussian random fields (#494)
ntessore Feb 13, 2025
d384a83
gh-499: rm D205, D401, EM101, EM102, TRY003 (#510)
Saransh-cpp Feb 13, 2025
f592b3b
gh-491: use try-except for __version__ (#511)
Saransh-cpp Feb 14, 2025
10365c6
gh-503: move all typing related imports into `from` (#507)
paddyroddy Feb 14, 2025
e66418a
gh-501: change imports to be directly from `glass` (#512)
paddyroddy Feb 14, 2025
d5f0aab
gh-515: fix coveralls (#516)
Saransh-cpp Feb 14, 2025
cc01e7d
gh-501: changes missed in #507 (#517)
paddyroddy Feb 14, 2025
4497645
gh-501: move custom types into `TYPE_CHECKING` (#520)
paddyroddy Feb 14, 2025
7f94ec2
gh-480: fix union1d typing error (#521)
Saransh-cpp Feb 17, 2025
fa012ac
pre-commit.ci: update pre-commit hooks (#522)
pre-commit-ci[bot] Feb 17, 2025
67a0af1
gh-496: functions for legacy mode (#497)
ntessore Feb 18, 2025
063f9fe
gh-525: fix docs (#526)
ntessore Feb 19, 2025
9120291
gh-513: make algorithm a public module (#514)
ntessore Feb 19, 2025
41ff04f
gh-508: create standalone bibliography page (#518)
ntessore Feb 19, 2025
84dff24
gh-478: glass.core.array -> glass.arraytools (#524)
Saransh-cpp Feb 19, 2025
1b407ea
gh-509: `inv_triangle_number` -> `nfields_from_nspectra` (plus make i…
Saransh-cpp Feb 21, 2025
97477f9
gh-504: deprecate old generator functions (#523)
ntessore Feb 21, 2025
c7635f8
gh-509: new inv_triangle_number popped up in another PR (#528)
Saransh-cpp Feb 21, 2025
ddd44dc
Change the pre-commit updates to be monthly (#529)
paddyroddy Feb 21, 2025
e06048f
gh-532: prepare for the `v2025.1` release (#531)
paddyroddy Feb 21, 2025
5bafe0a
gh-530: more permissive typing of GLASS/HEALPix order functions (#534)
ntessore Feb 24, 2025
4c72a62
gh-538: suppress notebook rules rather than blanket turning off `ruff…
paddyroddy Feb 28, 2025
6345afb
gh-540: add all contributors config (#541)
paddyroddy Feb 28, 2025
ca9b2b1
Rename .all-contributorsrc.json to .all-contributorsrc (#543)
paddyroddy Feb 28, 2025
120c99b
docs: add paddyroddy as a contributor for code (#544)
allcontributors[bot] Feb 28, 2025
90c2d8f
docs: add Saransh-cpp as a contributor for code (#545)
allcontributors[bot] Feb 28, 2025
b8229dd
docs: add ucapbba as a contributor for code (#549)
allcontributors[bot] Feb 28, 2025
d535990
docs: add arthurmloureiro as a contributor for code (#550)
allcontributors[bot] Feb 28, 2025
d30b766
docs: add mwiet as a contributor for code (#551)
allcontributors[bot] Feb 28, 2025
5b68f4b
gh-547: comment out CHANGELOG entry by default (#548)
paddyroddy Mar 2, 2025
d08917d
docs: add joachimi as a contributor for ideas, and research (#556)
allcontributors[bot] Mar 2, 2025
7a32e51
docs: add NiallJeffrey as a contributor for code, and ideas (#557)
allcontributors[bot] Mar 2, 2025
2484284
docs: add ARCHER2-HPC as a contributor for financial (#555)
allcontributors[bot] Mar 2, 2025
e56ffd7
gh-546: ignore .all-contributorsrc from prettier (#560)
Saransh-cpp Mar 3, 2025
edfa91c
pre-commit.ci: update pre-commit hooks (#564)
pre-commit-ci[bot] Mar 4, 2025
def1fab
gh-561: simplify @all-contributors config (#562)
paddyroddy Mar 4, 2025
db44a19
gh-554: move contributors to a file and show in docs (#563)
paddyroddy Mar 4, 2025
02e8b70
gh-578: mutable argument should be empty list rather than `None` (#579)
paddyroddy Mar 10, 2025
2054a1b
gh-552: add docs on all-contributors (#565)
Saransh-cpp Mar 11, 2025
ca4b592
gh-569: enforce large file check with exception (#570)
paddyroddy Mar 11, 2025
9380de9
gh-573: add keyword `rng` to functions in notebooks (#574)
paddyroddy Mar 11, 2025
8bd05a3
gh-583: fix flakiness of `test_generate` (#584)
Saransh-cpp Mar 11, 2025
cfd448a
gh-575: bring back inv_triangle_number (#577)
Saransh-cpp Mar 11, 2025
f09818d
gh-585: remove redunant `glass.ext.camb` import (#586)
paddyroddy Mar 12, 2025
becc09b
gh-571: add a 20 min timeout to example runs (#582)
Saransh-cpp Mar 12, 2025
cdfc718
gh-580: examples should run in the CI if they are modified (#581)
Saransh-cpp Mar 13, 2025
d992247
gh-572: make `multalm` private (#576)
Saransh-cpp Mar 13, 2025
ade5e60
gh-487: reorder alms in _generate_grf to glass ordering (#533)
Saransh-cpp Mar 13, 2025
fe12439
gh-587: run examples if a PR is labeled 'run-examples' (#588)
Saransh-cpp Mar 21, 2025
5b5ffd7
gh-568: convert `_weight` funcs to classes for `_windows` funcs (#589)
paddyroddy Mar 24, 2025
bc12ffb
gh-592: use `--doctest-plus-generate-diff=overwrite` (#593)
Saransh-cpp Apr 4, 2025
f765527
gh-495: allow `zeff` to be computed automatically (#590)
paddyroddy Apr 7, 2025
f94a97d
pre-commit.ci: update pre-commit hooks (#598)
pre-commit-ci[bot] Apr 8, 2025
d225112
gh-602: pin python version and numpy for pre-commit (#603)
Saransh-cpp Apr 10, 2025
36bfc44
gh-599: swap all `xp` vars to `xq` (and similar) (#600)
paddyroddy Apr 11, 2025
1775697
gh-601: add a utility function to fetch array namespace (#604)
Saransh-cpp Apr 11, 2025
486c81b
gh-566: add example on galaxy redshift distributions (#567)
ntessore Apr 15, 2025
11b4b9e
pre-commit.ci: update pre-commit hooks (#615)
pre-commit-ci[bot] May 6, 2025
5baec60
gh-612: handle NoneType in `get_namespace` (#613)
paddyroddy May 7, 2025
4283ab3
gh-616: use `position_weights()` in galaxy redshift example (#617)
paddyroddy May 8, 2025
b679208
gh-611: xp fixture for array API tests (#619)
Saransh-cpp May 8, 2025
c33c102
gh-402: add NumPy-like interface for JAX RNGs (#610)
Saransh-cpp May 14, 2025
2fa819b
gh-124: use `cosmology.api` over the `cosmology` package (#537)
paddyroddy May 20, 2025
b0c0568
gh-402: wrap NumPy RNGs to return array_api_strict Array (#622)
Saransh-cpp May 30, 2025
919086b
gh-502: add array API tests and typing for `grf._transformations` (#614)
Saransh-cpp May 30, 2025
e495954
gh-621: bump `array-api-strict` version to `2024.12` (#625)
paddyroddy May 30, 2025
0935cc6
gh-519: test array API compliance of legacy mode functions (#595)
Saransh-cpp May 30, 2025
22a0cda
gh-594: split PyPI and TestPyPI deployments (#626)
Saransh-cpp May 30, 2025
eb8afba
pre-commit.ci: update pre-commit hooks (#627)
pre-commit-ci[bot] Jun 3, 2025
4349efe
Disable PLC0415 in tests (#630)
paddyroddy Jul 8, 2025
6fffbd2
gh-629: temporarily pin `array-api-strict` (#632)
paddyroddy Jul 8, 2025
8c15530
DEV: Bump actions/download-artifact from 4 to 5 (#635)
dependabot[bot] Aug 11, 2025
26426d3
DEV: Bump actions/checkout from 4 to 5 (#636)
dependabot[bot] Aug 18, 2025
69e40cd
gh-639: fix compute_gaussian_spectra() for empty spectra (#640)
ntessore Sep 16, 2025
3ee187c
DEV: Bump actions/setup-python from 5 to 6 (#638)
dependabot[bot] Sep 30, 2025
d7996db
gh-654: add `types` for the labelled examples workflow (#655)
paddyroddy Oct 10, 2025
6f6ee4c
gh-652: make `array-api-strict` an official dependency (#653)
paddyroddy Oct 10, 2025
1d0b739
gh-407: Port simple functions in fields.py (#642)
connoraird Oct 14, 2025
f835b42
pre-commit.ci: update pre-commit hooks (#628)
pre-commit-ci[bot] Oct 15, 2025
381a115
gh-633: switch to `dependency-groups` (#634)
paddyroddy Oct 15, 2025
92050f3
gh-659: rename hook to `ruff-check` (#660)
paddyroddy Oct 15, 2025
a7f221d
gh-408: porting straightforward functions in `shells` (#643)
connoraird Oct 15, 2025
ba39a20
gh-669: Add test to make sure that GLASS is tested on its own (#670)
paddyroddy Oct 16, 2025
acf1e66
gh-673: all-contributors needs leading line (#674)
ntessore Oct 17, 2025
33bb0e6
docs: add connoraird as a contributor for code, review, and maintenan…
allcontributors[bot] Oct 17, 2025
794e049
gh-667: Make JAX an optional dependency as intended (#672)
paddyroddy Oct 17, 2025
c5b0599
gh-409: Port straightforward functions in `points` (#663)
connoraird Oct 17, 2025
6a700e1
gh-676: Remove references to UnifiedGenerator (#681)
connoraird Oct 20, 2025
7fd0c3a
gh-679: only import numpy when it is absolutely necessary and add doc…
connoraird Oct 20, 2025
6b78869
gh-682: create an `isort` section for Array API (#684)
paddyroddy Oct 20, 2025
4bf0d5f
gh-666: make docs fail on warnings (#685)
paddyroddy Oct 20, 2025
4838e7f
gh-687: fix documentation (#688)
paddyroddy Oct 20, 2025
7ad82b9
gh-686: relax `array-api-strict` upper bound pin (#689)
paddyroddy Oct 21, 2025
d98c745
gh-691: rename envvar to `ARRAY_BACKEND` (#692)
paddyroddy Oct 21, 2025
db980ec
gh-693: Add script to generate release notes (#694)
paddyroddy Oct 21, 2025
366d472
gh-695: Prepare for the `2025.2` release (#696)
paddyroddy Oct 21, 2025
06d1bfd
gh-700: remove `typing-extensions` dependency (#701)
paddyroddy Oct 22, 2025
f87a698
gh-410: Port straightforward functions in `observations` (#677)
connoraird Oct 22, 2025
e50f97f
gh-683: rewrite dispatch mechanism for GRF transformations (#697)
ntessore Oct 22, 2025
3139f15
gh-702: use `ruff.lint.future-annotations` (#703)
paddyroddy Oct 22, 2025
896d993
gh-704: Remove isinstance(x, Number) (#706)
connoraird Oct 23, 2025
c171630
gh-678: improved `mypy` test configuration via `pyproject.toml` (#710)
paddyroddy Oct 23, 2025
fc82bb6
gh-623: use `array_api_compat.array_namespace` helper (#711)
paddyroddy Oct 24, 2025
c3ddb69
gh-705: add displace() and displacement() (#708)
ntessore Oct 24, 2025
867d34c
gh-406: Add xp to tests for ported arraytools functions (#717)
connoraird Oct 24, 2025
2123603
gh-714: ensure `pytest` and `nox` agree on test dependencies (#715)
paddyroddy Oct 29, 2025
5ebe9d1
gh-725: Bump actions/download-artifact from 5 to 6 (#718)
dependabot[bot] Oct 29, 2025
c4cfa4a
gh-725: Bump actions/upload-artifact from 4 to 5 (#719)
dependabot[bot] Oct 29, 2025
84a77e1
gh-644: create a custom types file (#729)
paddyroddy Oct 29, 2025
646a65a
gh-721: Port RNG functions in `shapes.py` (#722)
connoraird Oct 29, 2025
4d240d6
gh-723: Port RNG functions in `galaxies.py` (#724)
connoraird Oct 30, 2025
778431c
gh-734: Port points.uniform_positions (#736)
connoraird Oct 30, 2025
f8e5652
gh-730: add missing import from docstring (#741)
paddyroddy Oct 30, 2025
8d62eb6
gh-732: use the new array types from `glass.types` (#733)
paddyroddy Oct 30, 2025
13f6b6e
gh-737: consistent importing of `_array_api_utils` (#738)
paddyroddy Oct 31, 2025
c6044ae
gh-747: Force nox to default to 3.13 (#748)
paddyroddy Nov 3, 2025
c6960e2
gh-727: ensure examples workflow runs on change (#728)
paddyroddy Nov 3, 2025
7b9bcf5
gh-749: Make `_uniform_grid` (and upstream) require array backend (#750)
paddyroddy Nov 3, 2025
37d1701
gh-751: tidy up doc plotting routines (#752)
paddyroddy Nov 3, 2025
1dcbf73
pre-commit.ci: update pre-commit hooks (#753)
pre-commit-ci[bot] Nov 4, 2025
14d3686
gh-739: don't use numpy alias when interacting with backend (#740)
paddyroddy Nov 4, 2025
02a273a
gh-754: modern SPDX licensing (#755)
paddyroddy Nov 4, 2025
620397a
gh-720: add warning if `nearcorr` has no convergence (#757)
paddyroddy Nov 5, 2025
433f7fd
gh-762: general linting improvments (#763)
paddyroddy Nov 5, 2025
91a10d5
Add nox command to generate coverage report of glass
connoraird Nov 6, 2025
40a7102
Generate coverage in github actions
connoraird Nov 6, 2025
bee7def
Install coverage outside nox to allow xml generation in action
connoraird Nov 6, 2025
69c02c2
Simplify _get_revisions_from_posargs
connoraird Nov 6, 2025
b429d57
Combine pip sections in action
connoraird Nov 6, 2025
8b52665
Format noxfile and improve _get_revisions_from_posargs
connoraird Nov 6, 2025
2d5d11c
Be more explicit with conditionals
connoraird Nov 6, 2025
9bcdbe8
gh-756: Add workflow to trigger reusable workflow from benchmarks rep…
connoraird Nov 6, 2025
69000f5
Attempt to display glass src in coveralls.io
connoraird Nov 6, 2025
c475655
Add coveragerc mapping glass pkg to glass/glass
connoraird Nov 6, 2025
30a70bf
Swap to pyproject.toml in favour of .coveragerc
connoraird Nov 7, 2025
e5ce608
Dependencies use - instead of _
connoraird Nov 7, 2025
28ed781
Add glass as a submodule to allow src to appear in coveralls
connoraird Nov 7, 2025
77a5ffb
Remove _get_revisions_from_posargs as it no longer makes sense
connoraird Nov 7, 2025
9607ac1
Attempt to display glass src in coveralls.io tree
connoraird Nov 7, 2025
8534ea6
Add base-path to tell coveralls where to look for glass files
connoraird Nov 7, 2025
6da744e
Revert "Add base-path to tell coveralls where to look for glass files"
connoraird Nov 7, 2025
3457888
Test coveralls
paddyroddy Nov 7, 2025
8ae07af
Fix omit
paddyroddy Nov 7, 2025
a784f08
Try `base-path`
paddyroddy Nov 7, 2025
45b9c44
Add slash
paddyroddy Nov 7, 2025
e609f6b
Change back to source
paddyroddy Nov 7, 2025
b589cf0
Don't install package
paddyroddy Nov 7, 2025
6c8b2a2
Change back to installing glass
connoraird Nov 10, 2025
0b4a1f6
Fix message
paddyroddy Nov 10, 2025
6b1c836
Upload coverage
paddyroddy Nov 10, 2025
2a9bf65
Remove base path
paddyroddy Nov 10, 2025
50d12dc
Add relative files
paddyroddy Nov 10, 2025
fca1efb
gh-725: change @dependabot commit title (#726)
paddyroddy Nov 11, 2025
b42d62f
gh-742: make `allcontributors` follow the commit spec (#743)
paddyroddy Nov 11, 2025
b4392fe
Lint fix
paddyroddy Nov 11, 2025
c57b127
Don't install the package
paddyroddy Nov 11, 2025
53e5f65
Try source dir
paddyroddy Nov 11, 2025
7813531
Exclude nox
paddyroddy Nov 11, 2025
061fc62
Test coveralls
paddyroddy Nov 11, 2025
bde6a3c
Try working dir
paddyroddy Nov 11, 2025
65d52b4
Undo workdir
paddyroddy Nov 11, 2025
72d865e
Fix artefact
paddyroddy Nov 11, 2025
1747230
Adjust source
paddyroddy Nov 11, 2025
011af5c
Remove source
paddyroddy Nov 11, 2025
e1b5326
Use `sed`
paddyroddy Nov 11, 2025
4386c4c
Change sed
paddyroddy Nov 11, 2025
57b7418
Add `base-path`
paddyroddy Nov 11, 2025
7508520
Add debug
paddyroddy Nov 11, 2025
bb1392a
New attempt
paddyroddy Nov 11, 2025
002a936
Longer base path
paddyroddy Nov 11, 2025
e1f5caa
Changes
paddyroddy Nov 11, 2025
4bcea98
Remove submodule
paddyroddy Nov 11, 2025
0aeb2b9
Add 'glass/' from commit 'b42d62f8c115b54e681c8a0219c2b1ce1b5f1574'
paddyroddy Nov 11, 2025
352b2cc
Fix source
paddyroddy Nov 11, 2025
c5081ff
Back to pytst
paddyroddy Nov 11, 2025
b66bf78
Change to path
paddyroddy Nov 11, 2025
07b6952
Remove artefact upload
paddyroddy Nov 11, 2025
450f299
Fix lint
paddyroddy Nov 11, 2025
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
2 changes: 2 additions & 0 deletions .github/workflows/regression-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ jobs:
run: >-
nox -s regression_tests-${{ matrix.python-version }} --
${{ inputs.starting_revision }} ${{ inputs.end_revision }}
env:
FORCE_COLOR: 1
29 changes: 26 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v6
Expand All @@ -42,7 +43,29 @@ jobs:
path: .nox

- name: Install nox
run: python -m pip install nox
run: python -m pip install coverage[toml] nox

- name: Run regression test
run: nox -s benchmark-${{ matrix.python-version }} -- main
- name: Run tests with every array backend and generate coverage report
run: nox -s coverage-${{ matrix.python-version }}
env:
FORCE_COLOR: 1

- name: Generate coverage XML
run: coverage xml

- name: Run Coveralls in parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ matrix.python-version }}
parallel: true

aggregate-tests:
needs: test
if: always()
runs-on: ubuntu-latest
steps:
- name: Coveralls finished
uses: coverallsapp/github-action@v2
with:
carryforward: run-3.10,run-3.11,run-3.12,run-3.13
parallel-finished: true
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ci:
default_language_version:
python: python3.13

exclude: ^glass
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
Expand Down
107 changes: 107 additions & 0 deletions glass/.all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"commitConvention": "angular",
"commitType": "contributors",
"contributorsPerLine": 7,
"files": [
"docs/CONTRIBUTORS.md"
],
"linkToUsage": false,
"projectName": "glass",
"projectOwner": "glass-dev",
"contributors": [
{
"login": "ntessore",
"name": "Nicolas Tessore",
"avatar_url": "https://avatars.githubusercontent.com/u/3993688?v=4",
"profile": "http://ntessore.page",
"contributions": [
"code"
]
},
{
"login": "paddyroddy",
"name": "Patrick J. Roddy",
"avatar_url": "https://avatars.githubusercontent.com/u/15052188?v=4",
"profile": "https://paddyroddy.github.io",
"contributions": [
"code"
]
},
{
"login": "Saransh-cpp",
"name": "Saransh Chopra",
"avatar_url": "https://avatars.githubusercontent.com/u/74055102?v=4",
"profile": "https://saransh-cpp.github.io/",
"contributions": [
"code"
]
},
{
"login": "ucapbba",
"name": "baugstein",
"avatar_url": "https://avatars.githubusercontent.com/u/87702063?v=4",
"profile": "https://github.com/ucapbba",
"contributions": [
"code"
]
},
{
"login": "arthurmloureiro",
"name": "Arthur Loureiro",
"avatar_url": "https://avatars.githubusercontent.com/u/6471279?v=4",
"profile": "http://arthurmloureiro.github.io",
"contributions": [
"code"
]
},
{
"login": "mwiet",
"name": "Maximilian von Wietersheim-Kramsta",
"avatar_url": "https://avatars.githubusercontent.com/u/49800039?v=4",
"profile": "https://mwiet.github.io",
"contributions": [
"code"
]
},
{
"login": "joachimi",
"name": "joachimi",
"avatar_url": "https://avatars.githubusercontent.com/u/4989590?v=4",
"profile": "https://github.com/joachimi",
"contributions": [
"ideas",
"research"
]
},
{
"login": "NiallJeffrey",
"name": "Niall Jeffrey",
"avatar_url": "https://avatars.githubusercontent.com/u/15345794?v=4",
"profile": "https://nialljeffrey.github.io/",
"contributions": [
"code",
"ideas"
]
},
{
"login": "ARCHER2-HPC",
"name": "ARCHER2, UK National Supercomputing Service",
"avatar_url": "https://avatars.githubusercontent.com/u/60643641?v=4",
"profile": "https://github.com/ARCHER2-HPC",
"contributions": [
"financial"
]
},
{
"login": "connoraird",
"name": "Connor Aird",
"avatar_url": "https://avatars.githubusercontent.com/u/61978554?v=4",
"profile": "https://github.com/connoraird",
"contributions": [
"code",
"review",
"maintenance"
]
}
]
}
6 changes: 6 additions & 0 deletions glass/.git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# applied ruff-format - https://github.com/glass-dev/glass/pull/199
b42067f6776dcd763827000d585a88e071b78af3
# applied prettier - https://github.com/glass-dev/glass/pull/227
f9bac62f497a7288aa71fd4dbd948945c37f854e
# applied ruff-linting - https://github.com/glass-dev/glass/pull/232
e58d8616c03b8447aba90996905a98b42f18ba0a
11 changes: 11 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/blank.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Anything Else
description:
Create a blank issue for anything that does not fit into the other categories
body:
- id: anything_else
type: textarea
attributes:
label: Add your issue here
validations:
required: true
61 changes: 61 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
name: Bug Report
description: Create a Report to Help us Improve
labels:
- bug
body:
- id: describe
type: textarea
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is.
validations:
required: true
- id: reproduce
type: textarea
attributes:
label: To Reproduce
description: >-
A minimal working example of code to reproduce the unexpected behaviour,
this will render as `Python` code so no need for backticks.
value: >-
import glass

...
render: python
- id: expected
type: textarea
attributes:
label: Expected Behaviour
description: >-
A clear and concise description of what you expected to happen.
- id: actual
type: textarea
attributes:
label: Actual Behaviour
description: >-
Be a specific and detailed as you can. Paste any output or stack traces
of errors you receive.
- id: version
type: input
attributes:
label: Version In Use
description: |-
Can be found by
```sh
python -c "import glass; print(glass.__version__)"
```
or
```sh
nox -s version
```
validations:
required: true
- id: additional
type: textarea
attributes:
label: Additional Context
value: |-
- Python version:
- Operating system:
render: markdown
12 changes: 12 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
blank_issues_enabled: false
contact_links:
- name: Raise a GLASS Discussion
url: https://github.com/orgs/glass-dev/discussions
about:
If you would like to start a discussion with the wider GLASS community
about e.g. a design decision or API change, you can use our Discussions
page.
- name: Join the GLASS Slack
url: https://glass-dev.github.io/slack
about: We have a public Slack workspace for discussions about the project.
27 changes: 27 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Documentation
description: How Can We Improve the Documentation
labels:
- documentation
body:
- id: section
type: textarea
attributes:
label: Which Section of the Documentation Needs Improving?
description: Please provide a link (if it is a specific page).
validations:
required: true
- id: problem
type: textarea
attributes:
label: What Can be Improved About This Section
description: Is it incomplete, incorrect or difficult to understand?
validations:
required: true
- id: suggestions
type: textarea
attributes:
label: How to Improve This Section
description: >-
Do you have any specific suggestions we could take to improve the
documentation?
32 changes: 32 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature Request
description: Suggest a Way to Improve This Project
labels:
- enhancement
body:
- id: problem
type: textarea
attributes:
label: Is Your Feature Request Related to a Problem? Please Describe
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when [...]
validations:
required: true
- id: solution
type: textarea
attributes:
label: Describe the Solution You'd Like
description: A clear and concise description of what you want to happen.
- id: alternatives
type: textarea
attributes:
label: Describe Alternatives You've Considered
description: >-
A clear and concise description of any alternative solutions or features
you've considered.
- id: additional
type: textarea
attributes:
label: Additional Context
description: >-
Add any other context or screenshots about the feature request here.
24 changes: 24 additions & 0 deletions glass/.github/ISSUE_TEMPLATE/question.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Question
description: General Questions About Using GLASS
labels:
- question
body:
- id: topic
type: dropdown
attributes:
label: What is the Topic of Your Question
description: Please indicate the topic in the title of your question.
options:
- Installation
- Usage
- Documentation
- Other
validations:
required: true
- id: question
type: textarea
attributes:
label: Add Your Question Below
validations:
required: true
33 changes: 33 additions & 0 deletions glass/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Description

<!-- describe you changes here
make sure your PR title starts with "gh-XXX: " where XXX is the issue you are
solving -->

<!-- for user facing bugs -->
<!-- Fixes: # (issue) -->

<!-- for other issues -->
<!-- Closes: # (issue) -->

<!-- referring some issue -->
<!-- Refs: # (issue) -->

<!-- add a one liner changelog entry here if this PR makes any user-facing change
## Changelog entry

Added: Some new feature
Changed: Some change in existing functionality
Deprecated: Some soon-to-be removed feature
Removed: Some now removed feature
Fixed: Some bug fix
Security: Some vulnerability was fixed
-->

## Checks

- [ ] Is your code passing linting?
- [ ] Is your code passing tests?
- [ ] Have you added additional tests (if required)?
- [ ] Have you modified/extended the documentation (if required)?
- [ ] Have you added a one-liner changelog entry above (if required)?
9 changes: 9 additions & 0 deletions glass/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
commit-message:
prefix: dependabot
Loading