Skip to content

server: Add sdk dependency and build docker images from /server - #611

Open
hpoeche wants to merge 3 commits into
eclipse-basyx:developfrom
rwth-iat:improve/server-sdk-dependency
Open

server: Add sdk dependency and build docker images from /server#611
hpoeche wants to merge 3 commits into
eclipse-basyx:developfrom
rwth-iat:improve/server-sdk-dependency

Conversation

@hpoeche

@hpoeche hpoeche commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The server package uses the sdk extensively but never declared it as a dependency, and its Docker
builds required the repository root as build context, which is awkward for isolating the server
package in its own subpath.

  • Declare basyx-python-sdk as an explicit dependency of the server package, using the same
    commit-pinning workaround already applied to compliance_tool. This is only a temporary fix
    until proper cross-package dependency definitions are figured out in Adopt a proper cross-package dependency strategy for the monorepo (evaluate uv workspaces) #592, which should be
    considered next.
  • Change server Docker builds to use ./server as build context instead of the repository root,
    passing the sdk sources in via a separate named build context.
  • Update the GitHub Action, Dockerfiles, compose files, and README accordingly.

Fixes #459
Fixes #470

The sdk was not listed as dependency of the server package although
it is used in the server extensively. As we have for now no proper
cross-package dependency defninition strategy, we apply the same
workaround as with the compliance_tool. As the server is never
released as package to PyPI but only install in docker image builds,
this can be considered as appropiate temporary solution.
Previously the docker builds needed the repository root as build
context in order to copy the content of sdk and server directory.

In order to isolate the server package in its `/server` subpath,
the build now uses this directory as context. The sdk sources are
passed via an additional build context.
CI jobs, docker-compose.yml files and Readmes are adapted accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant