wok icon indicating copy to clipboard operation
wok copied to clipboard

Ubuntu/debian deps missed or not updated

Open Fantu opened this issue 6 years ago • 3 comments

Hi, I build Wok and Kimchi from git on ubuntu 18.04, I followed the docs but wokd didn't started for missed things. First was: ModuleNotFoundError: No module named 'Cheetah' because in ubuntu-runtime-deps.list python-cheetah must be changed in python3-cheetah (in ubuntu 18.04 is missed, so I installed with pip3) Second was: ImportError: cannot import name 'Draft7Validator' Because require jsonschema>=3 for draft7 support (but I not found in any debian and ubuntu version, so I installed with pip3)

The requirements of this new version seem to me very high, I had to abandon the idea of trying it on debian 8 and 9, for those I have to use the 2.5 or am I wrong?

Thanks for any reply and sorry for my bad english.

Fantu avatar Aug 29 '19 11:08 Fantu

Thank for reporting it, @Fantu

I will update the docs accordingly. I am in the process to validate the latest python3 changes on the most common Linux distribution and any help is more than welcome. So if you want to give it a try on Debian 9 and report any issues you find, I'd very glad.

And you don't need to apologize about your English at all. :-)

alinefm avatar Aug 30 '19 15:08 alinefm

debian 9 seems that have too many requirements missed for the new version, I'll try with debian 10 if I'll use it

Fantu avatar Aug 30 '19 19:08 Fantu

Hello @alinefm, currently it is not possible to install the packed version 3.0.0 under ubuntu 18.04 As already mentioned by @Fantu, the dependency python3-cheetah cannot be installed. This requires a workaround which consists of several steps:

  • Install the dependency Cheetah via pip3 install cheetah3
  • Remove the dependency from the .deb image

That this package is a required dependency it cannot be ignored by -nodeps. I have already made a hotfix of the .deb file without python3-cheetah as dependency. This I could install under ubuntu 18.04.

I hope that at least for 18.04. LTS a fix will be delivered. I hope that at least for 18.04. LTS a fix will be delivered.My workaround should only be for interested people who are looking for a quick solution to the problem.

wok-3.0.0-0.ubuntu.noarch.fix.deb

Best David

schenkd avatar Sep 04 '20 15:09 schenkd