Skip to content

Set python<3.11 restriction?  #9605

Closed
Closed

Description

@jrbourbeau

Python 3.11 is out (🎉) but Dask doesn't yet have support for Python 3.11 (🙁). Users are starting to report issues (xref dask/distributed#7211) and, in general, I wouldn't expect them to have a good experience on Python 3.11 yet. IIRC historically we haven't set upper limits on Python versions, though maybe we should to make sure Dask users have a working setup until we add support for Python 3.11

cc @jakirkham @fjetter @crusaderky @ian-r-rose for thoughts

Activity

  1. added
    discussion
    on Oct 27, 2022
  2. jakirkham commented on Oct 27, 2022

    @jakirkham
    Member

    This came up in another context previously and a colleague shared this blogpost, which suggests not having an upper bound

  3. jacobtomlinson commented on Oct 28, 2022

    @jacobtomlinson
    Member

    A quote from the post @jakirkham shared

    Never cap Python

    Perhaps it would make sense to create a Python 3.11 milestone or label and put all issues under that. I think users are quite understanding that supporting new Python versions is always a work in progress. But communicating that we care about supporting it eventually would be a good thing to do.

    We could also consider adding the 3.12 beta to CI and actively aim to support it on day 1.

  4. crusaderky commented on Oct 28, 2022

    @crusaderky
    Collaborator

    Getting bug reports about python 3.11 is good. It helps us implement support faster.
    I agree that most users should understand that a brand new python version always has bumpy support from packages in the first few weeks.
    -1 for capping the python version from me too.

  5. fjetter commented on Oct 28, 2022

    @fjetter
    Member

    To cite the blogpost

    Only add a cap if a dependency is known to be incompatible or there is a high (>75%) chance of it being incompatible in its next release.

    We're very certain that distributed in its current version will not run with python 3.11. There are a couple of asyncio issues to work through first. We invested in this effort already a lot but couldn't complete it, yet (for instance, the entire loop runner effort)

    Given this knowledge why wouldn't we pin?

    +1 for the milestone

  6. jakirkham commented on Oct 28, 2022

    @jakirkham
    Member

    Think the other practical thing to be aware of is if we add a pin to the current Dask & Distributed release. It won't be present in previous releases. The reason this matters is users could end up installing an earlier version and not encountering this pin.

    Also some solvers (Conda definitely does this), will pick older version of Dask & Distributed (if none is specified) to meet Python version requirements.

    In conda-forge (and defaults) repodata can be hot-fixed, which backport a Python version constraint backwards. This is not possible with PyPI.

  7. mmccarty commented on Nov 23, 2022

    @mmccarty
    Member

    I'm not sure pinning gets you anything given that it would only exist in the current version going forward. You could just add a note on the install page letting users know the Python 3.11 is not yet fully baked and reference the milestone.

  8. mrocklin commented on Nov 23, 2022

    @mrocklin
    Member

    Zooming out a bit, is any group currently working on supporting 3.11? cc'ing also @quasiben in case his folks are interested in supporting here.

  9. jrbourbeau commented on Nov 23, 2022

    @jrbourbeau
    MemberAuthor

    Tom has a PR over in dask/distributed for adding Python 3.11 (xref dask/distributed#7249). Nobody has started on dask/dask support for Python 3.11 -- just opened this issue for tracking that #9691

  10. jrbourbeau commented on Dec 16, 2022

    @jrbourbeau
    MemberAuthor

    Going to close this as we now have Python 3.11 support (xref #9708, dask/distributed#7249)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions