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

Update code for version 3.4.1 onwards of pyproj dependency #1015

Merged
merged 2 commits into from Dec 16, 2022
Merged

Conversation

klssmith
Copy link
Contributor

Version 3.4.1 of pyproj changed the ESPG codes to be upper case, which means that our tests now fail (pyproj4/pyproj#1162).

This change updates our code to also use upper case codes, and bumps the minimum version of pyproj to ensure that we're always using a version which also uses the upper case codes.

Version 3.4.1 of pyproj changed the ESPG codes to be upper case, which
means that our tests now fail (pyproj4/pyproj#1162).

This change updates our code to also use upper case codes, and bumps the
minimum version of pyproj to ensure that we're always using a version
which also uses the upper case codes.
@samuelhwilliams
Copy link
Contributor

We should probably add a version bump to this PR and check that it can be installed into our other apps without causing issues there (it probably shouldn't 🤞)

@klssmith
Copy link
Contributor Author

I've bumped the version and tested it out - we'll need to rebuild the broadcast area library in admin once admin is using this version of utils

@samuelhwilliams
Copy link
Contributor

Cool - thanks for investigating. Let's do this as a major (breaking) version bump then, I think. If you update that and add a changelog entry/etc I think it's good to go in :)

Bump pyproj to be version 3.4.1  or greater. This changes the ESPG codes
to be upper case, which affects the how `Polygons` class transforms data.
@klssmith
Copy link
Contributor Author

This is now version 60.0.0 👍

Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work 👏

@klssmith klssmith merged commit 2eacd0a into main Dec 16, 2022
@klssmith klssmith deleted the pyproj-fix branch December 16, 2022 08:39
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 this pull request may close these issues.

None yet

3 participants