0install / docs

Zero Install documentation web-site
https://docs.0install.net
Creative Commons Attribution Share Alike 4.0 International
58 stars 8 forks source link

Python2 --> Python3 #25

Open AndresPrez opened 1 year ago

AndresPrez commented 1 year ago

Seems like most of the 0install tools are all python2-based. Is there any plan to make the upgrade to python3? Python2 is deprecated and no longer supported.

Im particularly facing issues with this when following the template, publish, release and compile process.

To give an example, trying to sign the XML program Im getting:

$> 0publish HelloWorld.xml --xmlsign
   AttributeError: module 'base64' has no attribute 'encodestring'

And apparently there's no more support for this?

bastianeicher commented 1 year ago

Hi @AndresPrez,

most of the tools, such as 0publish, 0template and 0repo, have been updated to support Python 3 a while ago.

Perhaps 0install is mistakenly thinking there is only Python 2 available on your distribution and therefore running an older version of 0publish.

Could you post the Linux distribution you are using along with the output of 0install select 0publish? This may help us narrow down the issue.

Regards Bastian