Skip to content

[BUG]: Plugin packages and transitional packages place an un-versioned dependency on aiqtoolkit #197

@dagardner-nv

Description

@dagardner-nv

Version

1.1.0

Which installation method(s) does this occur on?

Source, PyPi

Describe the bug.

Using aiqtoolkit-langchain as an example, however all of our plugins and transitional packages have the same issue.
Looking at the project section in packages/aiqtoolkit_langchain/pyproject.toml:

[project]
name = "aiqtoolkit-langchain"
dynamic = ["version"]
dependencies = [
  "aiqtoolkit",
...

Really should be:

dependencies = [
  "aiqtoolkit==1.1.0",

What this means is that if a user installed aiqtoolkit-langchain with:

pip install aiqtoolkit-langchain==1.1

This could potentially install an incompatible version of aiqtoolkit. This hasn't come up yet as we only have one deployed version. I'm not sure if pip install aiqtoolkit[langchain]==1.1 avoids this issue.

We need to determine if there is a way using setuptools_scm to place a version macro into the dependency.

Minimum reproducible example

pip install aiqtoolkit-langchain==1.1

Relevant log output

Click here to see error details

[Paste the error here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow AIQ Toolkit' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions