-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Ninja update to avoid build fail on python3.13 #2392
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @novitae! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
CC @Orvid—the old bundled ninja version appears to have become a source of confusion (facebook/watchman#1284, facebook/mvfst#398). While |
@Orvid has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Summary: When building from scratch folly on python 3.13, here is the issue you will encounter: ``` Extract /private/tmp/follyt/downloads/ninja-v1.10.2.tar.gz -> /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz Building ninja... --- + cd /private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2 && \ + /opt/homebrew/opt/[email protected]/bin/python3.13 \ + configure.py \ + --bootstrap Traceback (most recent call last): File "/private/tmp/follyt/extracted/ninja-v1.10.2.tar.gz/ninja-1.10.2/configure.py", line 26, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Command '['/opt/homebrew/opt/[email protected]/bin/python3.13', 'configure.py', '--bootstrap']' returned non-zero exit status 1. !! Failed ``` (`python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt`) This is because the version `1.10.2` of ninja uses `pipes`, which has been deprecated since python 3.11 and removed in python 3.13. [^1] This PR changes the ninja dependency from 1.10.2 to 1.12.1. [^1]: https://docs.python.org/3/library/pipes.html X-link: facebook/folly#2392 Reviewed By: yfeldblum Differential Revision: D76523565 Pulled By: Orvid fbshipit-source-id: 8ba5b96b3a01334ab9b04e62c80588868273bb25
Thanks! |
When building from scratch folly on python 3.13, here is the issue you will encounter:
(
python3.13 ./build/fbcode_builder/getdeps.py build --scratch-path /tmp/follyt
)This is because the version
1.10.2
of ninja usespipes
, which has been deprecated since python 3.11 and removed in python 3.13. 1This PR changes the ninja dependency from 1.10.2 to 1.12.1.
Footnotes
https://docs.python.org/3/library/pipes.html ↩