Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Update to check-release@v2 #113

Merged
merged 4 commits into from
Feb 15, 2023
Merged

Update to check-release@v2 #113

merged 4 commits into from
Feb 15, 2023

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Feb 15, 2023

pyproject.toml Outdated

[tool.jupyter-releaser.hooks]
before-build-npm = [
"python -m pip install jupyterlab~=3.1 empack>=2.0.9,<3 jupyter_packaging~=0.10,<2",
Copy link
Member Author

@jtpio jtpio Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably because the v1 action used to install the Python package in editable mode before with pip install -e .

@jtpio jtpio marked this pull request as ready for review February 15, 2023 16:53
@jtpio
Copy link
Member Author

jtpio commented Feb 15, 2023

I think releaser v2 has an issue with not reading the config from package.json if pyproject.toml exists.

But this PR moves the config to pyproject.toml anyway and the check now passes.

@jtpio jtpio requested a review from martinRenou February 15, 2023 16:54
@jtpio
Copy link
Member Author

jtpio commented Feb 15, 2023

Maybe a follow-up could be to migrate to hatch if we want to streamline the setup more.

@jtpio
Copy link
Member Author

jtpio commented Feb 15, 2023

I'll proceed with the merge and follow-up with a new release to double check it fixes it.

@jtpio jtpio merged commit 0ee60d3 into jupyterlite:main Feb 15, 2023
@jtpio jtpio deleted the releaser-v2 branch February 15, 2023 17:40
@jtpio
Copy link
Member Author

jtpio commented Feb 15, 2023

All good now: https://github.com/jupyterlite/xeus-python-kernel/releases/tag/v0.6.3

I had to update the NPM_TOKEN which was probably wrong, and reran the "Publish Release" workflow.

@martinRenou
Copy link
Member

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants