Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5d9b349
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
76a537c
Merge pull request #857 from idaholab/dependabot/github_actions/actio…
MicahGale Nov 24, 2025
7ba2b7e
Bump coverallsapp/github-action from 2.3.6 to 2.3.7
dependabot[bot] Nov 24, 2025
35fb8e8
Merge pull request #856 from idaholab/dependabot/github_actions/cover…
MicahGale Nov 24, 2025
cc5cf6f
Made MontePy mission more assertive.
MicahGale Dec 4, 2025
806aa2c
Bump sigstore/gh-action-sigstore-python
dependabot[bot] Dec 8, 2025
846e4fe
Merge pull request #861 from idaholab/dependabot/github_actions/sigst…
MicahGale Dec 8, 2025
b12c6fc
Figured out how to synchronize the piplite call.
MicahGale Dec 9, 2025
ed7e79a
Merge branch 'develop' into doc_update
MicahGale Dec 9, 2025
be887f1
Fixed RST formatting of old changelogs.
MicahGale Dec 9, 2025
8caa2c5
Bump actions/download-artifact from 6 to 7
dependabot[bot] Dec 15, 2025
0516378
Merge pull request #864 from idaholab/dependabot/github_actions/actio…
MicahGale Dec 15, 2025
c4f7677
Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
1ae5e56
Merge pull request #865 from idaholab/dependabot/github_actions/actio…
MicahGale Dec 15, 2025
ac43848
Fixed lattice docstrings.
MicahGale Dec 16, 2025
5657e00
Updated all links hopefully.
MicahGale Dec 16, 2025
1dd1fd3
Updated cell docstrings for lattice.
MicahGale Dec 16, 2025
3a3233f
Black formatted code.
MicahGale Dec 17, 2025
e309a33
Made script to update URLs in answer key.
MicahGale Dec 18, 2025
2344348
Made URL finder more broad.
MicahGale Dec 18, 2025
f414b55
Updated URLS in answer key.
MicahGale Dec 18, 2025
f9c805f
Updated some straggler URLs.
MicahGale Dec 18, 2025
d7d6a7a
Merge branch 'develop' into doc_update
MicahGale Dec 18, 2025
de2c2da
Found a few more broken URLs.
MicahGale Dec 18, 2025
5d16fde
Made URL replacement system detect markdown and multiple URLs.
MicahGale Dec 18, 2025
d22c78e
Auto updated URLs
MicahGale Dec 18, 2025
7d84dab
Manually fixed URLs that were incorrectly found and replaced.
MicahGale Dec 18, 2025
c31d5e3
Merge pull request #862 from idaholab/doc_update
MicahGale Dec 18, 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
50 changes: 50 additions & 0 deletions .github/scripts/copy_url_diff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import collections as co
import glob
import os
import re
import shutil
import sys

URL_FINDER = re.compile(r'("(https://.+?)\\"|\((https://.+?)\))')
REMOVE_FINDER = re.compile(r"^-")
ADD_FINDER = re.compile(r"^\+")


def map_urls(patch_file):
urls = {}
queue = co.deque()
with open(patch_file, "r") as fh:
for line in fh:
# removed line
if REMOVE_FINDER.match(line):
for match in URL_FINDER.finditer(line):
groups = [g for g in match.groups() if g is not None]
queue.append(groups[-1]) # get url
# add line that will be replacements
elif ADD_FINDER.match(line):
for match in URL_FINDER.finditer(line):
groups = [g for g in match.groups() if g is not None]
urls[queue.popleft()] = groups[-1]
return urls


def replace_urls(urls, path):
shutil.copy(path, f"{path}.bak")
with open(f"{path}.bak", "r") as in_fh, open(path, "w") as out_fh:
for line in in_fh:
old_line = line
for old_url, new_url in urls.items():
line = line.replace(old_url, new_url)
out_fh.write(line)
os.remove(f"{path}.bak")


def main():
urls = map_urls(sys.argv[1])
for path in glob.glob("demo/answers/*.ipynb"):
print(path)
replace_urls(urls, path)


if __name__ == "__main__":
main()
12 changes: 6 additions & 6 deletions .github/workflows/deploy-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
last-minute-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python 3.14
uses: actions/setup-python@v6
with:
Expand All @@ -27,7 +27,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
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@27dac9cce16c9883a0d4b51c9e0a520102d68016
uses: sigstore/gh-action-sigstore-python@cd06a1783504a0c8e550f0d0cd47d3bbae8d71bd
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@v5
- uses: actions/upload-artifact@v6
with:
name: build
path: |
Expand All @@ -76,7 +76,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: build
path: dist/
Expand All @@ -95,7 +95,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: build
path: dist/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
last-minute-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python 3.14
uses: actions/setup-python@v6
with:
Expand All @@ -28,7 +28,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
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@27dac9cce16c9883a0d4b51c9e0a520102d68016
uses: sigstore/gh-action-sigstore-python@cd06a1783504a0c8e550f0d0cd47d3bbae8d71bd
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@v5
- uses: actions/upload-artifact@v6
with:
name: build
path: |
Expand All @@ -78,7 +78,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: build
path: dist/
Expand All @@ -97,7 +97,7 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: build
path: dist/
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
python-version: ["3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
- run: pip install --user . montepy[develop]
- run: pip freeze
- name: Upload build artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: ${{ matrix.python-version == '3.13'}}
with:
name: build
Expand All @@ -63,7 +63,7 @@ jobs:
sly-version: "0.4"

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
Expand All @@ -84,19 +84,19 @@ jobs:
if: ${{ success() || failure() }}
- name: Upload test report
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: test
path: test_report.xml
- name: Upload coverage report
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: coverage
path: coverage.xml
- name: Coveralls GitHub Action
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e
with:
file: coverage.xml
fail-on-error: false
Expand All @@ -109,7 +109,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand All @@ -120,7 +120,7 @@ jobs:
- run: pip install . montepy[doc,build]
- run: cd doc && make html SPHINXOPTS="-W --keep-going -E"
name: Build site strictly
- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
with:
name: website
path: doc/build
Expand All @@ -133,7 +133,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand All @@ -158,7 +158,7 @@ jobs:

steps:

- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python 3.14
uses: actions/setup-python@v6
with:
Expand All @@ -170,7 +170,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python 3.14
uses: actions/setup-python@v6
with:
Expand All @@ -187,7 +187,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: set up python 3.14
uses: actions/setup-python@v6
with:
Expand All @@ -202,7 +202,7 @@ jobs:
if: github.ref != 'refs/heads/main'

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Check for changes
uses: dorny/paths-filter@v3
id: changes
Expand Down
4 changes: 2 additions & 2 deletions demo/0_IntroToMontePy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
},
"outputs": [],
"source": [
"IFrame(\"https://www.montepy.org/en/v1.0.0a1/api/modules.html\")"
"IFrame(\"https://www.montepy.org/en/stable/api/modules.html\")"
]
},
{
Expand Down Expand Up @@ -582,7 +582,7 @@
},
"outputs": [],
"source": [
"IFrame(\"https://www.montepy.org/en/v1.0.0a1/api/modules.html\")"
"IFrame(\"https://www.montepy.org/en/stable/api/modules.html\")"
]
},
{
Expand Down
Loading
Loading