pyobs-fli 2.0.0.dev14__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyobs_fli-2.0.2/CLAUDE.md +22 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/PKG-INFO +3 -3
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/flicamera.py +13 -5
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/flifilterwheel.py +3 -9
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyproject.toml +3 -3
- pyobs_fli-2.0.2/specs/index.md +14 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/tests/test_flicamera.py +25 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/uv.lock +40 -40
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/dependabot.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/workflows/dependabot-automerge.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/workflows/pypi.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/workflows/pyrefly.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/workflows/pytest.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.github/workflows/ruff.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.pre-commit-config.yaml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/.readthedocs.yml +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/CHANGELOG.rst +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/CMakeLists.txt +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/LICENSE +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/README.md +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/Makefile +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/make.bat +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/requirements.txt +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/source/_static/pyobs.gif +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/source/conf.py +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/docs/source/index.rst +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/Makefile +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/docxx.sty +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera-parport.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera-parport.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera-usb.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera-usb.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-camera.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-debug.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-filter-focuser.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-filter-focuser.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-libfli.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-mem.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-mem.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-raw.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli-raw.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli.dxx +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/libfli.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/bsd/libfli-usb-sys.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-debug.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-parport.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-serial.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-serial.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-sys.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-sys.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-usb.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/libfli-usb.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/linux/fli_ioctl.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/linux/fliusb_ioctl.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/linux/libfli-parport.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/linux/libfli-usb-sys.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/osx/libfli-usb-sys.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/unix/osx/libfli-usb-sys.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-debug.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-parport.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-serial.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-serial.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-sys.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-usb.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-usb.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-windows-parport.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli-windows.c +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli.def +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli.rc +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli.sln +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli.vcproj +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/libfli64.def +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/lib/windows/resource.h +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/__init__.py +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/flibase.py +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/flidriver.pyx +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/gui.py +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/pyobs_fli/libfli.pxd +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/specs/plans/2026-08-16-nogil-fli-driver-calls.md +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/tests/test_flifilterwheel.py +0 -0
- {pyobs_fli-2.0.0.dev14 → pyobs_fli-2.0.2}/tests/test_import.py +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
Entry points for working in this repo.
|
|
4
|
+
|
|
5
|
+
## What this is
|
|
6
|
+
|
|
7
|
+
`pyobs-fli` is a `pyobs` module for [FLI](http://www.flicamera.com/) cameras and filter wheels
|
|
8
|
+
(`FliCamera`, `FliFilterWheel`). Wraps the FLI SDK via Cython; requires the FLI kernel module
|
|
9
|
+
installed on the system.
|
|
10
|
+
|
|
11
|
+
## Design history and planning
|
|
12
|
+
|
|
13
|
+
This repo keeps its own implementation plans under `specs/plans/`. Design docs and ADRs that
|
|
14
|
+
concern `pyobs-fli` live in `pyobs-core`'s `specs/` tree instead, tagged with a `Repos:` line — see
|
|
15
|
+
`pyobs-core/CLAUDE.md`'s "Cross-repo docs" section for the convention.
|
|
16
|
+
|
|
17
|
+
## Tooling
|
|
18
|
+
|
|
19
|
+
- Lint: `ruff` (config in `pyproject.toml`)
|
|
20
|
+
- Format: `black`
|
|
21
|
+
- Type checking: `pyrefly` (excludes `pyobs_fli/gui.py`)
|
|
22
|
+
- Tests: `pytest` (`asyncio_mode = "strict"`)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobs-fli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: pyobs module for FLI cameras
|
|
5
5
|
Author-Email: Tim-Oliver Husser <thusser@uni-goettingen.de>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
8
|
Requires-Dist: astropy<9,>=7.0.1
|
|
9
9
|
Requires-Dist: numpy<3,>=2.2.5
|
|
10
|
-
Requires-Dist: pyobs-core<3,>=2.
|
|
10
|
+
Requires-Dist: pyobs-core<3,>=2.6.1
|
|
11
11
|
Provides-Extra: gui
|
|
12
|
-
Requires-Dist: pyobs-core[gui]<3,>=2.
|
|
12
|
+
Requires-Dist: pyobs-core[gui]<3,>=2.6.1; extra == "gui"
|
|
13
13
|
Requires-Dist: qasync>=0.27; extra == "gui"
|
|
14
14
|
|
|
@@ -42,6 +42,7 @@ class FliCamera(BaseCamera, FliBaseMixin, ICamera, IWindow, IBinning, ICooling,
|
|
|
42
42
|
self._full_frame = (0, 0, 0, 0)
|
|
43
43
|
self._window = (0, 0, 0, 0)
|
|
44
44
|
self._binning = (1, 1)
|
|
45
|
+
self._serial: str | None = None
|
|
45
46
|
|
|
46
47
|
self.add_background_task(self._poll_cooling)
|
|
47
48
|
|
|
@@ -62,11 +63,9 @@ class FliCamera(BaseCamera, FliBaseMixin, ICamera, IWindow, IBinning, ICooling,
|
|
|
62
63
|
return serial, window, binning, full_frame
|
|
63
64
|
|
|
64
65
|
serial, self._window, self._binning, self._full_frame = await self._run_blocking_or_raise(_get_info)
|
|
66
|
+
self._serial = serial
|
|
65
67
|
log.info("Connected to camera with serial number: %s", serial)
|
|
66
68
|
|
|
67
|
-
if self._temp_setpoint is not None:
|
|
68
|
-
await self.set_cooling(True, self._temp_setpoint)
|
|
69
|
-
|
|
70
69
|
await self.comm.set_capabilities(
|
|
71
70
|
IWindow,
|
|
72
71
|
WindowCapabilities(
|
|
@@ -98,6 +97,12 @@ class FliCamera(BaseCamera, FliBaseMixin, ICamera, IWindow, IBinning, ICooling,
|
|
|
98
97
|
await BaseCamera.close(self)
|
|
99
98
|
await FliBaseMixin.close(self)
|
|
100
99
|
|
|
100
|
+
async def full_reset(self, **kwargs: Any) -> None:
|
|
101
|
+
"""Reset the device completely, including cooling."""
|
|
102
|
+
await self.reset(**kwargs)
|
|
103
|
+
if self._temp_setpoint is not None:
|
|
104
|
+
await self.set_cooling(True, self._temp_setpoint)
|
|
105
|
+
|
|
101
106
|
async def set_window(self, left: int, top: int, width: int, height: int, **kwargs: Any) -> None:
|
|
102
107
|
"""Set the camera window."""
|
|
103
108
|
self._window = (left, top, width, height)
|
|
@@ -165,22 +170,25 @@ class FliCamera(BaseCamera, FliBaseMixin, ICamera, IWindow, IBinning, ICooling,
|
|
|
165
170
|
await self._abort_exposure()
|
|
166
171
|
raise
|
|
167
172
|
|
|
168
|
-
def _get_headers() -> tuple[float, float, tuple[int, int, int, int]]:
|
|
173
|
+
def _get_headers() -> tuple[float, float, float, tuple[int, int, int, int]]:
|
|
169
174
|
return (
|
|
170
175
|
driver.get_temp(FliTemperature.CCD),
|
|
176
|
+
driver.get_temp(FliTemperature.BASE),
|
|
171
177
|
driver.get_cooler_power(),
|
|
172
178
|
driver.get_visible_frame(),
|
|
173
179
|
)
|
|
174
180
|
|
|
175
|
-
ccd_temp, cooler_power, visible_frame = await self._run_blocking_or_raise(_get_headers)
|
|
181
|
+
ccd_temp, base_temp, cooler_power, visible_frame = await self._run_blocking_or_raise(_get_headers)
|
|
176
182
|
|
|
177
183
|
image = Image(img) # type: ignore[arg-type]
|
|
178
184
|
image.header["DATE-OBS"] = (date_obs, "Date and time of start of exposure")
|
|
179
185
|
image.header["EXPTIME"] = (exposure_time, "Exposure time [s]")
|
|
180
186
|
image.header["DET-TEMP"] = (ccd_temp, "CCD temperature [C]")
|
|
187
|
+
image.header["DET-TBAS"] = (base_temp, "Base plate temperature [C]")
|
|
181
188
|
image.header["DET-COOL"] = (cooler_power, "Cooler power [percent]")
|
|
182
189
|
image.header["DET-TSET"] = (self._temp_setpoint, "Cooler setpoint [C]")
|
|
183
190
|
image.header["INSTRUME"] = (self._driver.name, "Name of instrument")
|
|
191
|
+
image.header["DET-ID"] = (self._serial, "Camera serial number")
|
|
184
192
|
image.header["XBINNING"] = image.header["DET-BIN1"] = (self._binning[0], "Binning factor used on X axis")
|
|
185
193
|
image.header["YBINNING"] = image.header["DET-BIN2"] = (self._binning[1], "Binning factor used on Y axis")
|
|
186
194
|
image.header["XORGSUBF"] = (self._window[0], "Subframe origin on X axis")
|
|
@@ -4,10 +4,10 @@ from typing import Any
|
|
|
4
4
|
|
|
5
5
|
import pyobs.utils.exceptions as exc
|
|
6
6
|
from pyobs.events import FilterChangedEvent
|
|
7
|
-
from pyobs.interfaces import
|
|
7
|
+
from pyobs.interfaces import IFilters, IFitsHeaderBefore, IReady
|
|
8
8
|
from pyobs.interfaces.IFilters import FiltersCapabilities, FilterState
|
|
9
9
|
from pyobs.interfaces.IReady import ReadyState
|
|
10
|
-
from pyobs.mixins import MotionStatusMixin
|
|
10
|
+
from pyobs.mixins import FilterHeaderMixin, MotionStatusMixin
|
|
11
11
|
from pyobs.modules import Module
|
|
12
12
|
from pyobs.utils.enums import MotionStatus
|
|
13
13
|
|
|
@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)
|
|
|
22
22
|
_FILTER_MOVE_TIMEOUT = 120.0
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
class FliFilterWheel(Module, FliBaseMixin, MotionStatusMixin, IFilters, IFitsHeaderBefore):
|
|
25
|
+
class FliFilterWheel(FilterHeaderMixin, Module, FliBaseMixin, MotionStatusMixin, IFilters, IFitsHeaderBefore):
|
|
26
26
|
"""A pyobs module for FLI filter wheels."""
|
|
27
27
|
|
|
28
28
|
__module__ = "pyobs_fli"
|
|
@@ -138,11 +138,5 @@ class FliFilterWheel(Module, FliBaseMixin, MotionStatusMixin, IFilters, IFitsHea
|
|
|
138
138
|
async def stop_motion(self, device: str | None = None, **kwargs: Any) -> None:
|
|
139
139
|
pass
|
|
140
140
|
|
|
141
|
-
async def get_fits_header_before(
|
|
142
|
-
self, namespaces: list[str] | None = None, **kwargs: Any
|
|
143
|
-
) -> dict[str, FitsHeaderEntry]:
|
|
144
|
-
"""Returns FITS header for the current status of this module."""
|
|
145
|
-
return {"FILTER": FitsHeaderEntry(self._current_filter, "Current filter")}
|
|
146
|
-
|
|
147
141
|
|
|
148
142
|
__all__ = ["FliFilterWheel"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyobs-fli"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.2"
|
|
4
4
|
description = "pyobs module for FLI cameras"
|
|
5
5
|
authors = [{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" }]
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -8,12 +8,12 @@ license = "MIT"
|
|
|
8
8
|
dependencies = [
|
|
9
9
|
"astropy>=7.0.1,<9",
|
|
10
10
|
"numpy>=2.2.5,<3",
|
|
11
|
-
"pyobs-core>=2.
|
|
11
|
+
"pyobs-core>=2.6.1,<3",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[project.optional-dependencies]
|
|
15
15
|
gui = [
|
|
16
|
-
"pyobs-core[gui]>=2.
|
|
16
|
+
"pyobs-core[gui]>=2.6.1,<3",
|
|
17
17
|
"qasync>=0.27",
|
|
18
18
|
]
|
|
19
19
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# specs/
|
|
2
|
+
|
|
3
|
+
This repo keeps its own implementation plans under `plans/`. Design docs and ADRs that concern
|
|
4
|
+
`pyobs-fli` live in `pyobs-core`'s `specs/` tree instead (`specs/design/`, `specs/plans/`,
|
|
5
|
+
`specs/adrs/`), each tagged with a `Repos:` line naming every repo it concerns — see
|
|
6
|
+
`pyobs-core/CLAUDE.md`'s "Cross-repo docs" section.
|
|
7
|
+
|
|
8
|
+
Plans:
|
|
9
|
+
|
|
10
|
+
- [plans/2026-08-16-nogil-fli-driver-calls.md](plans/2026-08-16-nogil-fli-driver-calls.md) —
|
|
11
|
+
**implemented**. Release the GIL around blocking `libfli` SDK calls so a hung FLI device no
|
|
12
|
+
longer freezes the whole module (including XMPP); `libfli.pxd` declared the relevant functions
|
|
13
|
+
without `nogil`, so the existing `_run_blocking`/timeout mitigation couldn't actually bound a
|
|
14
|
+
hung call (issue #75).
|
|
@@ -66,6 +66,31 @@ async def test_set_binning() -> None:
|
|
|
66
66
|
assert (state.x, state.y) == (2, 3)
|
|
67
67
|
|
|
68
68
|
|
|
69
|
+
@pytest.mark.asyncio
|
|
70
|
+
async def test_full_reset_restores_cooling() -> None:
|
|
71
|
+
camera = FliCamera(setpoint=-15.0)
|
|
72
|
+
camera.reset = AsyncMock() # type: ignore[method-assign]
|
|
73
|
+
camera.set_cooling = AsyncMock() # type: ignore[method-assign]
|
|
74
|
+
|
|
75
|
+
await camera.full_reset()
|
|
76
|
+
|
|
77
|
+
camera.reset.assert_awaited_once()
|
|
78
|
+
camera.set_cooling.assert_awaited_once_with(True, -15.0)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@pytest.mark.asyncio
|
|
82
|
+
async def test_full_reset_skips_cooling_when_no_setpoint() -> None:
|
|
83
|
+
camera = FliCamera(setpoint=-15.0)
|
|
84
|
+
camera._temp_setpoint = None
|
|
85
|
+
camera.reset = AsyncMock() # type: ignore[method-assign]
|
|
86
|
+
camera.set_cooling = AsyncMock() # type: ignore[method-assign]
|
|
87
|
+
|
|
88
|
+
await camera.full_reset()
|
|
89
|
+
|
|
90
|
+
camera.reset.assert_awaited_once()
|
|
91
|
+
camera.set_cooling.assert_not_awaited()
|
|
92
|
+
|
|
93
|
+
|
|
69
94
|
@pytest.mark.asyncio
|
|
70
95
|
async def test_run_blocking_runs_func_and_returns_true() -> None:
|
|
71
96
|
ran: list[bool] = []
|
|
@@ -2320,7 +2320,7 @@ wheels = [
|
|
|
2320
2320
|
|
|
2321
2321
|
[[package]]
|
|
2322
2322
|
name = "pyobs-core"
|
|
2323
|
-
version = "2.
|
|
2323
|
+
version = "2.10.5"
|
|
2324
2324
|
source = { registry = "https://pypi.org/simple" }
|
|
2325
2325
|
dependencies = [
|
|
2326
2326
|
{ name = "aiohttp" },
|
|
@@ -2352,9 +2352,9 @@ dependencies = [
|
|
|
2352
2352
|
{ name = "tenacity" },
|
|
2353
2353
|
{ name = "typing-extensions" },
|
|
2354
2354
|
]
|
|
2355
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2355
|
+
sdist = { url = "https://files.pythonhosted.org/packages/8e/1e/f73e746b7fca9e5e7c5b4ecb56678c86d2a2256657f9ae7d09272a5fd683/pyobs_core-2.10.5.tar.gz", hash = "sha256:8b57c01448565cc761b32f8850fff9cd425834a79c6febf2012829799c1465dd", size = 422110, upload-time = "2026-09-19T11:29:28.52Z" }
|
|
2356
2356
|
wheels = [
|
|
2357
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2357
|
+
{ url = "https://files.pythonhosted.org/packages/61/c3/efa7d77ded386223962590dde178d5e86dae385a75f33f94e5a8dfafffde/pyobs_core-2.10.5-py3-none-any.whl", hash = "sha256:214acece8b72ff1ddfbbacc5b7153f2e4ec0bd88127f6ce923eb726b81bcf684", size = 654676, upload-time = "2026-09-19T11:29:26.961Z" },
|
|
2358
2358
|
]
|
|
2359
2359
|
|
|
2360
2360
|
[package.optional-dependencies]
|
|
@@ -2366,7 +2366,7 @@ gui = [
|
|
|
2366
2366
|
|
|
2367
2367
|
[[package]]
|
|
2368
2368
|
name = "pyobs-fli"
|
|
2369
|
-
version = "2.0.
|
|
2369
|
+
version = "2.0.2"
|
|
2370
2370
|
source = { editable = "." }
|
|
2371
2371
|
dependencies = [
|
|
2372
2372
|
{ name = "astropy" },
|
|
@@ -2395,8 +2395,8 @@ dev = [
|
|
|
2395
2395
|
requires-dist = [
|
|
2396
2396
|
{ name = "astropy", specifier = ">=7.0.1,<9" },
|
|
2397
2397
|
{ name = "numpy", specifier = ">=2.2.5,<3" },
|
|
2398
|
-
{ name = "pyobs-core", specifier = ">=2.
|
|
2399
|
-
{ name = "pyobs-core", extras = ["gui"], marker = "extra == 'gui'", specifier = ">=2.
|
|
2398
|
+
{ name = "pyobs-core", specifier = ">=2.6.1,<3" },
|
|
2399
|
+
{ name = "pyobs-core", extras = ["gui"], marker = "extra == 'gui'", specifier = ">=2.6.1,<3" },
|
|
2400
2400
|
{ name = "qasync", marker = "extra == 'gui'", specifier = ">=0.27" },
|
|
2401
2401
|
]
|
|
2402
2402
|
provides-extras = ["gui"]
|
|
@@ -2422,21 +2422,21 @@ wheels = [
|
|
|
2422
2422
|
|
|
2423
2423
|
[[package]]
|
|
2424
2424
|
name = "pyrefly"
|
|
2425
|
-
version = "1.
|
|
2425
|
+
version = "1.3.1"
|
|
2426
2426
|
source = { registry = "https://pypi.org/simple" }
|
|
2427
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2427
|
+
sdist = { url = "https://files.pythonhosted.org/packages/4c/7e/082cc1b392318bacfbc087732524f3e089e9e7fe45b7645c4649b6f1f1e9/pyrefly-1.3.1.tar.gz", hash = "sha256:b774f1dfac82867fc16fe2175d80a630e2a72a6835d5b7e492568d6bfb6b05e7", size = 6679145, upload-time = "2026-09-15T05:09:34.49Z" }
|
|
2428
2428
|
wheels = [
|
|
2429
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2430
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2431
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2432
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2433
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2434
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2435
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2436
|
-
{ url = "https://files.pythonhosted.org/packages/5d/
|
|
2437
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2438
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2439
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2429
|
+
{ url = "https://files.pythonhosted.org/packages/6b/bc/f09b5bd7eed796349bd93627aa2c3086df7ed0a114dafc3d2b2841599ee7/pyrefly-1.3.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:0a2a7dfed824fb066aa8a7c8d856c152b98e998fb84b954d5f892fb9834c0bd1", size = 15090117, upload-time = "2026-09-15T05:08:58.477Z" },
|
|
2430
|
+
{ url = "https://files.pythonhosted.org/packages/78/24/a31e7de8e0f310c9f0753826d0df8b6a8ff86793941a6bd88ba24b735633/pyrefly-1.3.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:37a1a1fb41e7190fe3964a877875dd809d6ee2887809e2c3d6e5f25a69805bfd", size = 14430773, upload-time = "2026-09-15T05:09:01.67Z" },
|
|
2431
|
+
{ url = "https://files.pythonhosted.org/packages/75/e1/022352beb186f36d6213a95a975c42676ee418ff5e730629378d25564c5e/pyrefly-1.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45b7650bc651a5a784701f2fb4f579da9a421c4d1b5fd91f9048f4529e46093c", size = 14877762, upload-time = "2026-09-15T05:09:04.767Z" },
|
|
2432
|
+
{ url = "https://files.pythonhosted.org/packages/19/2c/d62a1b445aad1fd46375b83393b8a67da53883aeeba73d269ce71b3e8fd1/pyrefly-1.3.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ad57f38bc73679c14a5f62995a2bd3bc43649b7270c858487e2eab78a6f95362", size = 16118225, upload-time = "2026-09-15T05:09:07.828Z" },
|
|
2433
|
+
{ url = "https://files.pythonhosted.org/packages/32/67/3c3fa8a13e3ce8d8322ffb3627255a41a52261f17793e1a24e9214f10857/pyrefly-1.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3506b1252e9f5d755d0693c5a46d46b85579d36534f6e22a41eb8e098d0dde90", size = 16051197, upload-time = "2026-09-15T05:09:10.81Z" },
|
|
2434
|
+
{ url = "https://files.pythonhosted.org/packages/19/d1/84f81b9e32288b5d11c75e006f67e0f6b78b85da575673bd1a21524c8172/pyrefly-1.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39d5a17c1ad655e5f93a6e8e0be90b8db28c6015fe07d6ed4e054891c9e14ef8", size = 15440062, upload-time = "2026-09-15T05:09:14.641Z" },
|
|
2435
|
+
{ url = "https://files.pythonhosted.org/packages/46/3c/2aa0c5ad6a2957a728bb38cfab70d1e9cafad21b0b1c1d92df74a3cf22bd/pyrefly-1.3.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:c61e9dcf888beb81ca0e0c60ea4442640fdcf2f1f65bfe3d9f5d89b85516eb03", size = 14898534, upload-time = "2026-09-15T05:09:17.823Z" },
|
|
2436
|
+
{ url = "https://files.pythonhosted.org/packages/03/5d/2974f249fb2e285f966485719d977c5a2248cc4866403af94d935775ff15/pyrefly-1.3.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a78eed1c53f37807f0e2997be8edbe833b91eb9915f2cb553a1bdcd599e7105c", size = 15477758, upload-time = "2026-09-15T05:09:20.964Z" },
|
|
2437
|
+
{ url = "https://files.pythonhosted.org/packages/68/79/d31f8f0abf5b0610ec24183286ee8a1ee5b76c9aaaa91091399d7e1aaf60/pyrefly-1.3.1-py3-none-win32.whl", hash = "sha256:ea0d0349f1bc80fe8e00a7b3640e40db7486398b685f87b9bd5d2207063668f0", size = 14133005, upload-time = "2026-09-15T05:09:25.03Z" },
|
|
2438
|
+
{ url = "https://files.pythonhosted.org/packages/3f/23/1859f47f536314755d80c4ec2a76d2698435ae8b73604bcd1dfa57ecb39b/pyrefly-1.3.1-py3-none-win_amd64.whl", hash = "sha256:4c24e7d99df9237916c33be23714219a7c8eaf22bad2ac0c3e1d45adcf7df8fb", size = 15066557, upload-time = "2026-09-15T05:09:28.265Z" },
|
|
2439
|
+
{ url = "https://files.pythonhosted.org/packages/92/2a/73e3721921c2bb2c950a9f8c362ee5e2367556b5d4416eb4f8f88503e66f/pyrefly-1.3.1-py3-none-win_arm64.whl", hash = "sha256:1ed85e2b957a78e93353125d890ce3668ce450e49b74025a15c87b6e8ec7f3d1", size = 14348209, upload-time = "2026-09-15T05:09:31.422Z" },
|
|
2440
2440
|
]
|
|
2441
2441
|
|
|
2442
2442
|
[[package]]
|
|
@@ -2728,27 +2728,27 @@ wheels = [
|
|
|
2728
2728
|
|
|
2729
2729
|
[[package]]
|
|
2730
2730
|
name = "ruff"
|
|
2731
|
-
version = "0.16.
|
|
2732
|
-
source = { registry = "https://pypi.org/simple" }
|
|
2733
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
2734
|
-
wheels = [
|
|
2735
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2736
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2737
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2738
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2739
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2740
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2741
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2742
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2743
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2744
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2745
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2746
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2747
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2748
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2749
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2750
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2751
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
2731
|
+
version = "0.16.8"
|
|
2732
|
+
source = { registry = "https://pypi.org/simple" }
|
|
2733
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ba/78/449cb84790bd5cc3823b2652ee405a4558856e5c4195aee3a16bf7b3eb5d/ruff-0.16.8.tar.gz", hash = "sha256:9247bf92b5f04d825c8639a4fe423ec2e4222acd9222e58412b0dab7e442798b", size = 4938814, upload-time = "2026-09-16T15:54:46.688Z" }
|
|
2734
|
+
wheels = [
|
|
2735
|
+
{ url = "https://files.pythonhosted.org/packages/ac/25/6071aabc530e9be7e2c195e8fe3f7aea2735405b6cf447212832d7811831/ruff-0.16.8-py3-none-linux_armv6l.whl", hash = "sha256:6ffbd6d87383c1edf5f6fa890f10200950240d7c1a16052a19a09d3a2307dd38", size = 10048966, upload-time = "2026-09-16T15:53:57.605Z" },
|
|
2736
|
+
{ url = "https://files.pythonhosted.org/packages/54/98/07f90ecbc74dd5fb5764f11f2bc774d6a7cffef92d2ff5f5b4e9e23c754e/ruff-0.16.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:42ed6b878ed61e3acca92f2730a17acff39286944ea82398544696366a6f925e", size = 10165498, upload-time = "2026-09-16T15:54:01.14Z" },
|
|
2737
|
+
{ url = "https://files.pythonhosted.org/packages/fe/1f/e6a712e3b47cad4a40600134105ed193cb773f618a42eb7ba323cb812cc0/ruff-0.16.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7ea781c7f2afba8c6a505ea0fb3f994020249e0c450635f5381286fea6b46170", size = 9830004, upload-time = "2026-09-16T15:54:03.998Z" },
|
|
2738
|
+
{ url = "https://files.pythonhosted.org/packages/23/f2/311a08776d75d81c7676e20b6b020ae63cbe881fcdc7a8dd64e6e18bdd93/ruff-0.16.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8efeae3bbe414a5efefda11a792dfb51ef90ac48d50c4830de2f644caf3e8659", size = 9986558, upload-time = "2026-09-16T15:54:06.804Z" },
|
|
2739
|
+
{ url = "https://files.pythonhosted.org/packages/f3/ed/37b6cb3d3ba8c73e68ae3eb1d502383beb5aa05a582bb7bb3a922f929f54/ruff-0.16.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a79b795469fef7fc6e908b218eed2eb17332afd85031db6480dc864560e69b2", size = 9877332, upload-time = "2026-09-16T15:54:09.552Z" },
|
|
2740
|
+
{ url = "https://files.pythonhosted.org/packages/22/cc/40873a8f36ad084cc540d55fcca7077264d5b13b24659e9180c176fb2b08/ruff-0.16.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fdc5563cdc50555e6fba39322850860e9267c1b3d12c26a74729d8604c3c812", size = 10507125, upload-time = "2026-09-16T15:54:12.152Z" },
|
|
2741
|
+
{ url = "https://files.pythonhosted.org/packages/c3/e4/fc91a642b78ccbab6b9477720f3644ae7a10a9bcce69a934679cd64f62bc/ruff-0.16.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34508983c70665578dab88f5223d8e6228307e1135398ca8bfc8b7e9501e282b", size = 11336694, upload-time = "2026-09-16T15:54:15.489Z" },
|
|
2742
|
+
{ url = "https://files.pythonhosted.org/packages/c2/3d/bbd2a9a600a4e73dc3e7548a249c8d1671273464b55822c6fae50f602dff/ruff-0.16.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:644bb578569e0ffc575741232bd385dacdd6fbe123f1a729e7a225f54aa3957f", size = 10774448, upload-time = "2026-09-16T15:54:18.16Z" },
|
|
2743
|
+
{ url = "https://files.pythonhosted.org/packages/1a/41/d83af9879a7b6e8bf5fe16b1da0b134049d2f5d3afac12defb0897cb84bd/ruff-0.16.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15e7d226246961db9235098333caa13063906d3851136b84c2900b82f5daa1df", size = 10323796, upload-time = "2026-09-16T15:54:20.743Z" },
|
|
2744
|
+
{ url = "https://files.pythonhosted.org/packages/f5/2c/cefd07bfe914b84943ea769ade8d607bd22750b965d3228eefd7cebd15d0/ruff-0.16.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a2bf6bc3e9ebdd4449abc6f06cf64b98051a2c61cf94d2fe9596518c881f1a1e", size = 10514115, upload-time = "2026-09-16T15:54:23.497Z" },
|
|
2745
|
+
{ url = "https://files.pythonhosted.org/packages/f3/9d/76a2e26c79a23be6e6e3664c57bec9e9fc8de155cfb9e4b67ea91b64f9d7/ruff-0.16.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6ca111ba0849539165e9e59d2b442542f3c1e8060ebbdea82494f1ffbccb1e1f", size = 10072582, upload-time = "2026-09-16T15:54:26.185Z" },
|
|
2746
|
+
{ url = "https://files.pythonhosted.org/packages/2e/d4/f42edddb39668af1a559ceafa3823aedd65633a48dc9768e775485faa2c1/ruff-0.16.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:359a1e5b495448ee1e91018064382ebc86f90e8aac2fed222c7d0e4e8df85fd2", size = 9879644, upload-time = "2026-09-16T15:54:29.278Z" },
|
|
2747
|
+
{ url = "https://files.pythonhosted.org/packages/f8/d4/913e3195d95e0378786c6656945c865f534a3560e29139da4882aff630d1/ruff-0.16.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:59e8f5681349474110b24d62e93cfda6593f5fa3473446ca3705200cac1a08b9", size = 10231569, upload-time = "2026-09-16T15:54:32.036Z" },
|
|
2748
|
+
{ url = "https://files.pythonhosted.org/packages/2b/c4/8aa6ea0bdcedbd1bf87397e2fc4ed8406448ea5842f8660bc6e5f163039d/ruff-0.16.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:efa3e7a16d1baaa79957888dfdf8be9ef2e44db81cb032af06d76632ab59e773", size = 10663666, upload-time = "2026-09-16T15:54:34.838Z" },
|
|
2749
|
+
{ url = "https://files.pythonhosted.org/packages/3d/02/7f10ef4700bc223c30a3fdd10631a29830c45524b810a3c7ed947af64591/ruff-0.16.8-py3-none-win32.whl", hash = "sha256:55793ba85c69921e89be061426d91a78652d6e50317c962240922747a4eb713f", size = 10093472, upload-time = "2026-09-16T15:54:37.47Z" },
|
|
2750
|
+
{ url = "https://files.pythonhosted.org/packages/1e/5d/a509c07d714b6da88f2c518b4637cf6f1d46b074be8f0f1e5fb9ff5126fe/ruff-0.16.8-py3-none-win_amd64.whl", hash = "sha256:a6b85621fd3c81e31fc5f5add09c9c078b430db3595ca632efafdec9e64ebfaa", size = 10586899, upload-time = "2026-09-16T15:54:40.488Z" },
|
|
2751
|
+
{ url = "https://files.pythonhosted.org/packages/fe/a0/50787329e4f20bf9dc9f6230015d46ec69c51a97ace5bc202dae4755365d/ruff-0.16.8-py3-none-win_arm64.whl", hash = "sha256:d075e820af612102ce217f07cc93e69f9490b10ec13ea85fa87bd03d996cef8a", size = 10386316, upload-time = "2026-09-16T15:54:43.332Z" },
|
|
2752
2752
|
]
|
|
2753
2753
|
|
|
2754
2754
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|