Closed dvzrv closed 1 year ago
Hi @dvzrv!
I see what you mean. Unfortunately, it seems to be an unintended regression from https://github.com/falconry/falcon/pull/1917 where the examples
module was prevented from being installed as such (a bug independently discovered by IIRC Gentoo and Debian maintainers), which effectively removed it from the sdist
too.
How hard is it to override this on your side? Or are you dependent on us cutting 3.1.1
ASAP to solve this?
I know that, for instance, Gentoo grabs the tarball from GitHub instead along the lines of https://github.com/falconry/falcon/archive/3.1.0.tar.gz, maybe this approach could work for you as well for the time being? (And IIRC others like Fedora and Debian maintain a Git repo with own patches which they sync to the upstream (us) when the time comes.)
Alternatively, maybe it would be possible to simply exclude tests/test_things_example.py
on your side as a temporary workaround?
Whoever takes this: note that while it is trivial to add this to MANIFEST.in
, it looks like we also need a CI gate where Falcon tests are run from the sdist
tarball as opposed to a local checkout managed by Actions.
@vytas7 thank you for the fast reply! I can revert to using the github tarball for now.
Hi! I'm packaging falcon for Arch Linux. When trying to update to 3.1.0 I attempted to run the included tests. This fails unfortunately, because pytest can not find required files contained in the examples directory: