Conversation
…imizing installation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
hanak
left a comment
There was a problem hiding this comment.
I think changes look good. I have added a few comments regarding the dependencies. Then, approved.
| description = "RAS admin db initialisation script" | ||
| version = "8.0.0" | ||
| dependencies = [ | ||
| "pymongo==4.11.1", |
There was a problem hiding this comment.
adminDbInit (RAS 8) uses pymongo 4.16.0 and bcrypt 5.0.0. Shouldn't this be aligned with RAS 8?
| [project] | ||
| name = "alarmHandlerDbInit" | ||
| version = "8.0.0" | ||
| dependencies = ["pymongo==3.10.1"] |
There was a problem hiding this comment.
RAS 8 alarmHardlerDbInit uses pyMongo 4.16.0. Should't this be aligned with that?
| ENV UV_PYTHON_CACHE_DIR=/opt/uv-cache/uv/python | ||
|
|
||
| RUN --mount=type=cache,target=/opt/uv-cache/uv \ | ||
| uv python install 3.12.7 |
There was a problem hiding this comment.
Comment only: I just noticed that pyproject.toml of pvServer calls for python 3.13.11 while epicsBase Dockerfile of RAS 8 installs python 3.12.7 (like here). I guess uv handles it right. I just did not notice this inconsistency while reviewing RAS 8. I am sorry.
| name = "loadSaveDbInit" | ||
| version = "8.0.0" | ||
| dependencies = [ | ||
| "pymongo==4.11.1" |
There was a problem hiding this comment.
pymongo 4.16.0 (see RAS 8)?
This pull brings in the changes from the core repo request updates the example project to V8.0.0
Changelog
V8.0.0
Major Updates:
- Updated base OS to Ubuntu 24.04 LTS for backend containers
- Migrated Python package management to UV
- epicsbase is now the foundational layer for all backend containers
- Docker Compose Bake support for 2-3x faster builds
- Requires Docker V28.1.1+
Breaking Changes: