Skip to content

Commit d7c8907

Browse files
authored
fix: scheduler template (#110)
Some small fixes I noticed when deploying [snakemake-scheduler-plugin-firstfit](https://github.com/snakemake/snakemake-scheduler-plugin-firstfit): - run build in `dev` env - install `build` instead of `python-build` - add token to `release-please`
1 parent 6f7ed82 commit d7c8907

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

snakedeploy/scaffold_plugins/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def save_pyproject(pyproject):
8282
"coverage",
8383
"pytest",
8484
"twine",
85-
"python-build",
85+
"build",
8686
]
8787
if self.include_snakemake_dev_dependency():
8888
dev_deps.append("snakemake")

snakedeploy/templates/plugins/release_please.yml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
release-type: python
2121
package-name: {{ pyproject["project"]["name"] }}
22+
token: {{ "${{ secrets.RELEASE_PLEASE_PR_CI_TOKEN }}" }}
2223

2324
publish:
2425
runs-on: ubuntu-latest
@@ -36,7 +37,7 @@ jobs:
3637

3738
- name: Build source and wheel distribution + check build
3839
run: |
39-
pixi run check-build
40+
pixi run -e dev check-build
4041

4142
- name: Publish to PyPI
4243
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)