Repository navigation
Updating submodule Taweret to v1.2.0 - #176
Conversation
|
I forgot that updating the neutron-rich-bmm repo would add commits to this PR---that commit is just for the neutron-rich-bmm repository in which I uploaded some data files that would be useful to users. No other changes were made to the repository. |
|
I have successfully installed OpenBT and Taweret using All of my testing/running was completed on my WSL instance, so effectively Ubuntu. I won't approve the PR for merging, but I do approve of it! |
|
Thanks @ominusliticus for your review! That leaves @sjaiswal-tifr and @wildsm to test the package using whatever OS they are able. |
|
I did I will now install the latest ninja, but figured I'd flag this to see if others find they also were missing the dependency. Note that readthedocs does say which I missed the first time while blasting forward following Taweret readme |
|
I pip install ninja and am still having issues Now So I try This is after pulling the latest eigen from https://gitlab.com/libeigen/eigen. |
|
@jared321 Do any of the issues Stefan is having look like anything you ran into during your testing of |
|
@wildsm Can you tell me which C++ compiler version you're using? I'm trying to diagnose this and it looks like it might be some library mismatch issue. |
|
@wildsm We have likely not explicitly installed Taweret recently with a pre-existing eigen installation. If eigen is not found, the OpenBTMixing build system will install a specific version of eigen (currently v3.4.0) under the hood that is used temporarily just for the build. If possible, could you please uninstall eigen and try again? Better yet, could you try updating your install to either v3.4.0 or v3.4.1 (See below)? Subsequent attempt to reproduceI was able to coax I get a huge number of C++ error messages, this little gem included @asemposki |
|
@jared321 - Thanks! I did fully remove eigen and then rebuilt using the fallback that does pull eigen v3.4.0. |
|
This looks like the problem we had when we did not have |
Excellent, thank you. Installing |
|
Proceeding with tests.
I started running notebooks
earlier there were syntax warnings:
|
|
@wildsm Can you please check the commit of the notebooks you are using? I wonder if syntax warnings are related to the need to escape the |
|
@jared321 - I'm not sure how, but I was indeed in an older version. All good. |
|
OK. That warning looks genuine. We'll see if that syntax issue was fixed on a later commit. |
|
I see the warnings @wildsm mentioned now in the latest rendering of the Jupyter Book online. I will put in a PR to fix this today and we should be able to get these syntax issues taken care of, as well as rolling back the Jupyter Book build version to make sure that it does not upgrade today (there was a new release of Jupyter Book built on Quarto that is now wreaking havoc with old actions). Thanks for bringing this to our attention, @wildsm! Somehow we missed these the first time around. |
Bringing up to date with Develop
Updated various BAND-compatible packages to their latest versions, including bug fixes and new features.
|
I have changed the three files that I think need to reflect the updated Taweret, please take a look. |
|
We are nearly ready to PR our changes into Taweret |
|
OK @wildsm we have updated Taweret and added the submodule update here. |
|
@sjaiswal-tifr - Will you be able to review this PR this week? |
|
@wildsm Yes, I shall do it by Thursday. |
|
Starting my review (system: Mac air M2):
Same error as faced by @wildsm when missing
All tests passed with some deprecation warning. Things look good to me. |
|
Thanks @sjaiswal-tifr; I will add the ninja installation explicitly to the docs steps. |
wildsm
left a comment
There was a problem hiding this comment.
Thanks all, this addressed the challenges I encountered initially.
One comment for future consideration:
If one installs ../SmoothEmulator first, then an Eigen will be installed that appears to be incompatible with the Taweret build process. If there is a way for the openbtmixing to force a local/fresh install of a compatible Eigen, that could be one way to address this issue.
Taweret is ready for review to update the submodule in the BAND framework for v0.5. The v1.2.0 release of Taweret has been completed and the new source distributions for this release have been uploaded to PyPI here.
There are two main ways to download Taweret: 1) via the PyPI link above; 2) using
git cloneon the GitHub repository site. Please test both ways if you are reviewing this PR. The readthedocs page here has installation instructions for each operating system that will be of use.1). PyPI download: go to the link above and download the package. Make sure that you can install it and run the tests in the folder
Teststhat is contained in thesrc/Taweretfolder, including verifying the version of the package viaTaweret.__version__()in a terminal running Python.2). GitHub clone: clone the repository and follow the instructions in the README there to install and test the package.
We have our readthedocs page set up at this page. Please verify that the version number of the package shows up at the top of the page under the Welcome header of docs main page and that the docs render correctly for you. We also have our Jupyter Book containing BMM tutorials located at this link. Please verify that the pages load correctly and that you can flip through the Book without any issues. To test the generation of the book, you can run
tox -r -e bookin the Taweret repository and all tests should pass there.Some important notes: all tests should be passing when running the
pytesttests files on the Taweret source code. You may encounter, when downloading and installing the package or running the tests, a deprecation warning for thebilbysampler. We are aware of that warning. Please let us know if you run into any errors.