Skip to content

Conversation

pstaabp
Copy link
Member

@pstaabp pstaabp commented Jun 20, 2025

Include the rest of the Union macros in the deprecate and move the PGnumericevaluators out of deprecate because every problem loads it.

In addition show a warning to instructors if a problem is using a deprecated macro.

Note: this will affect a lot of macros in the OPL. Seems like the deprecated macro with most references in the OPL is the answerFormatHelp macro.

I will plan to put a PR to remove that macro from all of the OPL problems that call it.

@pstaabp pstaabp force-pushed the loadmacros-deprecate branch from 083fac3 to 21e9566 Compare June 21, 2025 00:17
Include the rest of the Union macros in the deprecate and move the PGnumericevaluators out of deprecate because every problem loads it.

In addition show a warning to instructors if a problem is using a deprecated macro.
@pstaabp pstaabp force-pushed the loadmacros-deprecate branch from 21e9566 to f0a28af Compare June 21, 2025 02:35
@pstaabp pstaabp force-pushed the loadmacros-deprecate branch from 9240772 to 71cbbb8 Compare June 21, 2025 03:18
@pstaabp
Copy link
Member Author

pstaabp commented Jun 23, 2025

Updated using @somiaj code to handle the warnings by adding to the PG object and then handle on the WeBWorK side.

Note: this needs openwebwork/webwork2#2752 to work.

@pstaabp
Copy link
Member Author

pstaabp commented Jun 24, 2025

Remove the detection of deprecated macros on the PG side and now uses a different mechanism on the WeBWorK side.

Copy link
Member

@drgrice1 drgrice1 left a comment

Choose a reason for hiding this comment

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

Lets get this in so that the macros that shouldn't have been deprecated are back where they belong.

@Alex-Jordan Alex-Jordan merged commit c0b50ff into openwebwork:PG-2.20 Jun 24, 2025
3 checks passed
@pstaabp pstaabp deleted the loadmacros-deprecate branch June 30, 2025 18:40
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.

4 participants