Skip to content

Python 3.12 Release #405

@JP-Ellis

Description

@JP-Ellis

Description

  • CI/CD scripts need to be updated to test against Python 3.12 without allowing for failures.
    • For now, there is no need to add Python 3.13 to the test matrix, as it is not expected to reach beta until May 2024.
  • The hatch test environment matrix needs to be updated to include Python 3.12

Motivation: 🍾 Python 3.12 was released on 2 October 2023

This is the first release to fully drop the long-deprecated distutils package (see PEP 632). This means that people who are using Pact Python versions prior to 2.1.0 will not be able to install the package from source, as the build script depends on distutils.

Users who have pinned an older version of Pact Python and migrate to Python 3.12 will likely face some issues, but a simple pip install pact-python (or pip install --upgrade pact-python) will fix this.

Self-service

  • I'd be willing to contribute this feature to Pact Python myself.

Metadata

Metadata

Assignees

Labels

area:upstreamRelating to an upstream componentdifficulty:easyA simple task appropriate for newcomers to the codebasesmartbear-supportedThis issue is supported by SmartBeartype:featureNew feature

Type

No type

Projects

Status

✅ Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions