Comments (10)
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 GeoAlchemy2
?
Anyway, the tests were indeed never meant to run on any platform, especially the big-endian ones. This is because GeoAlchemy2
is mainly a wrapper, so the main point of the tests is to check that the proper functions are called in the DB. So I don't think we need to test on big-endian platforms (and as we can see in the report you posted, the tests only fail when we compare the raw values where endian matters, so it seems to confirm that the proper functions are called, it's just that they don't return the same values as the expected ones but, from a GeoAlchemy2
point of view, it does not really matter). Of course it would be possible to make the tests pass with big-endians but it would be quite long (too much for me at the moment, but any PR to improve this is welcome 😊 ).
from geoalchemy2.
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.
from geoalchemy2.
Ok, I see, thanks for the explanation.
So yeah I think that just skipping the tests on big-endian architectures is the best option. And it should still be safe since you keep the tests on all other architectures.
Just out of curiosity, do you know which package pulled the GeoAlchemy2 dependency?
from geoalchemy2.
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.
from geoalchemy2.
Ok.
I'm a bit surprised that GeoAlchemy2 is packaged in Debian just for its own, not because it's pulled by another package as a dependency. But I'm glad to know :-)
from geoalchemy2.
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/
from geoalchemy2.
Ah ok ok.
Nice tool btw! I didn't know it.
from geoalchemy2.
Can we consider this issue as solved and close it? Or is there still anything we can do?
from geoalchemy2.
Yes, let's close it.
from geoalchemy2.
Ok, thanks.
See you around!
from geoalchemy2.
Related Issues (20)
- How do I install it in an offline environment? HOT 4
- "no such table: main.idx_{table}_{col}" Exception when writing Spatialite HOT 6
- Performance improvement suggestions for load_spatialite HOT 2
- 0.14.0 broken initialization of WKTElements HOT 6
- Add type annotations
- Multipolygon with one polygon is forced to be Polygon HOT 2
- Fix MySQL dialect HOT 2
- AtttributeError: 'Nonetype' object has no attribute 'replace' HOT 7
- Add support for Mapped and mapped_column from sqlalchemy 2 HOT 3
- bigquery insert error with geometry field HOT 3
- WKBElement in postgres CASE WHEN doesn't work HOT 9
- mypy: Skipping analyzing "geoalchemy2.functions": module is installed, but missing library stubs or py.typed marker [import] HOT 7
- [Feature request] Support Python3.12 HOT 4
- [How to use] GeoAlchemy ORM with MySQL HOT 6
- [Bug report] When using MariaDB, `add` generates wrong SQL HOT 9
- using func.ST_DWithin outputs error stating "No function matches the given name and argument types." HOT 8
- Assistanze in using 3D Geometries HOT 4
- [How to use] I'm not able to use ST_* functions during insertion HOT 4
- [Feature request] Add compatibility with MSSQL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoalchemy2.