Skip to content

adjust version of dependency JSON - #11

Merged
ThomasBreuer merged 4 commits into
oscar-system:masterfrom
ThomasBreuer:TB_json
Jun 3, 2026
Merged

ThomasBreuer merged 4 commits into
oscar-system:masterfrom
ThomasBreuer:TB_json

Conversation

@ThomasBreuer

@ThomasBreuer ThomasBreuer commented Jun 2, 2026 •

Copy link
Copy Markdown
Member
  • JSON is now at version 1.6, we had required 0.21, which is too small for Oscar.jl. (GenericDecMats.jl is a dependency of Chevie.jl, Pkg.add("Chevie") and Pkg.add("Oscar") results in a very old version of Oscar.jl that is content with JSON 0.21.)
  • Call Oscar.GAP.GapObj instead of Oscar.GAP.julia_to_gap (since GAP.jl 0.12.0, released end of 2024).
  • Call Oscar.polynomial_ring, Oscar.ZZRingElem instead of Oscar.PolynomialRing, Oscar.fmpz.
  • Increase the version number from 0.1.2 to 0.1.3.

resolves #10

@codecov

codecov Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.61%. Comparing base (f6a87d9) to head (5683b29).

Files with missing lines Patch % Lines
src/for_oscar.jl 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   70.46%   68.61%   -1.85%     
==========================================
  Files           4        4              
  Lines         325      325              
==========================================
- Hits          229      223       -6     
- Misses         96      102       +6     

☔ 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.

- JSON is now at version 1.6, we had required 0.21,
  which is too small for Oscar.jl

- call `Oscar.GAP.GapObj` instead of `Oscar.GAP.julia_to_gap`
  (since GAP.jl 0.12.0, released end of 2024)

- call `Oscar.polynomial_ring`, `Oscar.ZZRingElem` instead of
  `Oscar.PolynomialRing`, `Oscar.fmpz`

- increase the version number from 0.1.2 to 0.1.3
In fact Chevie.jl needs Julia 1.11,
since the two argument version of `allequal` is used.
(Alternatively, Compat.jl could be loaded.
That is whay the error does not show up when Oscar.jl is loaded.
Note that we run the tests with Chevie.jl but without Oscar.jl.)
in order to get rid of the warnings
@ThomasBreuer
ThomasBreuer merged commit 2f6850a into oscar-system:master Jun 3, 2026
3 of 5 checks passed
@ThomasBreuer
ThomasBreuer deleted the TB_json branch June 3, 2026 10:11

@ThomasBreuer ThomasBreuer left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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.

JSON

1 participant