getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.62k stars 450 forks source link

Nikola depends on doit auto, which was removed from pydoit in 0.36 #3615

Closed JesperDramsch closed 2 years ago

JesperDramsch commented 2 years ago

Environment

Python Version: 3.10 Nikola Version: 8.20 Operating System: Windows / Docker with Ubuntu

Description:

My nikola action is failing, but this will be true for every new installation of nikola.

This currently leads the Nikola[extras] installation to fail its build with:

 Traceback (most recent call last):
  File "/usr/local/bin/nikola", line 5, in <module>
    from nikola.__main__ import main
  File "/usr/local/lib/python3.10/site-packages/nikola/__main__.py", line 39, in <module>
    from doit.cmd_auto import Auto as DoitAuto
ModuleNotFoundError: No module named 'doit.cmd_auto'

Cause

Doit removed the "auto" package from the core pydoit.

See

Possible Solutions

Temporarily it might be enough to pin 0.35 or some release before, in the long run monitor the release of pydoit auto and hope it just transitions out of the box?

Kwpolska commented 2 years ago

Duplicate of #3612 and #3614, a new release with a fix will come out later today.

JesperDramsch commented 2 years ago

Sorry about that. Wasn't used to look for pinned issues like that.

Kwpolska commented 2 years ago

(Please look for duplicates before reporting issues, whether they’re pinned or just closed.)

JesperDramsch commented 2 years ago

(I did just say in that comment that I looked for duplicates but didn't see it and apologized.)

Kwpolska commented 2 years ago

Nikola v8.2.1 is out with a fix for this issue.