Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

python3? #8

Open
MarkTr opened this issue Sep 5, 2017 · 6 comments
Open

python3? #8

MarkTr opened this issue Sep 5, 2017 · 6 comments

Comments

@MarkTr
Copy link

MarkTr commented Sep 5, 2017

Is python3 support in the works? Is conary even used somewhere and in development?

@mibanescu
Copy link
Contributor

Porting Conary to python3 is a huge undertaking. It has been discussed multiple times, here are some of the challenges:

  • the recipe syntax is fairly python2 dependent. Changes in octal representations 0644 vs. 0o644 don't help much either. One would probably have to run a recipe conversion.
  • the stream representation would probably have to be re-written - it is C code or cython currently, and I believe there were attempts for that before
  • Conary has always been very Unicode-unfriendly, and python3's more strict separation of a string (unicode in py2) and byte array (strings in py2) is causing significant problems in porting to py3.
  • not python 3 related, but relevant: a Conary package makes sense if the whole ecosystem is Conary (i.e. down to the operating system). Maintaining a Conary-based distribution (like Foresight) is a significant effort. Our attempt to use Conary as a wrapper around rpm packages is useful, but some of the advantages of Conary (finer-grain packages/components) are being lost. Unless one can fully automate the process of converting an established Linux distribution (Fedora, CentOS, etc) to Conary, the cost of maintaining the distro is too high.

Conary is still used internally, but is not under active development.

I would welcome any effort in moving Conary forward, of course :-)

@MarkTr
Copy link
Author

MarkTr commented Sep 15, 2017

recipe syntax isn't that big issue if you don't care of being compatible in that step.
I guess at the end rmake would need some deep changes too?

@mibanescu
Copy link
Contributor

@protonesso - that's awesome. I won't be able to put any effort into it myself, unfortunately. But I would be interested in the outcome.

@Jheengut
Copy link

Jheengut commented Aug 21, 2020 via email

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

No branches or pull requests

4 participants
@MarkTr @mibanescu @Jheengut and others