You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running pytest on of my projects, I encountered this warning:
DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14
This warning comes from src/flask.py, which still uses pkgutil.get_loader("flask"). To future-proof the library for Python 3.14+, I replaced it with importlib.util.find_spec("flask"). (The former will get deprecated!)
In the same PR, I also made other refactors, such as:
Removed unused imports
Replaced broad except: with except Exception: for better practice
Hi CS50 team! 👋
While running pytest on of my projects, I encountered this warning:
In the same PR, I also made other refactors, such as:
Removed unused imports
Replaced broad
except:
withexcept Exception:
for better practiceThe PR is available here: #XYZ
Would love for someone to take a look.
Thanks,
Shoaib 🚀
The text was updated successfully, but these errors were encountered: