Skip to content

Conversation

mfisher87
Copy link
Member

@mfisher87 mfisher87 commented Jun 19, 2025

Resolves #777

Description

proj4 changed their typings and now they are incompatible with the openlayers register() interface. Two releases have been made to fix typing changes introduced in 2.19.0, but so far neither has fixed our problem, so upper bounding seems like the best choice until a broader fix is available.

See:

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--778.org.readthedocs.build/en/778/
💡 JupyterLite preview: https://jupytergis--778.org.readthedocs.build/en/778/lite

proj4 changed their typings and now they are incompatible with the
openlayers `register()` interface. Two releases have been made to fix
typing changes introduced in 2.19.0, but so far neither has fixed our
problem, so upper bounding seems like the best choice until a broader
fix is available.

See:

* geojupyter#576 (comment)
* proj4js/proj4js#509
* proj4js/proj4js#510
Copy link
Contributor

Binder 👈 Launch a Binder on branch mfisher87/jupytergis/fix-proj4-typing-error

@mfisher87 mfisher87 requested a review from gjmooney June 19, 2025 18:27
@mfisher87 mfisher87 added the bug Something isn't working label Jun 19, 2025
@mfisher87 mfisher87 changed the title Block proj4 >=2.19.0 Block proj4js >=2.19.0 Jun 19, 2025
Copy link
Contributor

github-actions bot commented Jun 19, 2025

Integration tests report: appsharing.space

@mfisher87
Copy link
Member Author

TODO: Change this PR to pin to ^2.19.3, which seems to resolve the issue: proj4js/proj4js#513

@mfisher87 mfisher87 changed the title Block proj4js >=2.19.0 Pin proj4js >=2.19.3 Jun 20, 2025
@gjmooney gjmooney merged commit 3e2f640 into geojupyter:main Jun 20, 2025
15 checks passed
@mfisher87 mfisher87 deleted the fix-proj4-typing-error branch June 20, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

proj4js types became incompatible with our code
2 participants