Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some code uses constructs that will fail under Python 3.12 #1946

Open
perllaghu opened this issue Jan 14, 2025 · 0 comments
Open

Some code uses constructs that will fail under Python 3.12 #1946

perllaghu opened this issue Jan 14, 2025 · 0 comments

Comments

@perllaghu
Copy link
Contributor

I'm testing a plugin for NBGrader, and getting the following errors [backslash wrapping by me]:

..../python3.11/site-packages/nbgrader/nbgraderformat/v1.py:119: DeprecationWarning: typing.io is deprecated, \
import directly from typing instead. typing.io will be removed in Python 3.12.
    def read_v1(source: typing.io.TextIO, as_version: int, **kwargs: typing.Any) -> NotebookNode:

and

..../python3.11/site-packages/nbgrader/api.py:1013: SADeprecationWarning: User-placed attribute Grade.cell_type \
on Mapper[Grade(grade)] is replacing an existing class-bound attribute of the same name.  Behavior is not fully \
defined in this case.  This use is deprecated and will raise an error in a future release
    Grade.cell_type = column_property(
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

No branches or pull requests

1 participant