Skip to content

Upgrade pyo3 to 0.27.1 and add Python 3.14 support#3

Merged
amartani merged 1 commit into
mainfrom
claude/upgrade-pyo3-python314-011CUeUgoS62nBSiNCSKvBAb
Oct 31, 2025
Merged

Upgrade pyo3 to 0.27.1 and add Python 3.14 support#3
amartani merged 1 commit into
mainfrom
claude/upgrade-pyo3-python314-011CUeUgoS62nBSiNCSKvBAb

Conversation

@amartani

Copy link
Copy Markdown
Owner
  • Upgraded pyo3 dependency from 0.22 to 0.27.1
  • Fixed API changes in pyo3 0.27.1:
    • Replaced deprecated PyObject with Py
    • Updated *_bound methods to new API (new_bound -> new, empty_bound -> empty)
    • Added proper Result handling for methods that now return PyResult
    • Removed py.allow_threads in handle_line (simplified without Python param)
  • Added Python 3.14 to GitHub Actions test matrix in both test jobs

- Upgraded pyo3 dependency from 0.22 to 0.27.1
- Fixed API changes in pyo3 0.27.1:
  - Replaced deprecated PyObject with Py<PyAny>
  - Updated *_bound methods to new API (new_bound -> new, empty_bound -> empty)
  - Added proper Result handling for methods that now return PyResult
  - Removed py.allow_threads in handle_line (simplified without Python param)
- Added Python 3.14 to GitHub Actions test matrix in both test jobs
@amartani amartani merged commit 31316ec into main Oct 31, 2025
27 checks passed
@amartani amartani deleted the claude/upgrade-pyo3-python314-011CUeUgoS62nBSiNCSKvBAb branch October 31, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants