jupyterlite / xeus-python-kernel

xeus-python in JupyterLite
https://xeus-python-kernel.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Add more `skip-if-exists`, fix wheel packaging #181

Closed jtpio closed 11 months ago

jtpio commented 11 months ago

Follow-up to #179

github-actions[bot] commented 11 months ago

lite-badge :point_left: Try it on ReadTheDocs

jtpio commented 11 months ago

So there seems to be an issue with hatch not including files ignored in a .gitignore.

It looks related to https://hatch.pypa.io/latest/config/build/#vcs at first, although it's not clear because adding an explicit include does include the missed files (.wasm, .tar.gz) to be included in the wheel, but not in the .data when listed in shared-data...

jtpio commented 11 months ago

Just tried locally with the built wheel from the releaser assets and it seems fine:

image

Gonna log this hatch quirk in an issue and proceed with a new release, so the latest jupyterlite-xeus-python alpha is usable.

jtpio commented 11 months ago

Gonna log this hatch quirk in an issue and proceed with a new release, so the latest jupyterlite-xeus-python alpha is usable.

Opened https://github.com/jupyterlite/xeus-python-kernel/issues/182