| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Performance is neutral. If you squint, startup is slightly faster and JIT-heavy benchmarks are slightly slower, but it's mostly in the noise for this machine. |
Sorry, something went wrong.
There was a problem hiding this comment.
Instead of removing the support altogether, wouldn't it be nicer to call it only on supported macOS version?
Sorry, something went wrong.
|
We chatted about that at PyCon but it sounded like it didn't really seem like the right trade-off because there's not a strong justification for having it in the first place. |
Sorry, something went wrong.
|
Yeah, if we left it in we'd need to test it, etc. It's intended to be a lightweight workaround for JITs with self-modifying code on newer Macs that don't support WX pages, which doesn't apply to us. I think it's cleaner to just pull it out for now. |
Sorry, something went wrong.
There was a problem hiding this comment.
Seems reasonable to me - I'm very +1 on wider distribution of JIT builds :)
Sorry, something went wrong.
There was a problem hiding this comment.
OK, if this causes issue, let's merge it. As Brandt said our JIT doesn't really modify the code while executing.
Sorry, something went wrong.
|
@hugovk, @zanieb, @ned-deily: thoughts on backporting this change? I know we're in RC, but this would allow macOS distributors like uv to ship the JIT (like it does for other platforms) without carrying this patch. The new code is reverting things to the way they worked in 3.13 and part of 3.14 (and Linux) anyways, so I'm personally confident that backporting won't lead to issues. |
Sorry, something went wrong.
I need to test the change first, which I'll do in the next day. But, assuming no problems, it should definitely be backported for 3.14. We've been handwaving about older release support while waiting for this to be fixed. |
Sorry, something went wrong.
|
Fine by me when Ned gives the nod. |
Sorry, something went wrong.
|
Should we try to get the backport into the next RC @ned-deily @hugovk? |
Sorry, something went wrong.
I'm looking at it now. |
Sorry, something went wrong.
|
GH-137701 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
Looks good for main and for 3.14 as well. There was a minor conflict with backporting to 3.14 so I created a manual backport for it in #137701. |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86-64 MacOS Intel NoGIL 3.14 (tier-1) has failed when building commit 2392232. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1679/builds/406 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.14.itamaro-macos-intel-aws.nogil/build/Lib/test/test_concurrent_futures/util.py", line 71, in tearDown
self.assertLess(dt, 300, "synchronization issue: test lasted too long")
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 352.783409319818 not less than 300 : synchronization issue: test lasted too long
|
Sorry, something went wrong.
|
Both 3.15 and 3.14 seem to be failing after this change: https://buildbot.python.org/#/release_status Is it a genuine failure? Or perhaps something up with the buildbot worker? cc @itamaro just in case. |
Sorry, something went wrong.
|
I doubt it's due to this change, since NoGIL and the JIT can't even be built together. The failing test name test_largefile seems suspicious, maybe the bot is low on disk/memory? |
Sorry, something went wrong.
|
Back to green after second rebuild 👍 |
Sorry, something went wrong.
…T builds (pythonGH-137211) (python#137701) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
| Back | FazBrowse Home | New Git URL |
This rolls back GH-126196 and adds stricter checks for newer APIs in JIT CI. We don't really need the superpowers of the newer API (rapid flip-flopping permissions on JIT pages) since our JIT doesn't use self-modifying code.
This allows downstream distributors (like uv, CC @zanieb) to ship the JIT for more users.