Skip to content

testing/py3-pelican: fix package

David Demelier requested to merge (removed):fix-pelican into master

The package was not usable because of an arbitratry change in the writers.py:

Traceback (most recent call last):
  File "/usr/bin/pelican", line 11, in <module>
    load_entry_point('pelican==4.2.0', 'console_scripts', 'pelican')()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.8/site-packages/pelican/__init__.py", line 32, in <module>
    from pelican.writers import Writer
  File "/usr/lib/python3.8/site-packages/pelican/writers.py", line 7, in <module>
    from django.utils.feedgenerator import Atom1Feed, Rss201rev2Feed, get_tag_uri

Once removed, it works fine.

Edited by David Demelier

Merge request reports

Loading