-
Notifications
You must be signed in to change notification settings - Fork 112
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
Unit tests fail on s390x (big-endian) #451
Comments
Hi @EdwardBetts Thanks for your report! May I ask why you have to run these tests? Also, did they pass with a previous version of Anyway, the tests were indeed never meant to run on any platform, especially the big-endian ones. This is because |
When a Python module is packaged for Debian the tests are run as part of the build process to ensure the package isn't broken in some way. The tests are also run whenever one of the package dependencies are modified. This is to catch breakages caused by a change to a dependency. We run the tests on all available architectures to catch architecture specific bugs. I don't think this is a regression. I don't think the tests were passing with an older version of GeoAlchemy2. I'm going to modify the Debian package so it doesn't run the failing tests on big-endian architectures. |
Ok, I see, thanks for the explanation. Just out of curiosity, do you know which package pulled the GeoAlchemy2 dependency? |
The tests were run on the s390x architecture to check the package worked there. The test run wasn't trigged by another package that depends on GeoAlchemy2. I checked, there are no packages in Debian that depend on GeoAlchemy2. The dependencies of GeoAlchemy2 are python3-packaging, python3-sqlalchemy and python3. |
Ok. |
I've built a web-based tool for matching objects with coordinates in OpenStreetMap and Wikidata. The tool is built using GeoAlchemy2. Deploying the tool is easier for me if the dependencies are part of Debian, that's why I packaged GeoAlchemy2. The tool is here: https://osm.wikidata.link/ |
Ah ok ok. |
Can we consider this issue as solved and close it? Or is there still anything we can do? |
Yes, let's close it. |
Ok, thanks. |
When building the Debian package on the s390x architecture the unit tests fail. This is probably because the s390x is big-endian. It is the only big-endian CPU architecture targetted by Debian, the rest are little-endian.
This bug has been reported to the Debian bug tracking system: https://bugs.debian.org/1034304
Here's the output from the tests:
The text was updated successfully, but these errors were encountered: