Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix build on PyPy#27359

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
oscargus merged 1 commit intomatplotlib:mainfromQuLogic:fix-pypy
Nov 23, 2023
Merged

Fix build on PyPy#27359

oscargus merged 1 commit intomatplotlib:mainfromQuLogic:fix-pypy
Nov 23, 2023

Conversation

QuLogic
Copy link
Member

PR summary

It appears thatPy_FileSystemDefaultEncodeErrors is not part of the limited API, and PyPy does not have it. This broke wheel building CI only, as PyPy isn't otherwise built.

Since pybind11 does not have a wrapper forPyUnicode_EncodeFSDefault (the main reason I had switched to aencode call earlier), we need to call it ourselves manually.

PR checklist

It appears that `Py_FileSystemDefaultEncodeErrors` is not part of thelimited API, and PyPy does not have it.Since pybind11 does not have a wrapper for `PyUnicode_EncodeFSDefault`(the main reason I had switched to a `encode` call earlier), we need tocall it ourselves manually.
@QuLogicQuLogic added GUI: tk CI: Run cibuildwheelRun wheel building tests on a PR labelsNov 21, 2023
@QuLogicQuLogic added this to thev3.9.0 milestoneNov 21, 2023
@ksunden
Copy link
Member

Is this a problem only for the meson builds?

@QuLogic
Copy link
MemberAuthor

I don't think so; I forgot to mention it was caused by#26992 according to the CI logs.

@ksunden
Copy link
Member

Ahh, okay, I was wondering if it needed to be backported (and possibly prompt another release), but the line that is changing is only on main, so don't think so.

@jklymak
Copy link
Member

Should we be concerned that this has no test coverage?

@QuLogic
Copy link
MemberAuthor

That is definitely wrong; we probably lost coverage for compiled code in the move to Meson.

@QuLogic
Copy link
MemberAuthor

Looking at thecoverage for the file directly, it's not really uncovered, but partially covered. This probably partially because we don't do coverage on non-Linux, but I'm investigating some outdated settings in the test config.

@oscargusoscargus merged commit0a4efbe intomatplotlib:mainNov 23, 2023
@QuLogicQuLogic deleted the fix-pypy branchNovember 23, 2023 20:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Labels
CI: Run cibuildwheelRun wheel building tests on a PRGUI: tk
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

4 participants
@QuLogic@ksunden@jklymak@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp