Skip to content

Commit

Permalink
Merge pull request #1190 from mrakitin/cln-dependencies
Browse files Browse the repository at this point in the history
CLN: clean up dependencies left from ophyd v2
  • Loading branch information
tacaswell authored Jul 19, 2024
2 parents e9f51dd + 7c50e84 commit 9c77d86
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 3,095 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2

- name: Lint
run: pip install --user .[dev] && tox -e pre-commit,mypy
run: pip install --user .[dev] && tox -e pre-commit

build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
source ${GITHUB_WORKSPACE}/scripts/epics_docker.sh
- name: Test with pytest
run: pytest -k "${TEST_CL} or /v2/"
run: pytest -k "${TEST_CL}"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down
5 changes: 0 additions & 5 deletions docs/_templates/custom-class-template.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.. note::

Ophyd.v2 is included on a provisional basis until the v2.0 release and
may change API on minor release numbers before then

{{ fullname | escape | underline}}

.. currentmodule:: {{ module }}
Expand Down
5 changes: 0 additions & 5 deletions docs/_templates/custom-module-template.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.. note::

Ophyd.v2 is included on a provisional basis until the v2.0 release and
may change API on minor release numbers before then

{{ fullname | escape | underline}}

.. automodule:: {{ fullname }}
Expand Down
2 changes: 1 addition & 1 deletion ophyd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def set_cl(control_layer=None, *, pv_telemetry=False):
# TODO replace this with fancier meta-programming
# TODO handle control_layer being a module/nampspace directly
if control_layer == "pyepics":
# If using pyepics and ophyd.v2 (p4p and aioca), need to use the same
# If using pyepics and ophyd-async (p4p and aioca), need to use the same
# libCom and libCa as provided by epicscorelibs
# https://github.com/BCDA-APS/apstools/issues/836
try:
Expand Down
Empty file removed ophyd/v2/__init__.py
Empty file.
236 changes: 0 additions & 236 deletions ophyd/v2/_aioca.py

This file was deleted.

Loading

0 comments on commit 9c77d86

Please sign in to comment.