Skip to content

Commit

Permalink
Update dependencies and mock imports (no qiskitmetal)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanto268 committed Dec 24, 2023
1 parent cf62550 commit f59b187
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,16 @@ jobs:
python -m ensurepip
python -m pip install --upgrade pip
- name: Install Qiskit Metal via Conda
run: |
sudo apt install graphviz=2.42.2-6 pandoc=2.9.2.1-3ubuntu2 qtbase5-dev=5.15.3+dfsg-2ubuntu0.2 qt5-qmake=5.15.3+dfsg-2ubuntu0.2
echo "source $CONDA/etc/profile.d/conda.sh" >> $GITHUB_ENV
conda create -n myenv python=3.11 -y
echo "conda activate myenv" >> $GITHUB_ENV
conda install -c conda-forge qiskit-metal -y
- name: Install squadds recs
run: |
~/miniconda3/envs/myenv/bin/pip install datasets
~/miniconda3/envs/myenv/bin/pip install pyEPR-quantum
~/miniconda3/envs/myenv/bin/pip install dotnetcore2
~/miniconda3/envs/myenv/bin/pip install -r requirements.txt
pip install datasets
pip install pyEPR-quantum
pip install dotnetcore2
pip install -r requirements.txt
- name: Install squadds library
run: |
~/miniconda3/envs/myenv/bin/pip install -e . -vvv
pip install -e . -vvv
- name: Verify qutip and scqubits Installation
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

add_module_names = True
modindex_common_prefix = ["squadds."]
autodoc_mock_imports = ["qutip", "scqubits"]
autodoc_mock_imports = ["qutip", "scqubits", "qiskit_metal"]

autodoc_typehints = "description"
# Only add type hints from signature to description body if the parameter has documentation. The
Expand Down

0 comments on commit f59b187

Please sign in to comment.