Commit graph

13 commits

Author SHA1 Message Date
Richard Bowman
fdafeca446 Only consider piwheels in Pipfile
Including both piwheels and pypi in Pipfile caused hash mismatches,
which caused installation to fail. I've removed pypi, but this may
break installation on other platforms.

I may need to duplicate Pipfile and Pipfile.lock, one for Pi and
one for non-Pi platforms.

I can confim this commit installed successfully on a Pi.
2023-04-03 22:03:57 +01:00
Richard Bowman
62eef8f8e1 Re-lock dependencies on a Raspberry Pi
I couldn't install this on a Pi, because it incorrectly chose
versions of e.g. numpy that did not exist in binary form for the
pi. I re-locked dependencies with:

`PIP_ONLY_BINARY=":all:" pipenv lock --dev`

This forced the use of wheels, and not only completed but did so
in ~10 minutes.
2023-04-03 20:32:52 +01:00
Richard Bowman
ba62bdf867 Update pysangaboard to 0.3.3 2023-03-21 12:51:03 +00:00
Richard Bowman
80d026d778 Downgrade markupsafe so jinja2 still works 2022-08-09 13:18:07 +01:00
Richard Bowman
d98cc3ff34 Update sangaboard dependency and re-lock
Dependencies could use some revision - in particular could we use
Flask 2?  That's a LabThings issue really...

I have updated a few dependencies (mostly dev ones), as ever Black is
an issue - have reverted to the previous pinned prerelease because the
full release is incompatible with flask 2.
2022-08-08 22:08:20 +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
cfba9d5c09 downgrade pylint
pylint 2.9 seems to die on this code, no idea why. It's a crash in
pylint rather than an error in the code I think.
2021-07-25 03:41:06 +01:00
Richard
ba0f78df84 fix typing in autofocus
I have an Optional dz, which is then
populated with a default if it's None.
I've added an explicit cast() to explain this to mypy.
2021-07-19 21:18:25 +01:00
Richard
077d6fdc4b Added OpenAPI validation from apispec 2021-07-19 11:50:50 +01:00
Richard Bowman
9c5d040d82 Re-locked dependencies 2021-05-25 11:28:46 +01:00
Richard Bowman
300d6878bb Upgraded black to match master 2021-03-31 09:35:13 +01:00
Richard Bowman
53876ee70d Use pipenv to manage setup.py dependencies 2021-03-29 16:59:00 +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