Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

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 f6d22ed into main Jul 27, 2025
5 of 6 checks passed
@ChrisRackauckas ChrisRackauckas deleted the remove-get-extension-compat branch July 27, 2025 12:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant