Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 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
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
a72d083
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 10, 2025
45e2c32
Merge branch 'minor-rel-dev' into py314
MicahGale Oct 10, 2025
f06683c
Merge pull request #824 from idaholab/py314
MicahGale Oct 10, 2025
1166c79
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 2025
14314da
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 2025
5bccc08
Merge branch 'develop' into minor-rel-dev
MicahGale Oct 14, 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
11 changes: 4 additions & 7 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 Down Expand Up @@ -102,6 +102,3 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e




8 changes: 4 additions & 4 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 Down
41 changes: 21 additions & 20 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 @@ -43,7 +43,7 @@ jobs:
- run: pip freeze
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.12'}}
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() )}}
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v4
with:
name: test
path: test_report.xml
- name: Upload coverage report
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: actions/upload-artifact@v4
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,7 +116,7 @@ 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
name: Build site strictly
Expand All @@ -141,10 +141,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 +161,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 +175,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 +192,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
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
28 changes: 25 additions & 3 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@
MontePy Changelog
*****************

1.2 releases
============

#Next Version#
--------------


**Features Added**

* Make `LatticeType.RECTANGULAR` and `LatticeType.HEXAHEDRAL` synonymous (:issue:`808`).
* Allow setting ``cell.fill.universes`` with a numpy array of universe IDs (:issue:`736`).

**Bugs Fixed**

* Fixed bug where lines that were the allowed length was raising a ``LineOverRunWarning`` when read by MontePy (:issue:`517`).
* Added descriptive TypeError messages (:issue:`801`)

**Documentation**

* Improved documentation for NumberedObjectCollections on Slicing behavior. (:issue:`798`)

**Deprecations**

* Dropped support for python 3.9 through 3.11, and numpy 1.26 in order to comply with `SPEC 0 <https://scientific-python.org/specs/spec-0000/>`_ (:issue:`780`).

1.1 releases
============

Expand All @@ -15,11 +40,8 @@ MontePy Changelog
**Bugs Fixed**

* Fixed bug where lines that were the allowed length was raising a ``LineOverRunWarning`` when read by MontePy (:issue:`517`).

* Added descriptive TypeError messages (:issue:`801`)



1.1.2
--------------

Expand Down
2 changes: 2 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@
"manual63": (UM63 + "#subsection.%s", "MCNP 6.3.0 manual § %s"),
"manual63part": (UM63 + "#part.%s", "MCNP 6.3.0 manual part %s"),
"manual63chapter": (UM63 + "#chapter.%s", "MCNP 6.3.0 manual Ch. %s"),
"manual63sub": (UM63 + "#subsubsection.%s", "MCNP 6.3.0 manual § %s"),
# MCNP 6.3.1 User's Manual
"manual631sec": (UM631 + "#section.%s", "MCNP 6.3.1 manual § %s"),
"manual631": (UM631 + "#subsection.%s", "MCNP 6.3.1 manual § %s"),
"manual631part": (UM631 + "#part.%s", "MCNP 6.3.1 manual part %s"),
"manual631chapter": (UM631 + "#chapter.%s", "MCNP 6.3.1 manual Ch. %s"),
"manual631sub": (UM631 + "#subsubsection.%s", "MCNP 6.3.1 manual § %s"),
# MCNP 6.2 User's manual
"manual62": (UM62 + "#page=%s", "MCNP 6.2 manual p. %s"),
"issue": ("https://github.com/idaholab/MontePy/issues/%s", "#%s"),
Expand Down
15 changes: 15 additions & 0 deletions doc/source/dev_standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ Here is a quick summary of release types used, that is not meant to be authorita
Features are not locked at this point, and may change.
This is signified by adding ``a\d+`` to the end of the *next* release.

Dependency Support
------------------

MontePy has adopted `SPEC 0 <https://scientific-python.org/specs/spec-0000/>`_.

This project supports:

* All minor versions of Python released 36 months prior to the project, and at minimum the two latest minor versions.

* All minor versions of numpy released in the 24 months prior to the project, and at minimum the last three minor versions.
* In ``pyproject.toml``, the ``requires-python`` variable should be set to the minimum supported version of Python. All supported minor versions of Python should be in the test matrix and have binary artifacts built for the release.

Minimum Python and NumPy version support should be adjusted upward on every major and minor release, but never on a patch release.



Design Philosophy
-----------------
Expand Down
1 change: 0 additions & 1 deletion montepy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import glob
import montepy
from pathlib import Path
import sys

"""
Module to make module executable from CLI.
Expand Down
Loading