#25 — Solve Poetry git dependencies issue with different python-shared tag
Repo: Twill-AI/facade State: closed | Status: done Assignee: meliascosta
Created: 2024-06-28 · Updated: 2024-08-22
Description
Caused by https://github.com/Twill-AI/facade/issues/20
If twill-llm-engine has version X of python-shared, but Facade has version Y of it then poetry can’t resolve both dependencies for the Facade.
Twill-llm-engine depends on python-shared in following places:
- (2024-08-15)
PgConnectionclass. - Version of shared depencencies (pydantic, pytest, etc.).
- Version of dev tools (pylint, etc.).
Ideas:
Install python-shared into twill-llm-engine with different package name, i.e. like not “shared” but “different_shared”.Poetry can’t do it, only way is to write a plugin.- Make twill-llm-engine to not depend on python-shared at all but it would lead to a number of duplicates in twill-llm-engine and python-shared and inability to use some configuration classes.
- Create pypy/wheels registry for Python packages. In this case we may provide range of versions on twill-llm-engine for python-shared. Unfortunately GitHub Packages won’t support it due to acquiring by Microsoft and competitive Azure Artefacts.
- Make python-shared as “dev dependency” for twill-llm-engine, so it would be optional on usual install and will be resolved runtime from facade-s dependencies. (more in Martin-Aleksandr slack https://twill-network.slack.com/archives/D06UREE39J5/p1723742646040559?thread_ts=1723735535.433259&cid=D06UREE
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets