Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version:
- "3.8"
- "3.9"

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Plugins for camacq:

### Requirements

- Python version 3.7+.
- Python version 3.8+.
- camacq >= 0.6.0

## Usage
Expand Down
1 change: 0 additions & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
asynctest==0.13.0
pytest==6.2.5
pytest-asyncio==0.17.1
pytest-cov==3.0.0
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=REQUIRES,
entry_points={
"camacq.plugins": [
Expand All @@ -35,7 +35,6 @@
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
Expand Down
5 changes: 2 additions & 3 deletions tests/production/test_production.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"""Test the production plugin."""
from unittest.mock import call
from unittest.mock import AsyncMock, call

import pytest
import voluptuous as vol
from asynctest import CoroutineMock
from ruamel.yaml import YAML

from camacq import plugins
Expand Down Expand Up @@ -78,7 +77,7 @@ async def test_image_events(center, leica_sample):
well_x = 0
well_y = 0
await plugins.setup_module(center, config)
calc_gain = CoroutineMock()
calc_gain = AsyncMock()
gains = {
"green": 800,
"blue": 700,
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[tox]
envlist = py37, py38, py39, lint
envlist = py38, py39, lint
skip_missing_interpreters = True

[gh-actions]
python =
3.7: py37, lint
3.8: py38
3.8: py38, lint
3.9: py39

[testenv]
Expand Down