Skip to content

Commit 2f6d1f2

Browse files
committed
Fix doc action. Skip sdist deploy since we have a compiled extension.
1 parent 78124f3 commit 2f6d1f2

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14-
env:
15-
TWINE_USERNAME: __token__
16-
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
17-
1814
jobs:
1915
build_wheels:
2016
name: Build wheel for cp${{ matrix.python }}-${{ matrix.builder }}_${{ matrix.arch }}
@@ -115,22 +111,8 @@ jobs:
115111
run: |
116112
python -m cibuildwheel --output-dir wheelhouse
117113
118-
build_sdist:
119-
name: Build source distribution
120-
runs-on: ubuntu-latest
121-
steps:
122-
- uses: actions/checkout@v4
123-
124-
- name: Build sdist
125-
run: pipx run build --sdist
126-
127-
- uses: actions/upload-artifact@v4
128-
with:
129-
name: flacarray-sdist
130-
path: dist/*.tar.gz
131-
132114
upload_pypi:
133-
needs: [build_wheels, build_sdist]
115+
needs: build_wheels
134116
runs-on: ubuntu-latest
135117
permissions:
136118
id-token: write

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ jobs:
3838
mkdocs-material-
3939
4040
- name: Install Dependencies
41+
# AttributeError: 'MathBlockParser' object has no attribute 'parse_axt_heading'
42+
# https://github.com/jupyter/nbconvert/issues/2198
43+
# mistune = "<3.1"
4144
run: |
42-
pip install mkdocs mkdocstrings mkdocstrings-python mkdocs-material mkdocs-material-extensions mkdocs-jupyter
45+
pip install mkdocs mkdocstrings mkdocstrings-python mkdocs-material mkdocs-material-extensions mkdocs-jupyter "mistune<3.1"
4346
git config user.name 'github-actions[bot]'
4447
git config user.email 'github-actions[bot]@users.noreply.github.com'
4548

0 commit comments

Comments
 (0)