-
Notifications
You must be signed in to change notification settings - Fork 2
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
Homebrew formula improvements #9
Comments
We also remove the dependency on pygments, since it is installed in a venv by the new installer.
I haven't had the chance to read https://docs.brew.sh/Python-for-Formula-Authors just yet but I have made the changes you suggested in the formula. I tried it in a docker image and it works. |
Btw, I'm holding off on sending a PR or merging the changes into this repo until the release is final. |
We should also require "python@3.x" here: Line 18 in cb8061c
Why do we put things in
Note that, in the guide, |
Also, while we are at it, should the license be NOSA? Line 7 in 24cbcc2
|
We may not want to fight all of these "battles" for this release. Some of these concerns, even if appropriate, were there before 3.1 and do not prevent us from releasing. IKOS 3.3 will be out 3 months from now, so there's no need to squeeze as many fixes/features as possible in this release. |
I went through the guide and I could not find anything in the formula that contradicts the guide, apart from the small comment regarding |
Actually, forget about the vendor thing. First, that was added to the guide as part of a formatting commit (here), but I see nothing in the documentation that reflects that it is meant to mean "us". The parent commit uses Second, looking through github shows that it's common enough for people to use |
Right, it should be NOSA instead of MIT. Regarding the "vendor" thing, yeah I think this can go away. I see other formulas just do |
Ok, I'll change all three things: python3, NOSA, and the |
I've made these changes, @arthaud . If nothing else is needed, I'll merge these into If you have a chance to try it, please let me know how it goes. |
This commit updates the formula and checksum to point to release 3.2-rc1 of IKOS. The installation process also changes, and now requires using pip after cmake to install IKOS as a python package. The new release of IKOS requires python 3, so we adjust the dependency accordingly. IKOS has a NOSA license, not MIT, so we adjust the license as well.
I'll update this with a new version number, and merge tomorrow Thursday if all goes according to plan. If you need to do any last-minute checks, @arthaud , please go ahead. |
This commit updates the formula and checksum to point to release 3.2 of IKOS. The installation process also changes, and now requires using pip after cmake to install IKOS as a python package. The new release of IKOS requires python 3, so we adjust the dependency accordingly. IKOS has a NOSA license, not MIT, so we adjust the license as well.
I looked into the new homebrew formula: https://github.com/ivanperez-keera/homebrew-core/blob/master/Formula/ikos.rb
There are a few things I would like to address:
make install
creates another oneThis is what I think we should do:
virtualenv_create
-DINSTALL_PYTHON_VIRTUALENV=OFF
and-DPYTHON_VENV_EXECUTABLE=#{libexec}/vendor/bin/python
make install
, call#{libexec}/vendor/bin/python -m pip install .
inbuild/analyzer/python
to install the ikos python package in the homebrew-created virtualenv (or better, https://docs.brew.sh/Python-for-Formula-Authors#installing-bindings)venv.pip_install resources
to install pygments, the same way we did it beforeI don't have time to try today but I could try later this week.
The text was updated successfully, but these errors were encountered: