bitsoffreedom / newspeak

Newspeak van de Nederlandse overheid.
https://rejo.zenger.nl/inzicht/newspeak-van-de-nederlandse-overheid
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

deprecation warning of feedparser on temporary mapping created #22

Closed rejozenger closed 11 years ago

rejozenger commented 11 years ago

While running "newspeak test newspeak":

Creating test database for alias 'default'...
/[...]/lib/python2.6/site-packages/feedparser.py:364: DeprecationWarning: To avoid breaking existing software while fixing issue 310, a temporary mapping has been created from `updated_parsed` to `published_parsed` if `updated_parsed` doesn't exist. This fallback will be removed in a future version of feedparser.
  DeprecationWarning)
................F.
rejozenger commented 11 years ago

This error also shows up when running "newspeak update_feeds".

dokterbob commented 11 years ago

I seem to be unable to replicate this problem. Perhaps the code has already been deprecated in newer versions of feedparser. What version are you running?

In order to make the code more stable I have now required a minimum version for FeedParser of 5.1.3 in requirements.txt.

dokterbob commented 11 years ago

Thanks to Travis, this deprecation error has turned out to be actually existing. The fact that it did not turn up was due to the default logging configuration on my local machine.

rejozenger commented 11 years ago

I can confirm the existence: I am running feedparser version 5.1.3 and I am able to reproduce this problem.