pygooglenews icon indicating copy to clipboard operation
pygooglenews copied to clipboard

update feedreader deps

Open sammyrulez opened this issue 3 years ago • 4 comments

5.x do not work on m1 mac.

tested on my m1 mac

sammyrulez avatar Oct 03 '21 08:10 sammyrulez

#18 #22

Alyetama avatar Oct 05 '21 13:10 Alyetama

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)

NicolasCaousGV avatar Jan 29 '22 16:01 NicolasCaousGV

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:

Sticking to old versions is not very wise, especially when it comes to parsing input data. Those libs regularly do security fixes.

sebix avatar Jan 29 '22 17:01 sebix

To anyone who wants to use this lib but can't install, you can force the dependencies to be a specific version this way:

Sticking to old versions is not very wise, especially when it comes to parsing input data. Those libs regularly do security fixes.

Thanks for your preoccupation. Using a not-maintained library is itself not a wise decision. But in my use case, where poor security isn't really a problem with what I'm doing, I just needed to make the library work. Anyway, this is a nice warning to future people.

NicolasCaousGV avatar Jan 29 '22 22:01 NicolasCaousGV