Skip to content

flask.py: replace pkgutil with importlib#198

Merged
rongxin-liu merged 2 commits intocs50:mainfrom
ethancedwards8:pkgutil-migrate
Jan 22, 2026
Merged

flask.py: replace pkgutil with importlib#198
rongxin-liu merged 2 commits intocs50:mainfrom
ethancedwards8:pkgutil-migrate

Conversation

@ethancedwards8
Copy link
Copy Markdown
Contributor

pkgutil was removed after being deprecated since 3.12

https://docs.python.org/3/whatsnew/3.14.html#pkgutil

Also, @rongxin-liu could you make another tagged release? This package currently fails to build for us in Nixpkgs because of the 3.14 pkgutil removal https://hydra.nixos.org/build/317921017

if you make a tagged release we can update it in Nixpkgs and ship the fix to our users.

Thanks!

pkgutil was removed after being deprecated since 3.12

https://docs.python.org/3/whatsnew/3.14.html#pkgutil

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
ethancedwards8 added a commit to ethancedwards8/nixpkgs that referenced this pull request Jan 22, 2026
Waiting on: cs50/python-cs50#198

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Copy link
Copy Markdown
Contributor

@rongxin-liu rongxin-liu left a comment

Choose a reason for hiding this comment

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

Thanks!

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