Skip to content

Commit 1e28686

Browse files
authored
Merge pull request #622 from scipp/copier-update
Copier update
2 parents 85ec591 + b32338b commit 1e28686

File tree

15 files changed

+51
-22
lines changed

15 files changed

+51
-22
lines changed

.buildconfig/ci-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies:
3535
# docs
3636
- myst-parser==4.0.0
3737
- nbsphinx==0.9.5
38-
- packaging==24.1
38+
- packaging==25.0
3939
- pandoc==3.4.0
4040
- pydata-sphinx-theme==0.16.0
4141
- sphinx==8.1.3

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: 18e7005
2+
_commit: 3f79959
33
_src_path: gh:scipp/copier_template
44
description: Neutron scattering tools for Data Reduction
55
max_python: '3.13'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
if: github.event_name == 'release' && github.event.action == 'published'
6969
steps:
7070
- uses: actions/download-artifact@v4
71-
- uses: pypa/gh-action-pypi-publish@v1.8.14
71+
- uses: pypa/gh-action-pypi-publish@v1.12.4
7272

7373
upload_conda:
7474
name: Deploy Conda

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ venv
1414
.venv
1515

1616
# Caches
17+
*.DS_Store
1718
.clangd/
1819
*.ipynb_checkpoints
1920
__pycache__/

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
args: [ "--drop-empty-cells",
2424
"--extra-keys 'metadata.language_info.version cell.metadata.jp-MarkdownHeadingCollapsed cell.metadata.pycharm'" ]
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.9.10
26+
rev: v0.11.8
2727
hooks:
2828
- id: ruff
2929
args: [ --fix ]

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,11 @@ def do_not_plot(*args, **kwargs):
293293
'https://github.com/scipp/scipp/pull/[0-9]+',
294294
# This returns '403 Forbidden' but the link works in a browser.
295295
'https://opensource.org/licenses/BSD-3-Clause',
296-
# This returns '403 Forbidden' but the link works in a browser.
297-
'https://doi.org/10.1080/10448639208218770',
298296
# We get 403 Forbidden for this for some reason; works in a browser, though.
299297
'https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier',
298+
# Linkcheck seems to be denied access by some DOI resolvers.
299+
# Since DOIs are supposed to be permanent, we don't need to check them.'
300+
r'https://doi\.org/',
300301
]
301302

302303
# -- Options for bibtex ---------------------------------------------------

docs/index.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
1-
# ScippNeutron
1+
:::{image} _static/logo.svg
2+
:class: only-light
3+
:alt: ScippNeutron
4+
:width: 60%
5+
:align: center
6+
:::
7+
:::{image} _static/logo-dark.svg
8+
:class: only-dark
9+
:alt: ScippNeutron
10+
:width: 60%
11+
:align: center
12+
:::
13+
14+
```{raw} html
15+
<style>
16+
.transparent {display: none; visibility: hidden;}
17+
.transparent + a.headerlink {display: none; visibility: hidden;}
18+
</style>
19+
```
20+
21+
```{role} transparent
22+
```
23+
24+
# {transparent}`ScippNeutron`
225

3-
<span style="font-size:1.2em;font-style:italic;color:#5a5a5a">
4-
Neutron scattering tools for Data Reduction powered by Scipp.
26+
<div style="font-size:1.2em;font-style:italic;color:var(--pst-color-text-muted);text-align:center;">
27+
Neutron scattering tools for Data Reduction
528
</br></br>
6-
</span>
29+
</div>
730

831
:::{include} user-guide/installation.md
932
:heading-offset: 1
1033
:::
1134

1235
## Get in touch
1336

14-
- If you have questions that are not answered by these documentation pages, ask on [GitHub discussions](https://github.com/orgs/scipp/discussions). Please include a self-contained reproducible example if possible.
37+
- If you have questions that are not answered by these documentation pages, ask on [discussions](https://github.com/scipp/scippneutron/discussions). Please include a self-contained reproducible example if possible.
1538
- Report bugs (including unclear, missing, or wrong documentation!), suggest features or view the source code [on GitHub](https://github.com/scipp/scippneutron).
1639

1740
```{toctree}

docs/user-guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# User Guide
22

33
```{toctree}
4+
---
5+
maxdepth: 1
6+
---
7+
48
installation
59
chopper/index
610
coordinate-transformations
@@ -12,3 +16,4 @@ masking-tool
1216
algorithms-background/index
1317
absorption-correction
1418
```
19+

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools>=68",
3+
"setuptools>=77",
44
"setuptools_scm[toml]>=8.0",
55
]
66
build-backend = "setuptools.build_meta"
@@ -9,11 +9,11 @@ build-backend = "setuptools.build_meta"
99
name = "scippneutron"
1010
description = "Neutron scattering tools for Data Reduction"
1111
authors = [{ name = "Scipp contributors" }]
12-
license = { file = "LICENSE" }
12+
license = "BSD-3-Clause"
13+
license-files = ["LICENSE"]
1314
readme = "README.md"
1415
classifiers = [
1516
"Intended Audience :: Science/Research",
16-
"License :: OSI Approved :: BSD License",
1717
"Natural Language :: English",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python :: 3",

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ numpy==2.2.3
4444
# mpltoolbox
4545
# scipp
4646
# scipy
47-
packaging==24.2
47+
packaging==25.0
4848
# via
4949
# lazy-loader
5050
# matplotlib

0 commit comments

Comments
 (0)