Skip to content

Commit

Permalink
ci: disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT XCF (q…
Browse files Browse the repository at this point in the history
…iskit-community#1249)

* ci: disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT XCF

* fix: typo in filename

* ci: also suppress warning during unittests
  • Loading branch information
mrossinek authored Sep 6, 2023
1 parent be75fbc commit bdef2be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/install-nature/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ runs:
fi
pip install -e .[pyscf,mpl,sparse,opt_einsum]
pip install -U -c constraints.txt -r requirements-dev.txt
# disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional
echo "B3LYP_WITH_VWN5 = True" >> ~/.pyscf_conf.py
shell: bash
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
pip install pyenchant
# append to reno config
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional
echo "B3LYP_WITH_VWN5 = True" >> ~/.pyscf_conf.py
shell: bash
- name: Set up problem matches
run: |
Expand Down Expand Up @@ -302,6 +304,8 @@ jobs:
pip install jupyter
sudo apt-get install -y pandoc
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional
echo "B3LYP_WITH_VWN5 = True" >> ~/.pyscf_conf.py
shell: bash
- name: Run Qiskit Nature Tutorials
env:
Expand Down

0 comments on commit bdef2be

Please sign in to comment.