avogadro icon indicating copy to clipboard operation
avogadro copied to clipboard

Python3 support

Open sagitter opened this issue 4 years ago • 7 comments

Hi all.

@cryos,

will Avogadro ever support Python3? Is Avogadro still under development or your efforts are entirely for Avogadro2?

sagitter avatar Jan 20 '20 12:01 sagitter

I have no plans to migrate to Python 3 or Qt 5, and I am working on releases of Avogadro 2 that support both. Are there features that are missing for you still? I am eager to plug any holes, but Avogadro 2 should support most things at this point.

cryos avatar Jan 20 '20 15:01 cryos

Are there features that are missing for you still?

No. Since we have deprecated the Python2 support on Fedora starting from release 32, Avogadro will not be available anymore. Only Avogadro2 will be packaged and distributed.

sagitter avatar Jan 20 '20 17:01 sagitter

Sounds good - please let me know if there are any ways that I can help you to get Avogadro 2 packaged. I will tag a new release soon, but can make bug fix releases too if issues arise. Thanks for reaching out!

cryos avatar Jan 20 '20 17:01 cryos

Avogadro2 is already packaged:

avogadroapp: https://src.fedoraproject.org/rpms/avogadro2 avogadro-libs: https://src.fedoraproject.org/rpms/avogadro2-libs

sagitter avatar Jan 20 '20 17:01 sagitter

Are there features that are missing for you still?

Currently, python2-sip is the only Python dependency for Avogadro(1). Can Avogadro work without it? Could be missed any main features if i remove SIP as build required dependency?

sagitter avatar Jan 20 '20 19:01 sagitter

You could disable the Python bindings and the core code would still work. Python bindings are optional, and the editor etc would still work. Probably the better option if it would otherwise be removed entirely.

cryos avatar Jan 20 '20 19:01 cryos

Thank you.

sagitter avatar Jan 20 '20 20:01 sagitter