bluesky / ophyd

hardware abstraction in Python with an emphasis on EPICS
https://blueskyproject.io/ophyd
BSD 3-Clause "New" or "Revised" License
51 stars 79 forks source link

MNT: add py313 to test matrix #1213

Open tacaswell opened 1 month ago

tacaswell commented 1 month ago

Looks like pint has to be updated

ophyd/tests/test_units.py:7: in <module>
22
    import ophyd.units
23
ophyd/units.py:4: in <module>
24
    import pint
25
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/pint/__init__.py:18: in <module>
26
    from .delegates.formatter._format_helpers import formatter
27
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/pint/delegates/__init__.py:12: in <module>
28
    from . import txt_defparser
29
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/pint/delegates/txt_defparser/__init__.py:12: in <module>
30
    from .defparser import DefParser
31
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/pint/delegates/txt_defparser/defparser.py:10: in <module>
32
    from . import block, common, context, defaults, group, plain, system
33
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/pint/delegates/txt_defparser/common.py:23: in <module>
34
    @dataclass(frozen=True)
35
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/dataclasses.py:1295: in wrap
36
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
37
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/dataclasses.py:1043: in _process_class
38
    raise TypeError('cannot inherit frozen dataclass from a '
39
E   TypeError: cannot inherit frozen dataclass from a non-frozen one
tacaswell commented 1 month ago

xref https://github.com/hgrecco/pint/pull/2037