Skip to content

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
Copy link
Member Author

@thazhemadam why is there a v1.6 test here? It's not in the .github actions script 😅 . I'll merge as others passed but, that's definitely odd in the CI setup.

@ChrisRackauckas ChrisRackauckas enabled auto-merge (squash) July 27, 2025 12:57
ChrisRackauckas and others added 2 commits July 27, 2025 19:49
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@ChrisRackauckas ChrisRackauckas merged commit e87baec into main Jul 29, 2025
8 of 9 checks passed
@ChrisRackauckas ChrisRackauckas deleted the remove-get-extension-compat branch July 29, 2025 00:27
@thazhemadam
Copy link
Member

thazhemadam commented Jul 29, 2025

@thazhemadam why is there a v1.6 test here?

This has been fixed now. There was a repository rule defined which required a job with the name "Tests 1.6" to pass, and when there was none, it just perpetually blocked the auto-mergeability. I've removed updated to rule to check for lts instead.

@ChrisRackauckas
Copy link
Member Author

oh 😅

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.

3 participants