Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-104692: Include commoninstall as a prerequisite for bininstall#104693
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
jefferyto commented May 20, 2023 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot commented May 20, 2023
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
ghost commented May 20, 2023 • edited by ghost
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by ghost
Uh oh!
There was an error while loading. Please reload this page.
This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed.
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: #19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 67e47f1)
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 67e47f1) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
When doing parallel builds, host Python can install the python3 symlink before the Python standard library is installed completely. When this occurs, it is possible for other packages to detect the python3 symlink and try to use host Python before it is fully installed. This adds a patch to make commoninstall (where the standard library is installed) a prerequisite of bininstall (where the python3 symlink is installed), so that commoninstall is fully completed before bininstall begins. Patch has been submitted upstream: python/cpython#104693Fixes: openwrt#19241 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Add an explanation for why commoninstall is made a prerequisite of bininstall. Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
miss-islington commented Jun 7, 2023
Thanks @jefferyto for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington commented Jun 7, 2023
Sorry @jefferyto and @ambv, I had trouble checking out the |
miss-islington commented Jun 7, 2023
Sorry, @jefferyto and @ambv, I could not cleanly backport this to |
…ininstall (pythonGH-104693) This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed. Co-authored-by: Zachary Ware <zachary.ware@gmail.com> (cherry picked from commit 990cb36) Co-authored-by: Jeffery To <jeffery.to@gmail.com>
bedevere-bot commented Jun 7, 2023
GH-105428 is a backport of this pull request to the 3.12 branch. |
bedevere-bot commented Jun 7, 2023
GH-105429 is a backport of this pull request to the 3.11 branch. |
bedevere-bot commented Jun 7, 2023
GH-105428 is a backport of this pull request to the 3.12 branch. |
…ininstall (pythonGH-104693) This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed. Co-authored-by: Zachary Ware <zachary.ware@gmail.com>. (cherry picked from commit 990cb36) Co-authored-by: Jeffery To <jeffery.to@gmail.com>
bedevere-bot commented Jun 7, 2023
GH-105429 is a backport of this pull request to the 3.11 branch. |
jefferyto commented Jul 4, 2023
Is there anything else I should do to have the backports merged? |
…all (GH-104693) (#105429) This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed. . (cherry picked from commit 990cb36) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
ambv commented Jul 5, 2023
I merged them. |
960-fix-parallel-make.patch: fixed upstream python/cpython#104693
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit e42c845)
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit e42c845)
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed sockets). This also: * Remove 027-install-python3-symlink-after-stdlib.patch This was merged upstream in python/cpython#104693. * Remove fix for unnecessary linking with libbsd (60bf01c) This was fixed upstream in python/cpython#105236. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This ensures that
commoninstallis completed beforebininstallis started when parallel builds are used (make -j install), and so thepython3symlink is only installed after all standard library modules are installed.