Skip to content

Backport "Remove assertions in "src/precompile.jl" (#254)"#320

Open
Kyjor wants to merge 4 commits intoJuliaMath:release-0.8from
Kyjor:bugfix/remove-asserts-from-precompile
Open

Backport "Remove assertions in "src/precompile.jl" (#254)"#320
Kyjor wants to merge 4 commits intoJuliaMath:release-0.8from
Kyjor:bugfix/remove-asserts-from-precompile

Conversation

@Kyjor
Copy link
Copy Markdown

@Kyjor Kyjor commented Mar 11, 2026

  • Cherry-picked commit #59ee94b
  • Bumped version number
  • Removed macos-13 os from the matrix. No longer supported by actions.
  • Updated arm action version, as the current on no longer works.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.70%. Comparing base (73917f8) to head (32a4edc).

Files with missing lines Patch % Lines
src/precompile.jl 0.00% 12 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (73917f8) and HEAD (32a4edc). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (73917f8) HEAD (32a4edc)
19 15
Additional details and impacted files
@@               Coverage Diff               @@
##           release-0.8     #320      +/-   ##
===============================================
- Coverage        94.79%   88.70%   -6.09%     
===============================================
  Files                6        6              
  Lines              538      496      -42     
===============================================
- Hits               510      440      -70     
- Misses              28       56      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@heyx3
Copy link
Copy Markdown

heyx3 commented Mar 14, 2026

Can I ask, Why do precompile statements fail when using Package Compiler in the first place? I can't find much info on this online.

Also, do more changes need to be made to this PR to satisfy the CodeCov bot or are we just waiting for somebody to override it?

@Kyjor
Copy link
Copy Markdown
Author

Kyjor commented Mar 14, 2026

@heyx3 honestly, I'm not sure about why they fail, but it seems like there was a bigger discussion about removing these previously: JuliaGraphics/ColorTypes.jl#232 (comment). Seems like it was more about performance?

Also I didn't add any coverage as it doesn't seem to make any sense (at least as far as I understand) to test precompilation. If needed, I can do it though. At this point I'm just hoping someone who manages this repo sees this relatively soon.

I've had to remove a dependency from my game engine temporarily so I can continue to build my game. Not a big deal for me for now, but I'm sure a few more people are depending on this downstream than just us

@heyx3
Copy link
Copy Markdown

heyx3 commented Mar 27, 2026

Bump. This is a small change, and in the meantime any projects which happen to bring this package in as a sub-dependency are totally unable to use Package Compiler.

@bjarthur
Copy link
Copy Markdown
Collaborator

this repo has an unusual (for julia packages) branching structure. normally a release is tagged on the master branch and subsequent development then continues on the master. so no release branch is created. but @kimikage for some reason made a v0.8.5 branch from commit cab78d7, made three commits and then tagged a release. subsequent then work continued on master, omitting those three commits. see

https://github.com/JuliaMath/FixedPointNumbers.jl/commits/v0.8.5/

https://github.com/JuliaMath/FixedPointNumbers.jl/commits/master/?after=d70026a230c318cb0ed83c5f6bb187a6bdd3cd8a+69

there has been a lot of work on master since 0.8.5. to include removing the asserts on those precompiles:

https://github.com/JuliaMath/FixedPointNumbers.jl/blob/master/src/precompile.jl

so i think all that needs to be done here, is decide whether the master branch is stable enough to tag a new release. and if so, decide on a version number.

@johnnychen94 @ViralBShah @vchuravy

@ViralBShah
Copy link
Copy Markdown
Member

How about we tag the latest master as 0.8.6?

Should this PR be merged (even though some of the things have been implemented)?

@bjarthur
Copy link
Copy Markdown
Collaborator

the master branch of Project.toml has 0.9.0-dev as the version.

i worry that @kimikage made a version branch because he didn't think the master branch was stable. tests do pass for me on master though. do we have any way to contact him?

@ViralBShah
Copy link
Copy Markdown
Member

ViralBShah commented Apr 28, 2026

I don't have any other way of contacting except for pinging here. Maybe we just go to 0.9.0 then? In that case, it may also be good to push the julia compat up to 1.10.

I do not know enough about the internals here, beyond helping with releases and maintenance.

@heyx3
Copy link
Copy Markdown

heyx3 commented Apr 28, 2026

made a v0.8.5 branch from commit cab78d7, made three commits and then tagged a release.

Given that, and given that it's fixed in main, why not just merge this into the 0.8.5 branch to patch that specific version?

@ViralBShah
Copy link
Copy Markdown
Member

ViralBShah commented Apr 28, 2026

It seems the goal was to have a separate branch for 0.8 fixes, and master live on 0.9. Fair point - that we could just continue the fixes for 0.8 on that branch and tag 0.8.6.

Is someone chiming in here happy to continue the development to release 0.9? It should be easy to see what the differences are between 0.8.x and 0.9-dev.

@bjarthur
Copy link
Copy Markdown
Collaborator

from the commit at which master branched from v0.8.5, this is what was changed for v0.8.5:

git diff cab78d7 c372941

and this is what changed on master:

git diff cab78d7 cadbbc1

almost everything in the former is in the latter, but there is quite a bit in the latter than is not in the former.

i've tried to contact @kimikage on discourse.

@ViralBShah
Copy link
Copy Markdown
Member

They haven't been active for 2 years, and there was a personal update in https://discourse.julialang.org/t/pre-rfc-ann-color-related-packages-yuvcolortypes-cmykcolortypes-colorprofiles-hdrcolortypes-hdrimages/113032.

Perhaps it is safe to assume that we won't hear. It would be great if someone here would want to take ownership, and I'm happy to help facilitate new maintainers.

@bjarthur
Copy link
Copy Markdown
Collaborator

@inkydragon @hyrodium @ranocha @timholy @johnnychen94

you all have contributed commits to FixedPointNumbers.jl since the last release was tagged. having you been using the master branch in production? i ask because we are curious whether it is stable enough to tag a new release.

for context, see the thread above about the current release being a side branch instead of a commit on master. that @kimikage chose to make this side branch, instead of tagging master, makes me worry that master is not stable. hence my question to you.

@ranocha
Copy link
Copy Markdown
Member

ranocha commented May 1, 2026

you all have contributed commits to FixedPointNumbers.jl since the last release was tagged. having you been using the master branch in production? i ask because we are curious whether it is stable enough to tag a new release.

No, I have not.

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.

6 participants