Hello :hand:, I am facing a issue with no-infer-d...
# general
q
Hello , I am facing a issue with no-infer-dep. there are 2 warnings I am getting. 1. is like ambiguous to choose from... , why i am getting this while i have clearly mentioned which to use.
Copy code
1. dependencies = [
        ":auth_requirements",
2.dependencies = [
        ":platform_requirements",
2. and the 2nd error I dont get i why I am getting that but when I mention any any single module('fastapi', 'flask'...) I dont get it. like by creating a single python_requirement:
Copy code
python_requirement(
    name = "requirements",
    requirements = [
        "python-dotenv",
        "fastapi",
        "uvicorn",
        "pydantic",
    ],
)

and then using this everywhere solves my both problems ::
like:
python_sources(
    name = "auth_main",
    dependencies = [
        ":requirements",
 

python_sources(
    name = "platform_main",
    dependencies = [
        "apps/auth:requirements",
but I want build file to only take those python_modules which are mentioned in that same BUILD file. how to do that? can anyone help me out here...
h
Hi, it's hard to work with screenshots. This will be easier to solve if you can create a toy github repo that exposes the problem.
q
sure will upload the link to the repo soon
please refer this image I shared, I have written both the problems which I am facing. explain me if you can understand from here otherwise I will have to do do something about the toy_repo...
s
@happy-kitchen-89482 Any solution here?
h
Again, this is not something we can debug from screenshots, it really requires a repo to look at and experiment with.
👍 1
s
Ok we will share repo link soon.
👍 1