Skip to content

Commit dd1ef5b

Browse files
authored
Merge pull request #71 from casper-astro/py38-dev
Py38 dev
2 parents 276ee44 + cdcaa20 commit dd1ef5b

File tree

15 files changed

+4976
-139
lines changed

15 files changed

+4976
-139
lines changed

.github/workflows/run_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.8.3"]
10+
python-version: ["3.8"]
1111

1212
steps:
1313
- uses: actions/checkout@v3

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
'IPython',
5555
'future',
5656
'numpy',
57-
'katcp==0.9.1',
57+
'katcp==0.9.3',
5858
'katversion',
5959
'odict',
6060
'setuptools',

src/casperfpga.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import socket
55
from time import strptime
66
import string
7-
import collections
7+
from collections.abc import Callable
88

99
from . import register
1010
from . import sbram
@@ -625,7 +625,7 @@ def _create_memory_devices(self, device_dict, memorymap_dict, legacy_reg_map=Tru
625625
except KeyError:
626626
pass
627627
else:
628-
if not isinstance(known_device_class, collections.Callable):
628+
if not isinstance(known_device_class, Callable):
629629
raise TypeError('%s is not a callable Memory class - '
630630
'that\'s a problem.' % known_device_class)
631631

@@ -692,7 +692,7 @@ def _create_casper_adc_devices(self, device_dict, initialise=False, **kwargs):
692692
except KeyError:
693693
pass
694694
else:
695-
if not isinstance(known_device_class, collections.Callable):
695+
if not isinstance(known_device_class, Callable):
696696
errmsg = '{} is not a callable ADC Class'.format(known_device_class)
697697
raise TypeError(errmsg)
698698

0 commit comments

Comments
 (0)