Skip to content
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

pyproj package >= 3 does not work, will be a problem in the long run (e.g. M1 chip macbook) #30

Open
OscarOnTrack opened this issue Jul 6, 2022 · 2 comments

Comments

@OscarOnTrack
Copy link
Collaborator

Joost and Oscar have tried to get openspoor working with versions >= 3, but one acceptance test does not fully work then (test_acceptance_TransformerCoordinatesToSpoor). Most points are projected as expected, but 2 are not (of which 1 cannot be fixed with a larger buffer distance). This is strange, since a point just 4 meters next to it can be projected successfully.

Reason for fixing: pyproj < 3 does not work on M1 chip (macbook)

@OscarOnTrack OscarOnTrack linked a pull request Jul 6, 2022 that will close this issue
@OscarOnTrack
Copy link
Collaborator Author

Background van Maik: Pyproj is een clusterfuck om te instaleren, netzo als de meeste Geo achtige packages Bij Pyproj zit het probleem dat, afhankelijk van de versie van pyproj, pyproj zoekt naar een bepaalde versie van een dependency, waar die versie van die dependency weer kan verschillen per OS/ CPU architectuur. Vanaf het begin (Devops times) was daarom pyproj vast gezet op 2.4.1 ipv de niewste versie, omdat 2.4.1 wel werkte op de meeste pc's (wilde laptops). Ik heb die later iets losser gemaakt naar kleiner dan 3, omdat 3+ niet werkte. Marco heeft ooit de versies in requirements.txt opgehoogd, maar waarschijnlijk geen rekening gehouden met de limitatie die in setup.py staat, en die limitatie overruled requirements.txt als je pip install doet. Nieuwe Macs draaien op ARM dus die hebben waarschijnlijk weer een compleet nieuwe pyproj versie nodig...

@JoostProRail
Copy link
Collaborator

@OscarOnTrack Is this resolved now with the new readme updates?
#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants