From a400240bf89b84582ca33e7ab89382a6aa4fc0f7 Mon Sep 17 00:00:00 2001 From: "David L. Qiu" Date: Thu, 25 Apr 2024 12:33:07 -0700 Subject: [PATCH] skip pyproject check when releasing --- .jupyter-releaser.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.jupyter-releaser.toml b/.jupyter-releaser.toml index ed5f9f4ec..0f57ba968 100644 --- a/.jupyter-releaser.toml +++ b/.jupyter-releaser.toml @@ -2,15 +2,17 @@ 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 = []