Home Help Center

Python 3.9 Compatibility

jcbellonjcbellon Member BellonOrganization: J. Safra Sarasin BankProject: Grid Computing

Hello and thanks first of all for your great software !

We are developing some internal software using Ice 3.7.2 and Python 2.7.
We wish to migrate to Python 3.9 because of some dependencies but I found some conflicting information about Python supported version :
https://zeroc.com/downloads/ice/3.7/python
=> Seems to indicate that compatibilty is restricted to Python 3.7
https://forums.zeroc.com/discussion/46757/ice-3-7-5-released#latest
=> Seems to indicate 3.7.5 could work with 3.9

So I have to question:
1) Do you confirm support of Python 3.9 in 3.7.5 and later ?
2) If yes, is upgrading is mandatory or 3.7.2 could be used with Python 3.9 ?

Thanks in advance for your answer,
Best regards,

Jean-Christophe

Tagged:

Best Answer

Answers

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    For the list of supported platforms see:

    https://doc.zeroc.com/ice/3.7/release-notes/supported-platforms-for-ice-3-7-8#id-.SupportedPlatformsforIce3.7.8v3.7-IceforPython

    3.7.5 is the first Ice version to support Python 3.9, but is best to always use the latest patch release.

  • jcbellonjcbellon Member BellonOrganization: J. Safra Sarasin BankProject: Grid Computing

    Apparently wheels for Python 2.7 and Python 3.9 are only provided for 3.7.5 so this looks like the way to go as this version to have allow a backward compatible platform (server is built with C++ 3.7.5) that will help migration in our case.

    But unfortunately I can't find ice-3.7.5.msi (and neither ice-3.7.8.msi despite the documentation pages suggests: https://doc.zeroc.com/ice/3.7/release-notes/using-the-windows-binary-distributions). Could you indicate in what repository I can find it because I cannot connect nugget repository from the internal corporate network.

    Thanks a lot in advance once again,
    Best regards,

    Jean-Christophe

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    edited September 6 Answer ✓

    You can build the package from the source using pip, if you have a support contract contact support and we can do that for you.

    The MSI can be downloaded from:

    https://zeroc.com/download/Ice/3.7/Ice-3.7.8.msi
    https://zeroc.com/download/Ice/3.7/Ice-3.7.5.msi

  • jcbellonjcbellon Member BellonOrganization: J. Safra Sarasin BankProject: Grid Computing

    Hi Jose and thanks for for super duper fast answers !

    Actually the compatibility page only list 3.7.8 release, cannot find the same for historical versions. And this page states Python 3.10, so is there a risk of a backward conflict with 3.9 ? Would backward compatibility a given fact in Python 3.X ?

    Thanks you also for the links that was exactly that was looking for.

    One last question regarding distribution packaging. If our IT cannot access internet for PIP or NUGGET package managers, how do you recommend to get the Python distribution and binaries tools ? My solution at the moment is to download Ice-X.X.X.msi for the binaries and download the wheels from https://pypi.org/ and either unzip the file, either run pip with local file. If you have better suggestions, I would be glad to hear it.

    Best regards,

    Jean-Christophe

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    Actually the compatibility page only list 3.7.8 release, cannot find the same for historical versions. And this page states Python 3.10, so is there a risk of a backward conflict with 3.9 ?

    We only test Python 3.10 and 2.7 for 3.7.8 release testing on Windows, 3.9 should probably work without issues but we only list as supported the platforms we actually test

    One last question regarding distribution packaging

    This is out of the scope of the free support we can give on this forum if you are using Ice for a commercial purpose you should consider getting a support contract.

    Cheers,
    Jose

  • jcbellonjcbellon Member BellonOrganization: J. Safra Sarasin BankProject: Grid Computing

    Understood and thanks again !

Sign In or Register to comment.