Skip to content

Remove Julia v1.9 get_extension compatibility code #644

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

Merged
merged 2 commits into from
Jul 27, 2025

Conversation

ChrisRackauckas
Copy link
Member

Description

This PR removes the compatibility checks for isdefined(Base, :get_extension) since all SciML packages now require Julia v1.10+, where package extensions are built-in.

Changes

  • Removed unnecessary version checks in extension loading code
  • Simplified extension imports by removing conditional logic
  • Cleaned up obsolete compatibility code

Context

As identified in the SciML-wide analysis, all SciML packages have moved to requiring Julia v1.10+ as the minimum version. This makes the compatibility code for checking whether package extensions are available redundant.

The isdefined(Base, :get_extension) checks were used to support Julia v1.9 where extensions were loaded differently. Since we no longer support v1.9, this code can be safely removed.

Testing

  • Package tests pass locally
  • No changes to functionality, only removal of version checks

Since all SciML packages now require Julia v1.10+, we can remove the
compatibility checks for `isdefined(Base, :get_extension)` as package
extensions are available in all supported Julia versions.

This removes unnecessary version checks in extension loading code.
@ChrisRackauckas ChrisRackauckas merged commit b25ce7c into main Jul 27, 2025
41 of 42 checks passed
@ChrisRackauckas ChrisRackauckas deleted the remove-get-extension-compat branch July 27, 2025 15:17
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.

1 participant