Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 Release #405

Closed
3 tasks done
JP-Ellis opened this issue Oct 2, 2023 · 1 comment · Fixed by #422
Closed
3 tasks done

Python 3.12 Release #405

JP-Ellis opened this issue Oct 2, 2023 · 1 comment · Fixed by #422
Assignees
Labels
area:upstream Relating to an upstream component difficulty:easy A simple task appropriate for newcomers to the codebase smartbear-supported This issue is supported by SmartBear type:feature New feature

Comments

@JP-Ellis
Copy link
Contributor

JP-Ellis commented Oct 2, 2023

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.
@JP-Ellis JP-Ellis added the status:triage An item which has been recently created and needs to be triaged label Oct 2, 2023
@JP-Ellis JP-Ellis removed the status:triage An item which has been recently created and needs to be triaged label Oct 10, 2023
@JP-Ellis JP-Ellis added the smartbear-supported This issue is supported by SmartBear label Oct 12, 2023
@JP-Ellis JP-Ellis self-assigned this Oct 12, 2023
@github-actions
Copy link

👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-1400). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps.

See our documentation for more information.

@JP-Ellis JP-Ellis added type:feature New feature area:upstream Relating to an upstream component difficulty:easy A simple task appropriate for newcomers to the codebase labels Oct 25, 2023
This was referenced Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:upstream Relating to an upstream component difficulty:easy A simple task appropriate for newcomers to the codebase smartbear-supported This issue is supported by SmartBear type:feature New feature
Projects
Status: ✅ Completed
Development

Successfully merging a pull request may close this issue.

1 participant