Skip to content

Python 3.12.0rc1 is released: Release a new version with 3.12 support? #262

Closed

Description

@hwalinga

Since the first release candidate for Python 3.12 was released yesterday. Maybe it is time to make a new release on Python that officially supports 3.12?

Thanks a lot!

Activity

  1. ianthomas23 commented on Aug 18, 2023

    @ianthomas23
    Member

    There won't be any release here until NumPy have an official release on PyPI that supports Python 3.12. This is in progress https://pypi.org/project/numpy/1.26.0b1/#files

  2. effigies commented on Aug 25, 2023

    @effigies

    Would you consider pushing a beta, similar to numpy's 1.26.0b1, so that matplotlib can start shipping nightly wheels for cp312 and downstream tools can run their full test suites? Or even a .dev0 that could be yanked later?

    I don't have stats, but matplotlib is likely to be a blocker for a large number of projects in the scientific python ecosystem., and it would be nice to identify regressions in Python 3.12 before its final release.

  3. ianthomas23 commented on Aug 25, 2023

    @ianthomas23
    Member

    @effigies It is a reasonable request, but you don't need a ContourPy dev wheel as the latest sdist suffices.

    ContourPy has been built and tested on python 3.12 for over 2 months now (#254) on the major 3 platforms. There hasn't been a single problem identified caused by switching from 3.11 to 3.12. Incidentally, those CI runs necessitate building NumPy from source, which I have been happy to do to obtain early information about python 3.12 compatibility. Matplotlib's equivalent PR (matplotlib/matplotlib#24711) has yet to be merged so downstream projects are much more likely to have a problem with Matplotlib than ContourPy.

    Neither your projects nor Matplotlib need to wait for a ContourPy release that supports python 3.12 before you can proceed. There is no blocker here. Building ContourPy 1.1.0 from sdist takes about a minute on the 3 major platforms (e.g. https://github.com/contourpy/contourpy/actions/runs/5914819149/job/16040481410) using the usual pip install command assuming you have an appropriate toolchain installed which is always the case on github actions.

  4. ianthomas23 commented on Sep 9, 2023

    @ianthomas23
    Member

    There is now a ContourPy release candidate 1.1.1rc1 available (https://github.com/contourpy/contourpy/releases/tag/v1.1.1rc1) which includes wheels for Python 3.12.

    To install from PyPI use

    pip install --pre contourpy

    or the more explicit

    pip install "contourpy==1.1.1rc1"
  5. ianthomas23 commented on Sep 17, 2023

    @ianthomas23
    Member

    ContourPy 1.1.1 is available on PyPI and conda-forge including wheels for CPython 3.12.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions