New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running tests fails with newer packaging version (pulled in by setuptools) #60
Comments
Applying
As those are not relevant for packaging (in my case), I guess I will remove them before running the test suite. |
Can you please include which specific versions of the dependencies that is causing this behavior? I don't have Arch and I can't confirm the codepath that triggers that particular construction of My hunch is that somehow there is a mismatch of Alternatively if you can provide a full traceback that lead to the error (e.g. run the test using As for the failed |
As for these failing tests, it's most certainly due to the test installation method resulting in the associated entry points not being installed in the place where distutils/setuptools knows how to pick them up. |
They are included in the log output (all installed package versions used in the nspawn container).
I can!
That is certainly a possibility. I am not sure how else I can prepare the test run though to have setuptools pick it up (I'm providing |
The traceback shows that the issue was caused by
This is not really practical. That said, it does appear that running The test cases provided by the package are intended to only pass if the resulting installation of the package is done through a standard method, which means all the required files are presented in the correct location. Edit: That said, I think I can add a workaround via an environment variable to disable integration tests. |
I understand. Unfortunately, our packaging infrastructure does not allow installation to system-wide locations and afterwards running the tests.
That would be much appreciated! Thank you! :) |
- This will skip problematic tests following the invocation method as reported in #60.
I still cannot reproduce the exact issue despite trying my best to replicate the setup. My feeling is that there may be some other packages causing and interfering with the handling of metadata (hinted by those I would strongly suggest trying to install the package for real using |
When rebuilding 3.4.1 for Arch Linux I attempted running the tests by installing to a temporary directory and running the tests as referenced in the documentation.
That looks roughly like this:
Unfortunately this seems to fail on
DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
, which is logged by packaging's version.py.These messages are interfering with:
The entire build and test output can be found here:
calmjs-3.4.1-build-test.log
The text was updated successfully, but these errors were encountered: