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

Inclusion of `wasm`, `tar.gz` and other ignored files in the hatch `shared-data` #182

Open jtpio opened 9 months ago

jtpio commented 9 months ago

As noticed in https://github.com/jupyterlite/xeus-python-kernel/pull/181#issuecomment-1767950367, there seems to be an issue with hatch not picking up the files listed in .gitignore.

As a result, they are not included in the wheel shared-data and cause issues like https://github.com/jupyterlite/xeus-python-kernel/issues/177 since some files are missing.

https://github.com/jupyterlite/xeus-python-kernel/pull/181 updated the .gitignore to narrow the scope of the ignored files, so they can be included in the wheel correctly.

However this feels a bit error-prone and it would be easy to get back to the same issue by adding new entries to the .gitignore.

Some next steps would be: