FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update PyO3 to 0.29 by musicinmybrain · Pull Request #978 · python-pendulum/pendulum · GitHub

Update PyO3 to 0.29 - #978

Open
musicinmybrain wants to merge 1 commit into
python-pendulum:masterfrom
musicinmybrain:pyo3-0.29
Open

Update PyO3 to 0.29#978
musicinmybrain wants to merge 1 commit into
python-pendulum:masterfrom
musicinmybrain:pyo3-0.29

Conversation

musicinmybrain commented Jun 30, 2026
edited
Loading

Copy link
Copy Markdown

Pull Request Check List

  • Added tests for changed code. N/A
  • Updated documentation for changed code. N/A

See https://pyo3.rs/v0.29.0/changelog.html, and note that PyO3 0.29 fixes https://rustsec.org/advisories/RUSTSEC-2026-0176.html and https://rustsec.org/advisories/RUSTSEC-2026-0177.html.

Note also that since PyO3 0.29, the generate-import-lib feature is deprecated and no longer has any effect; it is present only for backward-compatibility. See PyO3/pyo3#5866.

The source-code changes avoids the following warning:

warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Cl
one` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation.
 --> src/python/types/timezone.rs:5:1
  |
5 | #[pyclass(module = "_pendulum", extends = PyTzInfo)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default
  = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)

codspeed-hq Bot commented Jul 1, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 1 untouched benchmark


Comparing musicinmybrain:pyo3-0.29 (cc32cba) with master (cbab60c)

Copy link
Copy Markdown

@Secrus This is a blocker for many projects to migrate to Python 3.15 as pydantic-extra-types depends on pendulum, which is a dependency for fastapi.

As the last person to merge to master, is there any chance this could be reviewed and landed?

Secrus commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

@DanielNoord Python 3.15 is not out yet, so I don't see how that could be a blocker. I will be looking at making a release sometime in September, and that will include Python 3.15 support. If you want to discuss the matter further, please open a new issue so that the discussion doesn't hijack other threads.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL