Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
1fc2ea2
Dropped python 3.9 and 3.10
MicahGale Jul 8, 2025
5f435a8
Added spec 0 to changelog.
MicahGale Jul 8, 2025
9a2e845
Added SPEC 0 badge.
MicahGale Jul 8, 2025
d4fbd44
Removed 3.9 and 3.10 from CI.
MicahGale Jul 8, 2025
38c1f0c
Added NEP 29-like language to dev standards for support.
MicahGale Jul 8, 2025
b7e0c80
Upgraded to numpy 1.26, the only supported Numpy 1 version.
MicahGale Jul 8, 2025
16a0a1b
started testing against 3.14
MicahGale Jul 14, 2025
79642ec
Merge pull request #781 from idaholab/780-adopt-spec-0
MicahGale Jul 14, 2025
07ae89f
Merge branch 'develop' into alpha-test-dev
MicahGale Aug 2, 2025
a97ba6f
We aren't releasing a minor version prior to numpy 1.26 deprecation.
MicahGale Sep 11, 2025
8092b17
Revert "We aren't releasing a minor version prior to numpy 1.26 depre…
MicahGale Sep 11, 2025
0eda9ee
Dropped numpy 1 from CI suite.
MicahGale Sep 11, 2025
cb6e4ae
Dropped python 3.11 support.
MicahGale Sep 11, 2025
b521220
Merge pull request #807 from idaholab/drop_numpy1
MicahGale Sep 12, 2025
901f234
Setup CI testing for minor release branch.
MicahGale Oct 4, 2025
de54516
Feature: Allowed setting ``cell.fill.universes`` with array of univer…
digvijay-y Oct 5, 2025
c89b8c3
Added test file for issue 736
digvijay-y Oct 5, 2025
d477d35
test file formatting
digvijay-y Oct 5, 2025
dccd529
Updated test_universe.py
digvijay-y Oct 5, 2025
cc38dc1
modified: tests/test_universe.py
digvijay-y Oct 5, 2025
4aade41
modified: tests/test_universe.py
digvijay-y Oct 5, 2025
da01129
Docs: Address review feedback
digvijay-y Oct 6, 2025
7a303a8
update
digvijay-y Oct 6, 2025
8c7348e
doc-test: + >>> cell.fill.universes = np.array([[[1, 2, 0]]])
digvijay-y Oct 6, 2025
9d10b4a
update montepy/data_inputs/fill.py
digvijay-y Oct 6, 2025
f9a1994
imported modules
digvijay-y Oct 6, 2025
101d02b
updated fill.py
digvijay-y Oct 6, 2025
3af1df4
doc_test
digvijay-y Oct 6, 2025
77c0c5f
fix: failing doc-test
digvijay-y Oct 6, 2025
509293f
black universe.py
digvijay-y Oct 6, 2025
42ac8bd
doc-test
digvijay-y Oct 6, 2025
7ea8f94
modified: montepy/universe.py
digvijay-y Oct 6, 2025
9925cb1
Final changes
digvijay-y Oct 6, 2025
b8ad802
Merge branch 'develop' into setting_universe
digvijay-y Oct 6, 2025
5536fc3
Modified fill.py
digvijay-y Oct 7, 2025
0132b0f
exception for undefined new block in mcnp input
kordusas Oct 7, 2025
f3561a5
added block length counter to calculate the line of the extra block…
kordusas Oct 7, 2025
6e00363
testing error raising for the extra input
kordusas Oct 7, 2025
aab3a8a
black formatting
kordusas Oct 7, 2025
13b0bcf
changelog feuture addition
kordusas Oct 7, 2025
5f74b73
changelog addition
kordusas Oct 7, 2025
6c59b5b
Merge branch 'feature/525-detect-empty-lines' of https://github.com/k…
kordusas Oct 7, 2025
e6f8f2f
exception for undefined new block in mcnp input
kordusas Oct 7, 2025
6b62642
added block length counter to calculate the line of the extra block…
kordusas Oct 7, 2025
18b6723
testing error raising for the extra input
kordusas Oct 7, 2025
9fe1ba8
black formatting
kordusas Oct 7, 2025
aa5c1fc
changelog addition
kordusas Oct 7, 2025
7ada573
changelog feuture addition
kordusas Oct 7, 2025
1eb1c95
Merge branch 'feature/525-detect-empty-lines' of https://github.com/k…
kordusas Oct 7, 2025
3ffdd0e
Revert "changelog feuture addition"
kordusas Oct 7, 2025
7d3c955
Revert "changelog addition"
kordusas Oct 7, 2025
d2061cd
correct changelog
kordusas Oct 7, 2025
ad15d13
Merge branch 'minor-rel-dev' into setting_universe
MicahGale Oct 9, 2025
f303190
Updated minimum dependencies for Py 3.14 release.
MicahGale Oct 9, 2025
ce61397
Updated CI workflows to python 3.14 and drop prior to 3.12.
MicahGale Oct 9, 2025
a2fc9a2
Updated test condition for uploading artifacts.
MicahGale Oct 9, 2025
9ac2814
Merge pull request #815 from digvijay-y/setting_universe
MicahGale Oct 9, 2025
e16eaec
Merge branch 'minor-rel-dev' into py314
MicahGale Oct 9, 2025
102c570
Merge pull request #820 from idaholab/py314
MicahGale Oct 9, 2025
772ef0a
Rename hexahedral to rectangular (#822)
tjlaboss Oct 9, 2025
2c5e520
Removed all python 3.9 reminants.
MicahGale Oct 9, 2025
83f60b0
Merge branch 'minor-rel-dev' into py314
MicahGale Oct 9, 2025
1a97ac6
Made change log more descript for deprecations.
MicahGale Oct 9, 2025
565072e
Reorganized changelog.
MicahGale Oct 9, 2025
86c76a7
added input to list of "BAD" inputs
kordusas Oct 10, 2025
eef45f5
bug fix for extra line printing after DATA BLOCK when cell data shoul…
kordusas Oct 10, 2025
a72d083
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 10, 2025
45e2c32
Merge branch 'minor-rel-dev' into py314
MicahGale Oct 10, 2025
bdd1054
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 10, 2025
f06683c
Merge pull request #824 from idaholab/py314
MicahGale Oct 10, 2025
fef1b6b
Wrote simple guide on writing new sphinx autodoc.
MicahGale Oct 11, 2025
5f15a7b
Played around with better Python API documentation.
MicahGale Oct 11, 2025
735fbe3
Expanded submodules with Copilot.
MicahGale Oct 11, 2025
7969f66
Logically grouped API modules
MicahGale Oct 11, 2025
b04b961
Alphebetized sections with copilot, undid a few changes.
MicahGale Oct 11, 2025
3de879f
played around with autosummary.
MicahGale Oct 12, 2025
942420b
played around with autosummary.
MicahGale Oct 12, 2025
b201a11
bug fix comment
kordusas Oct 12, 2025
deaac50
updated the block parsing by using termination and stop parsing after…
kordusas Oct 12, 2025
c7feacd
corrected test according to updated error message
kordusas Oct 12, 2025
c870e04
Fully Implemented autosummary
MicahGale Oct 12, 2025
0f7dd1b
Promoted a few more objects to global scope.
MicahGale Oct 12, 2025
e64fa48
Added useful hidden functions to template.
MicahGale Oct 12, 2025
fea17c5
Documented _problem.
MicahGale Oct 12, 2025
949826c
Deleted all autogenerated templates.
MicahGale Oct 12, 2025
cad294a
Fixed typos in modules.
MicahGale Oct 12, 2025
6362299
Removed test for missing docs.
MicahGale Oct 12, 2025
8fb19e3
Updated dev standards for autosummary.
MicahGale Oct 12, 2025
44f5d57
Gave up on constants docstrings formatting.
MicahGale Oct 12, 2025
b24d8f8
Added #828 to changelog.
MicahGale Oct 12, 2025
2a8749d
changed to isinstance. Comparing obj (last object read in BLOCK) to D…
kordusas Oct 12, 2025
337402a
Merge branch 'feature/525-detect-empty-lines' of https://github.com/k…
kordusas Oct 12, 2025
770a797
fixed \n error
kordusas Oct 12, 2025
2d1b5e5
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 13, 2025
a6e6d23
Update default importance values to 1.0 in Importance class and tests
Kaos599 Oct 13, 2025
0b36db1
added name
Kaos599 Oct 13, 2025
1a9fa0a
Update default importance to 1.0
Kaos599 Oct 14, 2025
1166c79
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 2025
292bf6a
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 14, 2025
88e3e8b
Merge branch 'minor-rel-dev' into doc_update
MicahGale Oct 14, 2025
d6b40e3
Don't make RTD the one to fail on warnings.
MicahGale Oct 14, 2025
18465ca
Added constants back in.
MicahGale Oct 14, 2025
3578e01
Improved a few doc strings I noticed.
MicahGale Oct 14, 2025
a725de0
Feature: Add boundary conditions to surfaces
digvijay-y Oct 14, 2025
7c92e53
Merge branch 'idaholab:develop' into boundary_conditions
digvijay-y Oct 14, 2025
7a96f4a
Get three files back from mass deletion.
MicahGale Oct 14, 2025
ada97ed
Switched back to TOC; gave up on autosummary for modules.
MicahGale Oct 14, 2025
183b574
Removed last remaining module that is documented.
MicahGale Oct 14, 2025
740d48e
__repr__ updated!
digvijay-y Oct 14, 2025
58b4afe
Merge branch 'boundary_conditions' of https://github.com/digvijay-y/M…
digvijay-y Oct 14, 2025
14314da
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 2025
d94b6e2
Merge branch 'minor-rel-dev' into doc_update
tjlaboss Oct 14, 2025
5bccc08
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 2025
5fc7136
Added tests for reflective boundary and adapted doctests for boundary…
digvijay-y Oct 14, 2025
5be95da
Merge branch 'develop' into boundary_conditions
digvijay-y Oct 14, 2025
3b7766f
Merge pull request #823 from idaholab/minor-rel-dev
MicahGale Oct 14, 2025
d3fe090
Merge branch 'develop' into develop
MicahGale Oct 14, 2025
aed4e73
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 14, 2025
8013f44
Merge branch 'develop' into boundary_conditions
MicahGale Oct 14, 2025
82a7dd2
Merge branch 'develop' into doc_update
MicahGale Oct 14, 2025
62e64c0
Merge pull request #828 from idaholab/doc_update
MicahGale Oct 14, 2025
957a1d3
Merge branch 'develop' into boundary_conditions
MicahGale Oct 14, 2025
6f65154
Merge branch 'develop' into develop
MicahGale Oct 14, 2025
6bed6e2
Updated requested changes
digvijay-y Oct 14, 2025
57fa6fc
Merge branch 'boundary_conditions' of https://github.com/digvijay-y/M…
digvijay-y Oct 14, 2025
5c5ccfc
Merge pull request #831 from digvijay-y/boundary_conditions
MicahGale Oct 14, 2025
c2cb81e
Merge branch 'develop' into develop
MicahGale Oct 14, 2025
3bb8e10
Make multiple universe fills accept < 3 dimensions
digvijay-y Oct 15, 2025
1811498
updated description
kordusas Oct 15, 2025
9b3c5c4
updated IF condition
kordusas Oct 15, 2025
6a2c424
Merge branch 'develop' into feature/525-detect-empty-lines
kordusas Oct 15, 2025
9c10c65
Merge branch 'feature/525-detect-empty-lines' of https://github.com/k…
kordusas Oct 15, 2025
d024c3f
.
digvijay-y Oct 16, 2025
1aef3b7
Change Importance class to use _DEFAULT_IMP constant
Kaos599 Oct 16, 2025
2ef5aa8
Merge branch 'develop' of https://github.com/Kaos599/MontePy into dev…
Kaos599 Oct 16, 2025
1fa2950
lint fixes and text line removal
Kaos599 Oct 16, 2025
e069718
Update doctest!
digvijay-y Oct 17, 2025
4a48343
Changes for Doctest
digvijay-y Oct 17, 2025
c55eea6
Black
digvijay-y Oct 17, 2025
78ffd35
doc-build!
digvijay-y Oct 17, 2025
5dd5a50
blank line
digvijay-y Oct 17, 2025
412f404
Merge pull request #835 from digvijay-y/universe_3d
MicahGale Oct 17, 2025
f24db49
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 17, 2025
c7bb0d3
Update ipykernel requirement from ~=6.0 to >=6,<8
dependabot[bot] Oct 20, 2025
1b5b8b4
added tests back
Kaos599 Oct 20, 2025
4057801
Merge branch 'develop' into develop
Kaos599 Oct 20, 2025
45d607d
using return to get out of the generator instead of using bool flag
kordusas Oct 21, 2025
caedfbd
fixed issue of getting errors if there are even more blocks than 4 ..
kordusas Oct 21, 2025
0c05f4e
added comment on issue fix
kordusas Oct 21, 2025
721e90a
Merge branch 'feature/525-detect-empty-lines' of https://github.com/k…
kordusas Oct 21, 2025
7845890
formatting
kordusas Oct 21, 2025
1b9e231
removed leftover redundant lines during testing
kordusas Oct 22, 2025
90eb816
Merge pull request #836 from idaholab/dependabot/pip/ipykernel-gte-6-…
MicahGale Oct 22, 2025
b2ff351
fixing up changelog
kordusas Oct 22, 2025
5e58b8f
Merge branch 'develop' into feature/525-detect-empty-lines
MicahGale Oct 23, 2025
8429ea3
Added issue number to changelog.
MicahGale Oct 23, 2025
95ffa84
Merge pull request #819 from kordusas/feature/525-detect-empty-lines
MicahGale Oct 23, 2025
80d5cbc
Merge branch 'develop' into develop
MicahGale Oct 23, 2025
5e1e2ac
Cleaned up changelog.
MicahGale Oct 24, 2025
bfc41ca
Documented how test black magic works.
MicahGale Oct 24, 2025
05c474b
Revert "added tests back"; Fixed tests
MicahGale Oct 24, 2025
74fb66c
Added warning about the read_write_cycle tests.
MicahGale Oct 24, 2025
d0b7b9f
Handled test case where imp:n isn't always printed.
MicahGale Oct 24, 2025
236dc50
Bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
03a3d22
Bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 27, 2025
e81dd61
Merge pull request #840 from idaholab/dependabot/github_actions/actio…
MicahGale Oct 27, 2025
33c32b8
Merge branch 'develop' into dependabot/github_actions/actions/upload-…
MicahGale Oct 27, 2025
0568e69
Merge pull request #839 from idaholab/dependabot/github_actions/actio…
MicahGale Oct 27, 2025
5856027
Bump sigstore/gh-action-sigstore-python
dependabot[bot] Oct 27, 2025
7412da7
Merge pull request #838 from idaholab/dependabot/github_actions/sigst…
MicahGale Oct 27, 2025
25ce36a
Optimized: numbered_object_collection.check_number()
digvijay-y Oct 27, 2025
8192669
black
digvijay-y Oct 27, 2025
e0b8af9
changelog
digvijay-y Oct 27, 2025
7709500
changelog
digvijay-y Oct 27, 2025
8776d39
modified numbered_object_collection.request_number
digvijay-y Oct 30, 2025
a1fb234
changelog
digvijay-y Oct 30, 2025
645a279
Debug
digvijay-y Oct 30, 2025
a96fc91
changes
digvijay-y Oct 30, 2025
167fd9d
blank lines!
digvijay-y Oct 30, 2025
8a0e7af
Merge pull request #841 from digvijay-y/performance
MicahGale Oct 30, 2025
87338a8
Merge branch 'develop' into develop
MicahGale Oct 31, 2025
18e355e
Got jupyterlite working with pyodide mostly.
MicahGale Nov 1, 2025
4272f68
Tried xeus as a kernel
MicahGale Nov 1, 2025
0b243e7
Revert "Tried xeus as a kernel"
MicahGale Nov 1, 2025
67d1ebb
Added xeus environment.
MicahGale Nov 1, 2025
b2483c9
Revert "Added xeus environment."
MicahGale Nov 1, 2025
ca0a4f5
Added a play area.
MicahGale Nov 1, 2025
8702725
Tried to configure jupyterlite for notebooks.
MicahGale Nov 1, 2025
d9ef237
Tried to put notebooks in different location.
MicahGale Nov 1, 2025
f03f733
Got jupyter notebooks embedded in lab session.
MicahGale Nov 1, 2025
be9800e
Made jupyter integrate more naturally.
MicahGale Nov 1, 2025
e568b13
Configured jupyterlite to use local montepy wheel.
MicahGale Nov 1, 2025
92de5ac
Make a new wheel with every build.
MicahGale Nov 1, 2025
efb3b50
Updated RTD to new build process. Definitely first go.
MicahGale Nov 1, 2025
1694760
Updated notebooks to work with Jupyterlite.
MicahGale Nov 1, 2025
02a5164
Removed other use of cat.
MicahGale Nov 1, 2025
bec7ffb
Make sure jupyterlite files make it into build directory.
MicahGale Nov 1, 2025
4817412
Try 2.
MicahGale Nov 1, 2025
f8b61b4
Moved back to normal build override.
MicahGale Nov 1, 2025
c05aa93
Revert "Moved back to normal build override."
MicahGale Nov 1, 2025
702b43a
Fixed where files are copied from.
MicahGale Nov 1, 2025
e1f513e
Added jupyterlite to changelog.
MicahGale Nov 1, 2025
0fee0f2
Fixed syntax typo in changelog.
MicahGale Nov 3, 2025
592b6a9
Added class link to changelog.
MicahGale Nov 3, 2025
62bc81b
Updated changelog links to actually work.
MicahGale Nov 3, 2025
27fcd80
Switched to testing full make workflow.
MicahGale Nov 3, 2025
d780be7
Fixed indentation.
MicahGale Nov 3, 2025
2d7ba05
ran make from the right directory.
MicahGale Nov 4, 2025
7f4ea13
Made test to replicate #846.
MicahGale Nov 4, 2025
fd3cec8
Banned fmesh.
MicahGale Nov 4, 2025
9a3b3cc
Added #846 to changelog.
MicahGale Nov 4, 2025
a96aef1
Added test example that keeps showing up.
MicahGale Nov 4, 2025
e5ca4d8
Implemented semi-emperical mass formula.
MicahGale Nov 4, 2025
54382af
Debugged SEMF.
MicahGale Nov 4, 2025
ff0772d
Fixed SEMF, I missed the minus signs.
MicahGale Nov 4, 2025
f945834
Merge branch 'develop' into imp_default_fix
MicahGale Nov 12, 2025
a76f628
Merge pull request #1 from MicahGale/imp_default_fix
Kaos599 Nov 16, 2025
c9b335b
Merge pull request #830 from Kaos599/develop
MicahGale Nov 16, 2025
f55e0bc
Merge branch 'develop' into 818-made-up-nuclide
MicahGale Nov 16, 2025
3bd0c8e
Merge branch 'develop' into fmesh_bad_parse
MicahGale Nov 16, 2025
c2805b1
Merge branch 'develop' into jupyterlite
MicahGale Nov 16, 2025
2d91655
Updated fmesh number to be correct.
MicahGale Nov 17, 2025
66e1a95
Merge pull request #850 from idaholab/fmesh_bad_parse
MicahGale Nov 17, 2025
faecec8
Merge branch 'develop' into 818-made-up-nuclide
MicahGale Nov 17, 2025
bd85bdc
Merge pull request #851 from idaholab/818-made-up-nuclide
MicahGale Nov 19, 2025
9cb20e0
Merge branch 'develop' into jupyterlite
MicahGale Nov 19, 2025
eda5488
Made pip install directive only run with pyodide.
MicahGale Nov 20, 2025
4aec918
Deleted garbage parens.
MicahGale Nov 21, 2025
5cb1afc
Merge pull request #843 from idaholab/jupyterlite
MicahGale Nov 21, 2025
75f80ee
Updating changelog to next version: 1.2.0
MicahGale Nov 21, 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
19 changes: 8 additions & 11 deletions .github/workflows/deploy-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[develop]
- run: python -m pytest

Expand All @@ -31,10 +31,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[build]
- name: Get Version
id: get_version
Expand All @@ -43,7 +43,7 @@ jobs:
run: .github/scripts/check_version.py --alpha
- run: python -m build .
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@f909491f27c345faa936da468c9ddfac57cbeb49
uses: sigstore/gh-action-sigstore-python@27dac9cce16c9883a0d4b51c9e0a520102d68016
with:
inputs: >-
./dist/*.tar.gz
Expand All @@ -58,7 +58,7 @@ jobs:
gh release upload
'v${{ steps.get_version.outputs.version }}' dist/**
--repo '${{ github.repository }}'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: build
path: |
Expand All @@ -76,7 +76,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
name: build
path: dist/
Expand All @@ -95,13 +95,10 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
name: build
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e




16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[develop]
- run: python -m pytest

Expand All @@ -32,10 +32,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[build]
- name: Get Version
id: get_version
Expand All @@ -44,7 +44,7 @@ jobs:
run: .github/scripts/check_version.py
- run: python -m build .
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@f909491f27c345faa936da468c9ddfac57cbeb49
uses: sigstore/gh-action-sigstore-python@27dac9cce16c9883a0d4b51c9e0a520102d68016
with:
inputs: >-
./dist/*.tar.gz
Expand All @@ -59,7 +59,7 @@ jobs:
gh release upload
'v${{ steps.get_version.outputs.version }}' dist/**
--repo '${{ github.repository }}'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: build
path: |
Expand All @@ -78,7 +78,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
name: build
path: dist/
Expand All @@ -97,7 +97,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
name: build
path: dist/
Expand Down
55 changes: 26 additions & 29 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: CI testing

on:
pull_request:
branches: [develop, alpha-test-dev, alpha-test]
branches: [develop, alpha-test-dev, alpha-test, minor-rel-dev]
push:
branches: [develop, main, alpha-test]
branches: [develop, main, alpha-test, minor-rel-dev]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v5
Expand Down Expand Up @@ -42,8 +42,8 @@ jobs:
- run: pip install --user . montepy[develop]
- run: pip freeze
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.12'}}
uses: actions/upload-artifact@v5
if: ${{ matrix.python-version == '3.13'}}
with:
name: build
path: dist/*
Expand All @@ -54,12 +54,12 @@ jobs:
actions: write
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
numpy-version: ["1.0", "2.0"]
python-version: ["3.12", "3.13", "3.14"]
numpy-version: ["2.0", "2.3"]
sly-version: ["0.5"]
include:
- python-version: "3.11"
numpy-version: "2.0"
- python-version: "3.13"
numpy-version: "2.3"
sly-version: "0.4"

steps:
Expand All @@ -83,19 +83,19 @@ jobs:
- run: coverage xml
if: ${{ success() || failure() }}
- name: Upload test report
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v5
with:
name: test
path: test_report.xml
- name: Upload coverage report
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v5
with:
name: coverage
path: coverage.xml
- name: Coveralls GitHub Action
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
file: coverage.xml
Expand All @@ -116,18 +116,14 @@ jobs:
- name: set up python 3.12
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[doc,build]
- run: sphinx-build doc/source/ doc/build/html -W --keep-going -E
- run: cd doc && make html SPHINXOPTS="-W --keep-going -E"
name: Build site strictly
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: website
path: doc/build
- name: Test for missing API documentation
run: |
cd doc/source
python _test_for_missing_docs.py
- name: Test for broken hyperlinks
run: |
cd doc
Expand All @@ -141,10 +137,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[doc,build,demo-test,test]
- run: python -m phmutest README.md --replmode --log
name: Test readme code
Expand All @@ -161,11 +157,12 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[format]
- run: black --check montepy/ tests/

Expand All @@ -174,10 +171,10 @@ jobs:

steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[test]
- run: pytest --profile
name: Profile test suite
Expand All @@ -191,10 +188,10 @@ jobs:

steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[test]
- run: python benchmark/benchmark_big_model.py
name: Benchmark against big model
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
__pycache__/
build/*
doc/build
doc/source/api/generated
doc/source/.cache
doc/source/_contents
doc/_output
dist/*
*egg-info/*
*.mcnp
Expand All @@ -11,13 +15,17 @@ htmlcov
.idea/*
*.*.sw*
*.prof
*.whl
*.tar.gz
doc/build/*
.coverage
.hypothesis/
.idea/
.venv/
.ipynb_checkpoints/
montepy/_version.py
.vscode/
.jupyterlite.doit.db

# various testing results
htmlcov
Expand Down
6 changes: 5 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ build:
- git fetch --unshallow || true
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true
- git fetch --all --tags || true
pre_build:
# ensure that all builds have necessary jupyterlite files
- cd doc && make html
- mkdir -p $READTHEDOCS_OUTPUT/html
- cp -r doc/build/html/* "$READTHEDOCS_OUTPUT/html"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: doc/source/conf.py
fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
formats:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
[![PyPI version](https://badge.fury.io/py/montepy.svg)](https://badge.fury.io/py/montepy)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/montepy.svg)](https://anaconda.org/conda-forge/montepy)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/montepy.svg)](https://pypi.org/project/montepy/)
[![SPEC 0 — Minimum Supported Dependencies](https://img.shields.io/badge/SPEC-0-green?labelColor=%23004811&color=%235CA038)](https://scientific-python.org/specs/spec-0000/)

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15185506.svg)](https://doi.org/10.5281/zenodo.15185506)

Expand Down
8 changes: 7 additions & 1 deletion demo/0_IntroToMontePy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@
},
"outputs": [],
"source": [
"#note this install_montepy is only necessary for jupyterlite; You don't need to use it locally\n",
"from _config import install_montepy\n",
"install_montepy()\n",
"\n",
"import montepy\n",
"\n",
"problem = montepy.read_input(\"models/pin_cell.imcnp\")\n",
Expand Down Expand Up @@ -424,6 +428,8 @@
},
"outputs": [],
"source": [
"#note this %pip is only needed for running in jupyterlite online\n",
"%pip install ipython\n",
"from _config import IFrame\n",
"\n",
"IFrame(\"https://www.montepy.org/en/stable/\")"
Expand Down Expand Up @@ -772,7 +778,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.2"
"version": "3.13.5"
},
"rise": {
"scroll": true,
Expand Down
9 changes: 7 additions & 2 deletions demo/1_PinCellCorrection_inter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
},
"outputs": [],
"source": [
"!cat models/pin_cell.imcnp"
"with open(\"models/pin_cell.imcnp\") as fh:\n",
" print(fh.read())"
]
},
{
Expand Down Expand Up @@ -120,6 +121,10 @@
},
"outputs": [],
"source": [
"#note this install_montepy is only necessary for jupyterlite; You don't need to use it locally\n",
"from _config import install_montepy\n",
"install_montepy()\n",
"\n",
"# actually needed\n",
"import montepy\n",
"import numpy as np\n",
Expand Down Expand Up @@ -1360,7 +1365,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.2"
"version": "3.13.5"
},
"rise": {
"scroll": true,
Expand Down
Loading
Loading