brief-twilight-47819
05/25/2025, 3:49 PMpyproject.toml
, and per the guidance (ex1, ex2), and I'm trying to move everything to one requirements.txt file. The problem is that I don't know what to put in the files like frontend/BUILD and backend/BUILD. When I leave them blank, I get warnings that the files can't be found, but when I just leave the default pants tailor ::
(poetry_requirements(name="poetry",)
), I get an error that the requirements are reproduced, since they're imported both from the root requirements and from the frontend. What should I do to get this to work properly and pull all the requirements from the root? Thank you so much for your help!
.
├── BUILD
├── frontend
│ ├── BUILD
│ ├── README.md
│ ├── frontend
│ │ ├── BUILD
│ │ ├── init.py
│ │ └── main.py
│ └── pyproject.toml
├── pants.toml
├── pyrightconfig.json
├── requirements.txt
├── mylockfile.json
└── backend
├── BUILD
├── README.md
├── backend
│ ├── BUILD
│ ├── init.py
│ └── main.py
└── pyproject.tomlpowerful-scooter-95162
05/25/2025, 4:38 PMbrief-twilight-47819
05/25/2025, 4:38 PMbrief-twilight-47819
05/25/2025, 4:40 PMhappy-kitchen-89482
05/25/2025, 7:35 PMrepo root/projects/bar
when building that project even though the cwd is the repo root?brief-twilight-47819
05/25/2025, 7:47 PMset -a && source .env && set +a
), then run the programhappy-kitchen-89482
05/25/2025, 9:21 PMhappy-kitchen-89482
05/25/2025, 9:21 PM