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
8e95c71 added usage of typing_extensions to pipeline.py. Specifically, cast() is used which is only available in typing_extensions>=4.7.0. As typing_extensions is not a requirement to news-please, the solution to the issue is one of the following pull requests:
Remove typing_extensions.cast #277: Removing the usage of cast (as it is for type checking only and not needed anyway as far as I can tell)
EDIT: Newspaper4k (required by news-please) runs on python 3.8+. news-please should therefore be raised to 3.8 anyway so the first solution might be the best one.
The text was updated successfully, but these errors were encountered:
8e95c71 added usage of typing_extensions to pipeline.py. Specifically,
cast()
is used which is only available in typing_extensions>=4.7.0. As typing_extensions is not a requirement to news-please, the solution to the issue is one of the following pull requests:or
EDIT: Newspaper4k (required by news-please) runs on python 3.8+. news-please should therefore be raised to 3.8 anyway so the first solution might be the best one.
The text was updated successfully, but these errors were encountered: