Get just the version number of Sage
ClosedPublic

Authored by fernandoteles on May 27 2016, 1:54 PM.

Details

Summary

Some backends get the command line output to make Cantor works. One of these backends is Sage. Since version 6.9, Sage have modified its output. On the 6.9 version, Sage changed its name to SageMath. On 7.0 version, it was modified the capitalized word "Version" to a lowercase one. To give support to both versions, i changed the regular expression.

Test Plan
  • Open Cantor,
  • Configure Sage backend to use different versions.
  • Verify if it is working in all versions.

Diff Detail

Repository
R55 Cantor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fernandoteles retitled this revision from to Get just the version number of Sage.
fernandoteles updated this object.
fernandoteles edited the test plan for this revision. (Show Details)
fernandoteles set the repository for this revision to R55 Cantor.
fernandoteles added a project: Cantor.
fernandoteles added a subscriber: Cantor.
filipesaraiva accepted this revision.May 27 2016, 2:11 PM
filipesaraiva edited edge metadata.

Tested with Sage 6.9, 7.0 and 7.2, all working. This patch is related with bug #363560.

Please, put in your commit message the 'Bug' and 'Differential Review' special keywords.

This revision is now accepted and ready to land.May 27 2016, 2:11 PM

Ah, you need to use the FIXED-IN special keyword too :)

This revision was automatically updated to reflect the committed changes.