Skip to content

Commit

Permalink
skip pyproject check when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Apr 25, 2024
1 parent 029fc45 commit 460c3cf
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .jupyter-releaser.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
before-build-npm = [
"python -m pip install jupyterlab~=4.0",
"jlpm",
"jlpm build:prod"
]
before-build-python = [
"jlpm clean:all"
"jlpm build:prod",
]
before-build-python = ["jlpm clean:all"]

[options]
version-cmd = "../../scripts/bump-version.sh"
python_packages = [
"packages/jupyter-ai:jupyter-ai",
"packages/jupyter-ai-magics:jupyter-ai-magics"
"packages/jupyter-ai-magics:jupyter-ai-magics",
]

# this is set to skip validation of pyproject.toml by default
# otherwise, check-release fails because the bumped dependency on `jupyter-ai-magics` does not exist in PyPI
pydist_extra_check_cmds = [
'pipx run check-wheel-contents --config pyproject.toml {dist_dir}',
]

0 comments on commit 460c3cf

Please sign in to comment.