Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 3f79959
_commit: fb67133
_src_path: gh:scipp/copier_template
description: 'Python package to read McStas data and export as python objects in different
formats or as other files.


'
max_python: '3.12'
max_python: '3.13'
min_python: '3.10'
namespace_package: ''
nightly_deps: scipp,scippnexus,mcstasscript
nightly_deps: scipp,scippnexus,mccode-dev/mcstasscript@master
orgname: mccode-dev
prettyname: McStasToX
projectname: mcstastox
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
default: ''
required: false
type: string
linkcheck:
description: 'Run the link checker. If not set the link checker will not be run.'
default: false
required: false
type: boolean
workflow_call:
inputs:
publish:
Expand Down Expand Up @@ -61,7 +66,7 @@ jobs:
init-shell: bash
environment-name: mcstas
create-args: >-
python=3.10
python=3.11

# Manually building the docs.
# We(I) couldn't figure out how we do it with `tox` yet...
Expand All @@ -83,8 +88,9 @@ jobs:
# Cleaned up the docs.
# - run: tox -e docs
# if: ${{ inputs.version == '' }}
- run: tox -e linkcheck
if: ${{ inputs.linkcheck }}
# Skipping linkcheck for now, as it is not working properly with the current setup.
# - run: tox -e linkcheck
# if: ${{ inputs.linkcheck }}
- uses: actions/upload-artifact@v4
id: artifact-upload-step
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-version-ci
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.11
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ repos:
- id: codespell
additional_dependencies:
- tomli
exclude_types:
- svg
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
Expand Down
26 changes: 14 additions & 12 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SHA1:71599ba43d91f48fe12c77a04387fed02d7e5c52
#
# This file is autogenerated by pip-compile-multi
# This file was generated by pip-compile-multi.
# To update, run:
#
# pip-compile-multi
# requirements upgrade
#
asttokens==3.0.0
# via stack-data
Expand All @@ -17,22 +17,22 @@ decorator==5.2.1
# via ipython
dill==0.3.5.1
# via libpyvinyl
exceptiongroup==1.2.2
# via ipython
executing==2.2.0
# via stack-data
flexcache==0.3
# via pint
flexparser==0.4
# via pint
fonttools==4.57.0
fonttools==4.58.1
# via matplotlib
h5py==3.13.0
# via
# -r base.in
# libpyvinyl
ipython==8.36.0
ipython==9.3.0
# via ipywidgets
ipython-pygments-lexers==1.1.1
# via ipython
ipywidgets==8.1.7
# via mcstasscript
jedi==0.19.2
Expand All @@ -47,13 +47,13 @@ kiwisolver==1.4.8
# via matplotlib
libpyvinyl==1.3.0
# via mcstasscript
matplotlib==3.10.1
matplotlib==3.10.3
# via mcstasscript
matplotlib-inline==0.1.7
# via ipython
mcstasscript==0.0.74
# via -r base.in
numpy==2.2.5
numpy==2.2.6
# via
# -r base.in
# contourpy
Expand All @@ -73,7 +73,7 @@ pillow==11.2.1
# via matplotlib
pint==0.24.4
# via libpyvinyl
platformdirs==4.3.7
platformdirs==4.3.8
# via pint
prompt-toolkit==3.0.51
# via ipython
Expand All @@ -82,16 +82,18 @@ ptyprocess==0.7.0
pure-eval==0.2.3
# via stack-data
pygments==2.19.1
# via ipython
# via
# ipython
# ipython-pygments-lexers
pyparsing==3.2.3
# via matplotlib
python-dateutil==2.9.0.post0
# via matplotlib
pyyaml==6.0.2
# via mcstasscript
scipp==25.5.0
scipp==25.5.1
# via -r base.in
scipy==1.15.2
scipy==1.15.3
# via libpyvinyl
six==1.17.0
# via python-dateutil
Expand Down
10 changes: 3 additions & 7 deletions requirements/basetest.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# SHA1:0eaa389e1fdb3a1917c0f987514bd561be5718ee
#
# This file is autogenerated by pip-compile-multi
# This file was generated by pip-compile-multi.
# To update, run:
#
# pip-compile-multi
# requirements upgrade
#
exceptiongroup==1.2.2
# via pytest
iniconfig==2.1.0
# via pytest
packaging==25.0
# via pytest
pluggy==1.5.0
pluggy==1.6.0
# via pytest
pytest==8.3.5
# via -r basetest.in
tomli==2.2.1
# via pytest
22 changes: 8 additions & 14 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SHA1:6344d52635ea11dca331a3bc6eb1833c4c64d585
#
# This file is autogenerated by pip-compile-multi
# This file was generated by pip-compile-multi.
# To update, run:
#
# pip-compile-multi
# requirements upgrade
#
cachetools==5.5.2
cachetools==6.0.0
# via tox
certifi==2025.4.26
# via requests
Expand All @@ -32,27 +32,21 @@ packaging==25.0
# -r ci.in
# pyproject-api
# tox
platformdirs==4.3.7
platformdirs==4.3.8
# via
# tox
# virtualenv
pluggy==1.5.0
pluggy==1.6.0
# via tox
pyproject-api==1.9.0
pyproject-api==1.9.1
# via tox
requests==2.32.3
# via -r ci.in
smmap==5.0.2
# via gitdb
tomli==2.2.1
# via
# pyproject-api
# tox
tox==4.25.0
tox==4.26.0
# via -r ci.in
typing-extensions==4.13.2
# via tox
urllib3==2.4.0
# via requests
virtualenv==20.31.1
virtualenv==20.31.2
# via tox
26 changes: 12 additions & 14 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SHA1:efd19a3a98c69fc3d6d6233ed855de7e4a208f74
#
# This file is autogenerated by pip-compile-multi
# This file was generated by pip-compile-multi.
# To update, run:
#
# pip-compile-multi
# requirements upgrade
#
-r base.txt
-r ci.txt
Expand All @@ -28,13 +28,13 @@ async-lru==2.0.5
# via jupyterlab
cffi==1.17.1
# via argon2-cffi-bindings
click==8.1.8
click==8.2.1
# via
# pip-compile-multi
# pip-tools
copier==9.7.1
# via -r dev.in
dunamai==1.23.1
dunamai==1.24.1
# via copier
fqdn==1.5.1
# via jsonschema
Expand All @@ -54,7 +54,7 @@ json5==0.12.0
# via jupyterlab-server
jsonpointer==3.0.0
# via jsonschema
jsonschema[format-nongpl]==4.23.0
jsonschema[format-nongpl]==4.24.0
# via
# jupyter-events
# jupyterlab-server
Expand All @@ -63,35 +63,33 @@ jupyter-events==0.12.0
# via jupyter-server
jupyter-lsp==2.2.5
# via jupyterlab
jupyter-server==2.15.0
jupyter-server==2.16.0
# via
# jupyter-lsp
# jupyterlab
# jupyterlab-server
# notebook-shim
jupyter-server-terminals==0.5.3
# via jupyter-server
jupyterlab==4.4.1
jupyterlab==4.4.3
# via -r dev.in
jupyterlab-server==2.27.3
# via jupyterlab
notebook-shim==0.2.4
# via jupyterlab
overrides==7.7.0
# via jupyter-server
pathspec==0.12.1
# via copier
pip-compile-multi==3.0.0
pip-compile-multi==3.1.0
# via -r dev.in
pip-tools==7.4.1
# via pip-compile-multi
plumbum==1.9.0
# via copier
prometheus-client==0.21.1
prometheus-client==0.22.0
# via jupyter-server
pycparser==2.22
# via cffi
pydantic==2.11.4
pydantic==2.11.5
# via copier
pydantic-core==2.33.2
# via pydantic
Expand All @@ -117,9 +115,9 @@ terminado==0.18.1
# jupyter-server-terminals
toposort==1.10
# via pip-compile-multi
types-python-dateutil==2.9.0.20241206
types-python-dateutil==2.9.0.20250516
# via arrow
typing-inspection==0.4.0
typing-inspection==0.4.1
# via pydantic
uri-template==1.3.0
# via jsonschema
Expand Down
1 change: 1 addition & 0 deletions requirements/docs.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ sphinx-design
matplotlib
plopp[all]
pythreejs # For instrument view.
tornado>=6.5
23 changes: 11 additions & 12 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SHA1:cae1ff02569954d20815f31620bae3df07ce2023
# SHA1:0d52e50f6b796c56d033d1a298f9f2eb4686aed2
#
# This file is autogenerated by pip-compile-multi
# This file was generated by pip-compile-multi.
# To update, run:
#
# pip-compile-multi
# requirements upgrade
#
-r base.txt
accessible-pygments==0.0.5
Expand Down Expand Up @@ -60,15 +60,15 @@ jinja2==3.1.6
# nbconvert
# nbsphinx
# sphinx
jsonschema==4.23.0
jsonschema==4.24.0
# via nbformat
jsonschema-specifications==2025.4.1
# via jsonschema
jupyter-client==8.6.3
# via
# ipykernel
# nbclient
jupyter-core==5.7.2
jupyter-core==5.8.1
# via
# ipykernel
# jupyter-client
Expand All @@ -93,7 +93,7 @@ mdurl==0.1.2
# via markdown-it-py
mistune==3.1.3
# via nbconvert
mpltoolbox==25.4.0
mpltoolbox==25.5.0
# via plopp
myst-parser==4.0.1
# via -r docs.in
Expand All @@ -112,7 +112,7 @@ nest-asyncio==1.6.0
# via ipykernel
pandocfilters==1.5.1
# via nbconvert
plopp[all]==25.4.1
plopp[all]==25.6.0
# via -r docs.in
psutil==7.0.0
# via ipykernel
Expand All @@ -132,11 +132,11 @@ referencing==0.36.2
# jsonschema-specifications
requests==2.32.3
# via sphinx
rpds-py==0.24.0
rpds-py==0.25.1
# via
# jsonschema
# referencing
snowballstemmer==2.2.0
snowballstemmer==3.0.1
# via sphinx
soupsieve==2.7
# via beautifulsoup4
Expand Down Expand Up @@ -169,10 +169,9 @@ sphinxcontrib-serializinghtml==2.0.0
# via sphinx
tinycss2==1.4.0
# via bleach
tomli==2.2.1
# via sphinx
tornado==6.4.2
tornado==6.5.1
# via
# -r docs.in
# ipykernel
# jupyter-client
traittypes==0.2.1
Expand Down
Loading
Loading