Skip to content

Commit

Permalink
Install extremal-python-dependencies from pypi (#673)
Browse files Browse the repository at this point in the history
* Install extremal-python-dependencies from pypi

This removes extremal-python-dependencies from this repository,
as it now lives at https://github.com/IBM/extremal-python-dependencies
and has releases [available on PyPI](https://pypi.org/project/extremal-python-dependencies/).

* Remove mentions of `tools/` directory from `tox.ini`
  • Loading branch information
garrison authored Sep 3, 2024
1 parent 28ebf42 commit d27efbb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 251 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_development_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
shell: bash
run: |
python -m pip install --upgrade pip tox
python -m pip install ./tools/extremal-python-dependencies
python -m pip install extremal-python-dependencies==0.0.3
extremal-python-dependencies pin-dependencies \
"qiskit @ git+https://github.com/Qiskit/qiskit.git" \
"qiskit-ibm-runtime @ git+https://github.com/Qiskit/qiskit-ibm-runtime.git" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_minimum_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install ./tools/extremal-python-dependencies
python -m pip install extremal-python-dependencies==0.0.3
pip install "tox==$(extremal-python-dependencies get-tox-minversion)"
extremal-python-dependencies pin-dependencies-to-minimum --inplace
- name: Modify tox.ini for more thorough check
Expand Down
40 changes: 0 additions & 40 deletions tools/extremal-python-dependencies/README.md

This file was deleted.

This file was deleted.

This file was deleted.

38 changes: 0 additions & 38 deletions tools/extremal-python-dependencies/pyproject.toml

This file was deleted.

14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ commands =
extras =
style
commands =
ruff check --fix qiskit_addon_cutting/ docs/ test/ tools/
ruff check --fix qiskit_addon_cutting/ docs/ test/
nbqa ruff --fix docs/
autoflake --in-place --recursive qiskit_addon_cutting/ docs/ test/ tools/
black qiskit_addon_cutting/ docs/ test/ tools/
autoflake --in-place --recursive qiskit_addon_cutting/ docs/ test/
black qiskit_addon_cutting/ docs/ test/

[testenv:lint]
extras =
lint
commands =
ruff check qiskit_addon_cutting/ docs/ test/ tools/
ruff check qiskit_addon_cutting/ docs/ test/
nbqa ruff docs/
autoflake --check --quiet --recursive qiskit_addon_cutting/ docs/ test/ tools/
black --check qiskit_addon_cutting/ docs/ test/ tools/
autoflake --check --quiet --recursive qiskit_addon_cutting/ docs/ test/
black --check qiskit_addon_cutting/ docs/ test/
pydocstyle qiskit_addon_cutting/
mypy qiskit_addon_cutting/
reno lint
pylint -rn qiskit_addon_cutting/ test/ tools/
pylint -rn qiskit_addon_cutting/ test/
nbqa pylint -rn docs/

[testenv:{,py-,py3-,py38-,py39-,py310-,py311-,py312-}notebook]
Expand Down

0 comments on commit d27efbb

Please sign in to comment.