Skip to content

Conversation

@soininen
Copy link
Contributor

@soininen soininen commented Oct 17, 2025

  • SpineOpt is incompatible with Julia 1.12, so Install Julia Wizard should not install that version.
  • Toolbox no more refuses to update SpineOpt even when an update is available.

No associate issue

Checklist before merging

  • Documentation is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

SpineOpt is incompatible with Julia >= 1.12
It was not possible to update SpineOpt even when an update was
available if SpineOpt satisfied REQUIRED_SPINE_OPT_VERSION.
This didn't really make sense: it should always be possible to
update SpineOpt if a more recent version is available.

If the SpineOpt Install/Update Wizard now detects that SpineOpt
is installed, it offers to update it. After attempted update,
it compares the versions of SpineOpt before and after the attempt
notifying user on the last page whether update was successful
or no update was available.

It doesn't seem to be easy to find out if an update is available
using Pkg in Julia, so it is better to just offer the option to
update.
Looks like it doesn't come with our other dependencies anymore.
@codecov
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 94.11765% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.86%. Comparing base (699b260) to head (eb533f9).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
spinetoolbox/widgets/add_up_spine_opt_wizard.py 93.05% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3193      +/-   ##
==========================================
+ Coverage   68.83%   68.86%   +0.02%     
==========================================
  Files         198      198              
  Lines       38302    38324      +22     
  Branches     4586     4592       +6     
==========================================
+ Hits        26367    26392      +25     
+ Misses      10628    10625       -3     
  Partials     1307     1307              

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

@soininen soininen merged commit 4405d36 into master Oct 17, 2025
19 checks passed
@soininen soininen deleted the restrict_installed_julia_version branch October 17, 2025 14:26
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