Open mgorny opened 1 day ago
maybe this will help
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Password: changeme If you don't have the c compliator, install it.(gcc or clang)
Thanks for reporting this! We could include the docs folder in the build or make sure the tests run without it. What would you think is the best way forward?
Ideally, both :-). The earlier versions had docs included, so we've wired them up in Gentoo. If the new versions don't have them anymore, I'll probably remove them as well, which would be a loss for some users who need the ability to browse docs offline.
I think, inclusion is very much possible and it sounds alright... I do not know at the moment, how to do it but it should be very possible. :heart: I like the code that you wrote to test that... I think, we should use that in the CI to make sure we test that the package is working well without the git repository.
Yeah, that sounds about right. I wish GitHub Actions had some easy action to run a PEP517 build, unpack the resulting sdist and run tests there.
we have this to test the release file https://github.com/collective/icalendar/blob/main/src/icalendar/tests/test_create_release.sh
the checks for the docs to be included can be in there for example
Describe the bug
The 6.0.0 sdist (after switch to hatchling) no longer contains the
docs
folder. Besides losing the ability to build docs, this also causes tests to fail now.To Reproduce
Expected behavior
Passing tests (and ideally, the retained ability to build docs).
Environment
icalendar
version: 6.0.0Additional context
pip3 install https://github.com/collective/icalendar.git