-
Notifications
You must be signed in to change notification settings - Fork 130
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
GaloisCohomology: ERROR: Cannot promote to common finite field (doctest, julia 1.11) #4047
Comments
We had new releases for Nemo and AA yesterday, but it seems to not be the cause, as the versions agree in both runs. |
With the help of @benlorenz I could reproduce it locally. I don't quite now why it started to happen now, but it seems to come down to something like the following:
@fieker: This should work, right? @benlorenz Do you have both and rc2/rc3 around? If so, can you try if this also throws an error? (I don't know why it should work, but since the julia version change is our only hint so far, we should try it.) |
On Tue, Aug 27, 2024 at 01:26:57PM -0700, Tommy Hofmann wrote:
With the help of @benlorenz I could reproduce it locally. I don't quite now why it started to happen now, but it seems to come down to something like the following:
```
julia> K, a = quadratic_field(5);
julia> P = prime_decomposition(maximal_order(K), 5)[1][1];
julia> C, mC = completion(K, P);
julia> K, mK = residue_field(C);
julia> X = Hecke.ArtinSchreierSolveCtx(K, 5);
julia> Hecke.frobenius_equation(X, K(1))
ERROR: Cannot promote to common finite field
Stacktrace:
```
@fieker: This should work, right?
My guess, just glancing, is that base_field or coefficient field of a
prime field changed. The code si using absolute_frobenius_matrix
and absolute_basis of s.th. that prints as prime field:
julia> prime_field(K) == K
false
julia> K
Prime field of characteristic 5
…
@benlorenz Do you have both and rc2/rc3 around? If so, can you try if this also throws an error? (I don't know why it should work, but since the julia version change is our only hint so far, we should try it.)
--
Reply to this email directly or view it on GitHub:
#4047 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
This code seems to fail for rc3, rc2 and also 1.10.4. |
Thanks for checking. I am working on a fix. |
Should be fixed with Nemocas/Nemo.jl#1845 |
Nemocas/Nemo.jl#1845 is now available in CI as Nemo v0.46.2. I restarted the same CI job as in the initial comment to see if the fix works: https://github.com/oscar-system/Oscar.jl/actions/runs/10560179378/job/29379752468 |
Seems to be fixed, see for example https://github.com/oscar-system/Oscar.jl/actions/runs/10600630264. |
Maybe we should bump the Nemo version in the Project.toml for good measure? |
Since this morning all runs of
Run tests / doctest (1.11-nightly, ubuntu-latest)
are failing in theexperimental/GModule/src/GaloisCohomology.jl:1610-1632
doctest.For example a re-run on master:
https://github.com/oscar-system/Oscar.jl/actions/runs/10560179378/job/29298281640#step:8:4424
The same happened on several different PRs, e.g:
https://github.com/oscar-system/Oscar.jl/actions/runs/10575052818/job/29302018540?pr=3996#step:8:4395
https://github.com/oscar-system/Oscar.jl/actions/runs/10567160335/job/29291853079#step:8:4391
Error output:
I don't think we had any releases of our dependencies and I did not see any differences for the package version between the first run on master
https://github.com/oscar-system/Oscar.jl/actions/runs/10560179378/job/29253105967
and the rerun
https://github.com/oscar-system/Oscar.jl/actions/runs/10560179378/job/29298281640
Only the julia version changed from 1.11.0-rc2.60 (0e423987803) to 1.11.0-rc3 (616e45539db) but but the only difference between those two is the version name since 0e423987803 is the merge of the rc3 backports.
I was unable to reproduce this locally.
cc: @Sequenzer
The text was updated successfully, but these errors were encountered: