[requirements] The version of zeroconf in upper constraints no longer supports python3.6
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
Hi William: RHEL8 provides support for python3.8, if you are manually deploying OpenStack. In case of using OSP, the next version, 17, will be delivered in RHEL9, where the native version is python3.9. In any case, the OSP installation is provided using containers with the needed requirements, including the python binary. Regards. On Fri, Jan 28, 2022 at 10:36 AM William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
On Fri, 28 Jan 2022 at 09:30, William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
It should be possible to add a Python version specific requirement to upper constraints. Mark
On Fri, 2022-01-28 at 10:32 +0000, Mark Goddard wrote:
On Fri, 28 Jan 2022 at 09:30, William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
It should be possible to add a Python version specific requirement to upper constraints. yes you can bascially you just list the package twice with a version sepcify i dont know if we still have example in master but we used to do this for py2.7 in the past for our devstack testing and ooo i think we do not need this but it can be done if needed for other reasons i think https://github.com/openstack/requirements/blob/master/upper-constraints.txt#... we have an example for sphinks
rather then <=3.8 i would just clamp it for 3.6
Mark
On 22-01-28 13:39:22, Sean Mooney wrote:
On Fri, 2022-01-28 at 10:32 +0000, Mark Goddard wrote:
On Fri, 28 Jan 2022 at 09:30, William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
It should be possible to add a Python version specific requirement to upper constraints. yes you can bascially you just list the package twice with a version sepcify i dont know if we still have example in master but we used to do this for py2.7 in the past for our devstack testing and ooo i think we do not need this but it can be done if needed for other reasons i think https://github.com/openstack/requirements/blob/master/upper-constraints.txt#... we have an example for sphinks
rather then <=3.8 i would just clamp it for 3.6
Mark
Yes, that's how it's normally done, but they haven't officially dropped the support tag for it. https://pypi.org/project/zeroconf/0.38.1/ still says they support py35/36. So that's what reqs thinks. (uppoer-constraints.txt is a machine generated file). -- Matthew Thode
Not only these classifiers are still present, but they don't use python_requires, which means the latest version installs even on Python 2.7. I opened an issue on their GitHub: https://github.com/jstasiak/python-zeroconf/issues/1051 On Fri, 28 Jan 2022 at 14:50, Matthew Thode <mthode@mthode.org> wrote:
On 22-01-28 13:39:22, Sean Mooney wrote:
On Fri, 2022-01-28 at 10:32 +0000, Mark Goddard wrote:
On Fri, 28 Jan 2022 at 09:30, William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
It should be possible to add a Python version specific requirement to upper constraints. yes you can bascially you just list the package twice with a version sepcify i dont know if we still have example in master but we used to do this for py2.7 in the past for our devstack testing and ooo i think we do not need this but it can be done if needed for other reasons i think https://github.com/openstack/requirements/blob/master/upper-constraints.txt#... we have an example for sphinks
rather then <=3.8 i would just clamp it for 3.6
Mark
Yes, that's how it's normally done, but they haven't officially dropped the support tag for it. https://pypi.org/project/zeroconf/0.38.1/ still says they support py35/36. So that's what reqs thinks. (uppoer-constraints.txt is a machine generated file).
-- Matthew Thode
I've proposed a requirements patch for this since it breaks Ironic ramdisk builds: https://review.opendev.org/c/openstack/requirements/+/827338 On Fri, Jan 28, 2022 at 10:31 AM William Szumski <will@stackhpc.com> wrote:
The zeroconf package seems to have dropped support for python3.6 since 0.38.0, see: https://github.com/jstasiak/python-zeroconf#0380. We currently have 0.38.1 in upper-constraints. My understanding was that the yoga release would still support python3.6. This is important for RHEL8 based distributions that only ship python3.6. Do we need to constrain zeroconf to a version <=0.37.0?
-- Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
participants (7)
-
Dmitry Tantsur
-
Mark Goddard
-
Matthew Thode
-
Pierre Riteau
-
Rodolfo Alonso Hernandez
-
Sean Mooney
-
William Szumski