Skip to content

Commit a07792b

Browse files
authored
Merge pull request #85 from MridulS/wheel_build
copier update to bump pypi publish action
2 parents 7e5be2b + 538070a commit a07792b

File tree

8 files changed

+59
-5
lines changed

8 files changed

+59
-5
lines changed

.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: 5c4fd02
2+
_commit: cdbfd9c
33
_src_path: gh:scipp/copier_template
44
description: Polarization data reduction for the European Spallation Source
55
max_python: '3.13'

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ jobs:
6565
- run: tox -e linkcheck
6666
if: ${{ inputs.linkcheck }}
6767
- uses: actions/upload-artifact@v4
68+
id: artifact-upload-step
6869
with:
6970
name: docs_html
7071
path: html/
72+
- run: echo "::notice::https://remote-unzip.deno.dev/${{ github.repository }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}"
7173

72-
- uses: JamesIves/[email protected].2
74+
- uses: JamesIves/[email protected].3
7375
if: ${{ inputs.publish }}
7476
with:
7577
branch: gh-pages

.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__/

docs/index.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,42 @@
1-
# ESSpolarization
1+
:::{image} _static/logo.svg
2+
:class: only-light
3+
:alt: ESSpolarization
4+
:width: 60%
5+
:align: center
6+
:::
7+
:::{image} _static/logo-dark.svg
8+
:class: only-dark
9+
:alt: ESSpolarization
10+
:width: 60%
11+
:align: center
12+
:::
213

3-
<span style="font-size:1.2em;font-style:italic;color:#5a5a5a">
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}`ESSpolarization`
25+
26+
<span style="font-size:1.2em;font-style:italic;color:var(--pst-color-text-muted)">
427
Polarization data reduction for the European Spallation Source
528
</br></br>
629
</span>
730

31+
:::{include} user-guide/installation.md
32+
:heading-offset: 1
33+
:::
34+
35+
## Get in touch
36+
37+
- If you have questions that are not answered by these documentation pages, ask on [discussions](https://github.com/scipp/esspolarization/discussions). Please include a self-contained reproducible example if possible.
38+
- Report bugs (including unclear, missing, or wrong documentation!), suggest features or view the source code [on GitHub](https://github.com/scipp/esspolarization).
39+
840
```{toctree}
941
---
1042
hidden:

docs/user-guide/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ workflow
3333
sans-polarization-analysis-methodology
3434
inverse_of_polarization_matrices
3535
zoom
36+
installation
3637
```

docs/user-guide/installation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Installation
2+
3+
To install ESSpolarization and all of its dependencies, use
4+
5+
`````{tab-set}
6+
````{tab-item} pip
7+
```sh
8+
pip install esspolarization
9+
```
10+
````
11+
````{tab-item} conda
12+
```sh
13+
conda install -c conda-forge -c scipp esspolarization
14+
```
15+
````
16+
`````

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ description = Update dependencies by running pip-compile-multi
6464
deps =
6565
pip-compile-multi
6666
tomli
67+
# Avoid https://github.com/jazzband/pip-tools/issues/2131
68+
pip==24.2
6769
skip_install = true
6870
changedir = requirements
6971
commands = python ./make_base.py --nightly scipp,sciline,scippnexus

0 commit comments

Comments
 (0)