Skip to content

Use jl_reinit_foreign_type if available#845

Merged
fingolfin merged 1 commit intooscar-system:masterfrom
fingolfin:mh/jl_reinit_foreign_type
Nov 28, 2022
Merged

Use jl_reinit_foreign_type if available#845
fingolfin merged 1 commit intooscar-system:masterfrom
fingolfin:mh/jl_reinit_foreign_type

Conversation

@fingolfin
Copy link
Copy Markdown
Member

@fingolfin fingolfin commented Nov 25, 2022

This prepares us for an upcoming change to serialization in Julia 1.10, see issue #846.

@fingolfin fingolfin force-pushed the mh/jl_reinit_foreign_type branch from b89f6a4 to d18469d Compare November 25, 2022 13:20
@fingolfin fingolfin changed the title mh/jl reinit foreign type WIP: experiment with jl_reinit_foreign_type Nov 25, 2022
@fingolfin fingolfin force-pushed the mh/jl_reinit_foreign_type branch 4 times, most recently from 5f2b034 to 6df5a20 Compare November 28, 2022 09:55
@fingolfin fingolfin changed the title WIP: experiment with jl_reinit_foreign_type Use `jl_reinit_foreign_type when available Nov 28, 2022
@fingolfin fingolfin force-pushed the mh/jl_reinit_foreign_type branch from 6df5a20 to f2ea074 Compare November 28, 2022 09:56
@fingolfin fingolfin marked this pull request as ready for review November 28, 2022 09:56
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 28, 2022

Codecov Report

Merging #845 (b75b036) into master (5ea730c) will decrease coverage by 0.15%.
The diff coverage is 37.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #845      +/-   ##
==========================================
- Coverage   81.56%   81.41%   -0.16%     
==========================================
  Files          48       48              
  Lines        3656     3664       +8     
==========================================
+ Hits         2982     2983       +1     
- Misses        674      681       +7     
Impacted Files Coverage Δ
src/GAP.jl 79.27% <37.50%> (-3.25%) ⬇️
src/help.jl 32.55% <0.00%> (-2.33%) ⬇️
src/setup.jl 78.44% <0.00%> (-0.87%) ⬇️

@fingolfin fingolfin changed the title Use `jl_reinit_foreign_type when available Use jl_reinit_foreign_type when available Nov 28, 2022
@fingolfin fingolfin force-pushed the mh/jl_reinit_foreign_type branch from f2ea074 to 9b4bf31 Compare November 28, 2022 10:16
@fingolfin fingolfin changed the title Use jl_reinit_foreign_type when available Use jl_reinit_foreign_type if available Nov 28, 2022
This prepares us for an upcoming change to serialization in Julia 1.10.
@fingolfin fingolfin force-pushed the mh/jl_reinit_foreign_type branch from 9b4bf31 to b75b036 Compare November 28, 2022 10:26
Copy link
Copy Markdown
Member

@ThomasBreuer ThomasBreuer left a comment

Choose a reason for hiding this comment

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

As far as I see, these changes will work as soon as the changes from gap-system/gap/pull/5224 are available.

@fingolfin
Copy link
Copy Markdown
Member Author

Note that the code in this PR is written in such a way that it should also work now, before those changes on the GAP and Julia side -- this is required so we stay compatible with Julia <= 1.9.

@fingolfin fingolfin merged commit ad3e631 into oscar-system:master Nov 28, 2022
@fingolfin fingolfin deleted the mh/jl_reinit_foreign_type branch November 28, 2022 17:32
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.

2 participants