StockFlow.jl icon indicating copy to clipboard operation
StockFlow.jl copied to clipboard

Update Project.toml

Open neonWhiteout opened this issue 11 months ago • 4 comments

Increment Catlab version max to 0.16.8 and AlgebraicRewriting to 0.3.2

neonWhiteout avatar Mar 01 '24 22:03 neonWhiteout

Unfortunately we'll also need to increment the stockflow version to propagate these changes

neonWhiteout avatar Mar 01 '24 22:03 neonWhiteout

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.69%. Comparing base (b767912) to head (c3850aa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
- Coverage   61.51%   60.69%   -0.83%     
==========================================
  Files          10       10              
  Lines        2193     2193              
==========================================
- Hits         1349     1331      -18     
- Misses        844      862      +18     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 01 '24 22:03 codecov[bot]

@Saityi Do you know how to do this automatically? Whenever Catlab updates, update the Project.toml to accept the new one and increment the version?

neonWhiteout avatar Mar 05 '24 23:03 neonWhiteout

@neonWhiteout I think all you need to do is to modify https://github.com/AlgebraicJulia/StockFlow.jl/blob/main/.github/workflows/julia_ci.yml#L43 along the lines of https://juliaregistries.github.io/CompatHelper.jl/stable/#GitHub -- with bump_version=true https://juliaregistries.github.io/CompatHelper.jl/stable/#CompatHelper.main

See https://github.com/AlgebraicJulia/.github/blob/f8ec80a3d3418c495ede00bb9aa8cafa805f5d2b/.github/workflows/julia_compat.yml#L18 for the one we're using via the uses reference in julia_ci.yml; you may be able to just copy-and-paste it into our julia_ci.yml with a modified main on L48.

I'm not sure if there's a more DRY way of handling it (uses the AlgebraicJulia/.github version, but modifies the main) ...

Saityi avatar Mar 06 '24 15:03 Saityi