Skip to content

Resolve deprecations#28

Closed
obackhouse wants to merge 2 commits intoDrudgeCAS:masterfrom
obackhouse:master
Closed

Resolve deprecations#28
obackhouse wants to merge 2 commits intoDrudgeCAS:masterfrom
obackhouse:master

Conversation

@obackhouse
Copy link

Resolve some deprecations

Copilot AI review requested due to automatic review settings September 16, 2025 22:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR resolves deprecations in the codebase by updating deprecated APIs to their current equivalents. The changes address two deprecation warnings: one in Python code related to SymPy's metaclass system, and another in C++ extension code for Python Unicode handling.

  • Updated SymPy metaclass from deprecated ManagedProperties to standard type
  • Replaced deprecated PyUnicode_FromUnicode with PyUnicode_FromWideChar in C++ extension

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
drudge/utils.py Removes deprecated ManagedProperties import and updates metaclass inheritance
drudge/canonpy.cpp Updates deprecated Unicode function call in C++ extension

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@obackhouse
Copy link
Author

obackhouse commented Sep 16, 2025

ah actually you may have done this already in #22 -- i will close

@obackhouse obackhouse closed this Sep 16, 2025
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