Skip to content

Python 3.12 compatibility#58

Draft
timbernat wants to merge 1 commit intomainfrom
py312-updates
Draft

Python 3.12 compatibility#58
timbernat wants to merge 1 commit intomainfrom
py312-updates

Conversation

@timbernat
Copy link
Copy Markdown
Owner

@timbernat timbernat commented Apr 29, 2026

Description

Update package code and build config to allow use with Python 3.12+ as Python 3.11 enters end-of-life.

Todos

Notable points that this PR has either accomplished or will accomplish.

  • Enable pip install polymerist without dependency conflicts in envirnment with at least Python 3.12
  • Update with minimal changes to source, and without breaking examples
  • Resolve Support for Python 3.12 #57

Questions

  • What are sources of 3.12 incompatibility?
    • In-code (e.g. typehints, which did change)
    • Dependency (e.g. importlib, OpenFF)
    • Other?

Status

  • Confirm import across all subpackages
  • Verify CI workflow runs w/ 3.12 added to matrix
  • Check compat on PyPI (dev) release
  • Ready to go

@timbernat timbernat self-assigned this Apr 29, 2026
@timbernat timbernat added the priority:medium Moderate urgency, issue has major impacts on some but not most parts of the codebase label Apr 29, 2026
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

priority:medium Moderate urgency, issue has major impacts on some but not most parts of the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Python 3.12

2 participants