Skip to content

Add patch about replace shlex from pipes on Python 3.13+ to fix build error on new OS. - #28

Open
narukeu wants to merge 2 commits into
reactos:masterfrom
narukeu:use-patch
Open

Add patch about replace shlex from pipes on Python 3.13+ to fix build error on new OS.#28
narukeu wants to merge 2 commits into
reactos:masterfrom
narukeu:use-patch

Conversation

@narukeu

@narukeu narukeu commented Mar 25, 2026

Copy link
Copy Markdown

I tried building RosBE on a modern Linux toolchain (Ubuntu 26.04), and found that the current RosBE's Ninja imports the pipes module, which is deprecated in Python 3.13+. This causes build issues on newer GNU/Linux, so I submitted a patch. I made a similar fix in a previous PR where I added sed to the bash script, but I felt that had the smell of a monkey patch and wasn't appropriate. I think using a patch is more suitable, so I opened a new PR.

@ThFabba

ThFabba commented Jul 22, 2026

Copy link
Copy Markdown
Member

I think we should apply the upstream patch instead: ninja-build/ninja@9cf13cd

(though this may be moot if we manage to release an updated version soon)

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