Open Alyetama opened 2 years ago
For those who are unable to use the package due to the outdated dependencies, you can fix the issue by running:
pip install -U --no-deps "dateparser>=1.0.0"
pip install -U --no-deps "feedparser>=6.0.8"
To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:
python -m pip install "beautifulsoup4==4.9.1"
python -m pip install "dateparser==0.7.6"
python -m pip install "requests==2.24.0"
python -m pip install "feedparser==6.0.8"
python -m pip install --no-deps pygooglenews
This should work. (If it doesn't, check if the versions have changed in pyproject.toml
for some reason)
The current version of
feedparser
anddateparser
are no longer compatible with the source code. The latest versions of both packages work fine. I updatedpyproject.toml
(and subsequentlypoetry.lock
using the poetry lock command) to reflect that. I have also added a new entry in.gitignore
to ignore macOS-generated system files (I use macOS), and added a new line at the end of__init__.py
(just a habit!).