Skip to content
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

Update CI PSI4 install #1266

Merged
merged 6 commits into from
Nov 3, 2023
Merged

Conversation

woodsp-ibm
Copy link
Member

@woodsp-ibm woodsp-ibm commented Nov 1, 2023

Summary

Nightly tests seem to sometimes be failing around PSI4 with Windows and Python 3.8. CI is using Windows 2019 (not latest) and an older 1.6 PSI4. Newer versions of PSI4 are out there which also now support 3.11 so it can be installed there now too. I think part of using WIndows-2019 was that we used to build Aer and that was done in that platform.

Anyway this does two things, first changes to windows-latest instead of windows-2019 (presently latest is windows-2022) and it removes the PSI4 1.6 specific version install to install whatever is the stable release, as well as installing it across the board (i.e. remove platform/version restrictions)

I will note the Windows and the default (Ubuntu) sections of the PSI4 install action now are the same, but I left them in separate blocks for now. I am unsure if the openmp updates are needed for Mac, but it seemed that could be done anyway so I left them. I want to see how this change fairs before thinking about possibly collapsing the blocks - though it does no harm to leave them as-is in case things need differentiating still (or in the future) - which is really why I did not already do this.

Update: In the end the openmp updates that were needed for the version Mac 3.8 was using is now not needed. The conda install info/syntax was taken from https://psicode.org/installs/v182/ where its the same for all platforms. This works fine and now 3.11 CI includes PSI4 (for all platforms) where it did not before. Currently its installing 1.8.2 across the board versus 1.7 for Ubuntu and 1.6 for Windows & Mac as things were. I simplified the PSI4 install action to remove the if/then based on platform since the contents ended up all the same.

Details and comments

@coveralls
Copy link

coveralls commented Nov 2, 2023

Pull Request Test Coverage Report for Build 6738591181

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 86.75%

Totals Coverage Status
Change from base Build 6611860946: 0.02%
Covered Lines: 8708
Relevant Lines: 10038

💛 - Coveralls

Copy link
Member

@mrossinek mrossinek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Steve!

@mrossinek mrossinek merged commit 0ec0930 into qiskit-community:main Nov 3, 2023
15 checks passed
@woodsp-ibm woodsp-ibm deleted the windows_ci branch November 3, 2023 13:01
ialsina pushed a commit to ialsina/qiskit-nature that referenced this pull request Nov 17, 2023
* Update CI PSI4 install

* Switch windows to conda-forge

* Switch install as given by psicode.org

* Comment openmp install for Mac to see

* Comment openmp install for Mac to see

* Remove platform if's as all same now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants