Richard Bowman
b8ca12314c
Lock labthings/picamera2 deps
...
v0.0.7 of labthings includes breaking changes, we're not ready for that yet.
2024-11-28 10:30:53 +00:00
Richard Bowman
7b584d3e64
Add labthings version constraint
2024-11-16 10:58:31 +00:00
Richard Bowman
7fb4417ebe
Configuration files and other tweaks
...
The OFM server can now be run in "stub" mode on
my development machine, using an OpenCV
camera feed.
2024-08-09 02:42:32 +01:00
Richard Bowman
e3e248c46e
Move server config to a config file
...
Currently this is "just" a LabThings config file.
2024-08-09 01:51:11 +01:00
Richard Bowman
3f92ed8266
Add a stub OpenCV-based camera
...
This allows the server to run on a laptop, to some extent. I've not tested if this will make the whole
web app work properly.
As StreamingPiCamera2 is hardcoded in various places, this certainly doesn't make cameras totally
interchangeable - but it is a step towards that.
2024-08-09 00:52:31 +01:00
Richard Bowman
3abddc3b39
Fix labthings dependency
...
I changed the labthings package such that it will
only install the client dependencies by default.
This is now fixed by requiring the [server] extras.
In the future we might split labthings into client
and server packages.
2024-07-18 13:17:26 +01:00
Richard Bowman
bcc13475b6
Propagate logs from camera-stage-mapping
2024-01-04 13:19:00 +00:00
Richard Bowman
deeb2c7b9b
Explicitly mention anyio as a dependency
...
This is already in via fastapi, but I just got caught out by a
v3 -> v4 change. I've added a dependency to make this explicit.
2024-01-03 17:12:15 +00:00
Richard Bowman
968136e22e
Add opencv as a dependency
2023-12-14 17:21:22 +00:00
Richard Bowman
796622b802
Relax scipy version
2023-10-31 22:28:47 +00:00
Richard Bowman
63d7a6eb4d
WIP: camera stage mapping
...
This still has some bugs, mostly related to numpy and serialisation.
2023-08-31 19:37:09 +01:00
Richard Bowman
081654533f
First images on labthings-fastapi
...
We now have very basic camera and stage support.
2023-08-29 17:02:16 +01:00
Richard
e33e92b43a
Generate and use pytest XML reports
...
This generates XML reports when we run pytest through poe, and
uploads them in the relevant CI stage.
I've also ignored mypy cache files - I'm not sure why this hasn't
been an issue before...
2021-08-10 11:29:09 +01:00
Richard
fe3fb5c66b
Incorporate LabThings 1.3
...
The necessary changes to produce valid OpenAPI docs are now in
the latest release of LabThings. This change updates it.
Also, isort was trying to sort my virtual environment, hence
the change to pyproject.toml.
I don't know why that happened - maybe an update to isort?
2021-07-25 22:23:54 +01:00
Richard Bowman
42f00b69a4
Merge remote-tracking branch 'origin/master' into auto-exposure-gain-awb
...
This was primarily done to disable the warning about f strings in
logging statements, globally rather than per-file.
2021-04-27 17:16:19 +01:00
Richard Bowman
a2ba95c1d3
Minor linting improvements
...
I have now disabled W1203 globally, see comment in
pyproject.toml
2021-04-27 11:17:11 +01:00
Richard Bowman
1f1a75c02a
Merge branch 'master' into auto-exposure-gain-awb
2021-04-21 12:10:47 +01:00
Richard Bowman
1b5b576664
Improved comments
2021-04-21 11:28:30 +01:00
Richard Bowman
17b19d7dfd
fix poe
...
poe was assuming we were using poetry - I have
configured it not to use poetry now. This required
using a newer version.
2021-03-29 16:59:40 +01:00
Richard Bowman
af7ef08f63
Move away from poetry
...
More or less everything is now done by setup.py
Pipfile simply installs the module in editable mode, which
recursively resolves dependencies as defined in setup.py.
2021-03-26 21:11:22 +00:00
Richard Bowman
bc0995d0cf
Added poe serve
...
To save some typing ``poe serve`` now runs a debug server.
2021-02-18 18:03:42 +00:00
Richard Bowman
414fd55c5b
Upgrade numpy
...
numpy/scipy were mismatched in version, which led to a confusing
import error. I've removed the numpy version specification entirely
and left it to scipy to ensure numpy
is installed. This could do with
review in the future...
2021-02-18 14:33:07 +00:00
Richard Bowman
20001e4946
Force installation only from piwheels
...
Forcing the use of piwheels avoids trying
to install numpy/scipy from source,
which is the Right Answer.
Unfortunately, sometimes packages fail on piwheels, but poetry still
tries to install them. I've had to fix
pyyaml at 5.4.0 for that reason.
2021-02-18 13:29:02 +00:00
Joel Collins
5f48be3807
Merge branch 'master' into 'mypy-coverage'
...
# Conflicts:
# poetry.lock
2021-01-08 10:51:15 +00:00
Joel Collins
bb7d543ecd
Actually removed pynpm and updated sphinx
2021-01-08 10:22:04 +00:00
Joel Collins
5232b36644
Test cobertura mypy coverage report
2021-01-08 10:05:31 +00:00
Joel Collins
180d73f9c4
Upgraded to LabThings ^1.2.2
2021-01-07 10:23:46 +00:00
Joel Collins
f330cc93ec
v2.9.3
2020-12-14 15:05:14 +00:00
Joel Collins
72d33fff7d
Patch version
2020-12-08 18:26:31 +00:00
Joel Collins
47680fd23b
v2.9.1
2020-12-07 17:11:02 +00:00
Joel Collins
b6a0a6395e
Bumped version number
2020-12-04 17:09:52 +00:00
Joel Collins
63b633ba44
2.9 dev numpy types
2020-12-04 13:35:11 +00:00
Joel Collins
249e3014cb
Updated to LabThings 1.2.1
2020-12-01 15:06:25 +00:00
Joel Collins
d9d58d03dd
Upgraded to LabThings 1.2.0
2020-11-30 16:58:12 +00:00
Joel Collins
7a849c725a
Test on new LabThings branch
2020-11-30 16:23:02 +00:00
Joel Collins
5091ee8983
Updated to LabThings 1.1.6
2020-11-30 13:52:41 +00:00
Joel Collins
7866ec0f47
Static type analysis
2020-11-30 13:36:45 +00:00
Joel Collins
f1060d9e6d
Merge branch 'master' into 'pytest'
...
# Conflicts:
# poetry.lock
2020-11-25 15:26:20 +00:00
Joel Collins
5137d1b9dc
Added basic unit tests of non-integrated functions
2020-11-25 15:25:17 +00:00
Joel Collins
6819ded7ef
Removed unused pynpm package
2020-11-24 17:49:50 +00:00
Joel Collins
729f10170c
2.8.0
2020-11-16 11:39:51 +00:00
Joel Collins
73eda104f0
2.8.0-beta.3
2020-11-13 13:45:08 +00:00
Joel Collins
527bfeb7ec
Moved PyLint config back to pyproject.toml
2020-11-12 17:07:58 +00:00
Joel Collins
738f527c7e
Updated to LabThings 1.1.3
2020-11-12 16:34:21 +00:00
Joel Collins
1f0b90cff1
Added rescue to Poetry scripts
2020-11-12 15:18:37 +00:00
Joel Collins
00d30d8e85
Removed pre-commit from Poetry dependencies
2020-11-12 15:15:21 +00:00
Joel Collins
5119e2c544
Add pre-commit
2020-11-12 14:30:54 +00:00
Joel Collins
8c180ca285
2.8.0-beta.2
2020-11-11 14:18:26 +00:00
Joel Collins
64aa565182
2.8.0-beta.1
2020-11-09 14:18:01 +00:00
Joel Collins
368f86c4a5
2.8.0-beta.0
2020-11-03 16:13:02 +00:00