Closed yurivict closed 6 months ago
You must be running the tests incorrectly or something. testdata
is not a feature, it's a FIXTURE, and it's defined in tests/conftest.py. I don't see why your test run fails.
This looks like some ports work for including mutmut in a distribution. Might I suggest just not doing this? You're just wasting your time. Let python tools work through the python ecosystem.
This looks like some ports work for including mutmut in a distribution. Might I suggest just not doing this? You're just wasting your time. Let python tools work through the python ecosystem.
This only works on Linux. And in general this would fail for many reasons.
(1) Many Python ports contain binaries, FreeBSD versions of which aren't available from Python wheels that are downloaded. Some packages would just fail to install using only the Python infrastructure. (2) Some C++ and other packages depend on Python commands using some other Pythin packages. Such ports would fail to build.
Real-world situation is just much more complex and mirroring Python packages as ports is needed for users to be able to reliably use these and other packages on FreeBSD. BTW, same happens in Linux distros.
@boxed
There is no tests/conftest.py in the tarball downloaded from PYPI.
There is no C or other dependency or whatever here.
Anyway, if you want to send a PR for fixing the pypi release then I'll merge it.
I never did any pypi releases, so I don't know how to fix it.
Some tests fail w/out it:
Version: 2.4.5 Python-3.9 FreeBSD 14.0