-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Z3 4.12.3 #24897
Add Z3 4.12.3 #24897
Conversation
@kit-ty-kate has pinpointed the error message is raised at this mk_util.py/compileall.compile_dir (doc for py_compile).
(edit: this error message may be not related. I am still debugging) The only difference between |
At this moment, I am not clear about whether it's related to #24742 . |
Thanks for taking a look at this! Just yesterday, we have seen the same problem as in the CI runs on the previous version of Z3 (4.12.2-1), on a freshly upgraded MacOS Sonoma, however I wasn't able to reproduce the problem myself yet (on Sonoma or elsewhere). This is not about files not being found, but about permissions to the Python compilation cache. During Is there a way for me to get access to the |
Oh, the gcc-fix patch isn't required anymore as that change has been merged into Z3 itself since the previous release. |
@wintersteiger Thanks for the explanation for the gcc-fix patch. |
Here is the recap from the chat with @kit-ty-kate . The I need some time to investigate it (again). p.s. I am more inclined to think it's related to macOS security policy in the CI images rather than any ocaml/opam/z3 problem but still need experiments to confirm it. I can install the PR-ed version of z3 with my local 5.1.1-rc without problems. |
That's a very good point - it may indeed be some new security policy. |
What is the state of this? Looks like is just the CI being stricter to me, but do you think you should look into it more carefully to ensure compatibility with mac before we merge? |
I'm still trying to reproduce the failure, unsuccessfully so far. It only seems to happen on newer MacOS Sonoma's, on which installation of the current Z3 package (4.12.2-1) fails also. It seems to be some sort of system-controlled flavour of Python that triggers it because of more restrictive user permissions or security policies. |
I haven't done (not a good time to) embark on ocurrent/macos-infra yet. I will do but I am afraid I block any merging here if they work for most of the time. I cannot reproduce it myself. ocurrent/macos-infra has mentioned SIP. Another maybe related issue is mac's legacy support for scripting language. |
I've added a patch to make the Python bytecode compilation optional. Sorry for abusing the CI, but I just can't reproduce the problem anywhere else. |
Also, I finally managed to reproduce it. It's the Python 3.9 that comes with XCode that creates a cache in |
Great work for detecting this (and also for the fix)! |
Two nuscr package builds failed during the CI run. I have no idea what those packages are and what they do, but I think it has nothing to do with Z3? |
Thank you for the two z3 pushes. They look good to me. |
Don't worry about that. It is not related and seems only a innocuous cram test output change |
Thanks |
This adds the latest Z3 release.