Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python2 --> Python3 #25

Open
AndresPrez opened this issue Sep 1, 2022 · 1 comment
Open

Python2 --> Python3 #25

AndresPrez opened this issue Sep 1, 2022 · 1 comment

Comments

@AndresPrez
Copy link

AndresPrez commented Sep 1, 2022

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?

@AndresPrez AndresPrez changed the title Python 2 to Python3 Python2 -> Python3 Sep 1, 2022
@AndresPrez AndresPrez changed the title Python2 -> Python3 Python2 --> Python3 Sep 1, 2022
@bastianeicher
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants