Skip to content

Conversation

Copy link

Copilot AI commented Oct 9, 2025

Problem

The application was failing to build/run due to missing Python dependencies. The code imports from several packages that were not declared as dependencies in the Dockerfile:

  • kabinet - used for Kabinet API schema interactions
  • rekuest-next - used for Rekuest scalars and functionality
  • unlok-next - used for client creation with manifests and requirements
  • rath - used for GraphQL communication (KabinetRath, scalars)

Changes

Added the missing dependencies to .arkitekt_next/flavours/vanilla/Dockerfile:

RUN pip install kabinet rekuest-next unlok-next rath

Impact

This ensures that all required packages are installed when the Docker image is built, resolving import errors and allowing the deployer application to function correctly. The fix addresses imports in both app.py and api/kabinet.py.

All packages are available on PyPI:

  • kabinet (latest: 0.9.0)
  • rekuest-next (latest: 0.18.1)
  • unlok-next (latest: 1.1.1)
  • rath (latest: 3.7.0)
Original prompt

This section details on the original issue you should resolve

<issue_title>Fix Dependency</issue_title>
<issue_description>With the new version we have unhandled dependencies.</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #4

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: jhnnsrs <3322897+jhnnsrs@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix unhandled dependencies in new version Fix unhandled dependencies in Dockerfile Oct 9, 2025
Copilot AI requested a review from jhnnsrs October 9, 2025 05:22
@jhnnsrs
Copy link
Collaborator

jhnnsrs commented Oct 9, 2025

No just register the deployer flavour function as an arkitekt dependency on the auto install definition

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.

Fix Dependency

2 participants