pip-compile-multi icon indicating copy to clipboard operation
pip-compile-multi copied to clipboard

-d and -t are ignored

Open markuspinter opened this issue 1 year ago • 2 comments

Hi!

I tried to use pip-compile-multi for my project it has following structure

requirements/
   |- base.in
   |- dev.in
   |- test.in
requirements.in

The requirements.in is needed for exporting a package and can not be changed. The others are used otherwise. So if I want to just run pip-compile-multi on the requirements.in it seems to ignore it and just compile the ones in the folder running

pip-compile-multi -d .

or

pip-compile-multi -t requirements.in

I also tried

pip-compile-multi -t ./requirements.in

But all yield

Locking requirements/base.in to requirements/base.txt. References: []
Locking requirements/test.in to requirements/test.txt. References: ['requirements/base.in']
Locking requirements/dev.in to requirements/dev.txt. References: ['requirements/base.in', 'requirements/test.in']

if I run verify like

pip-compile-multi verify -d .

It yields

OK - requirements.txt was generated from requirements.in.

Do you have any idea what the problem could be?

Thanks a lot!

markuspinter avatar Mar 20 '24 16:03 markuspinter

What's the contents of requirements.in?

peterdemin avatar Mar 20 '24 20:03 peterdemin

# this file is only necessary for the package export
aiohttp>=3.8.3
pydantic<2.0.0

And two company internal packages

markuspinter avatar Mar 27 '24 09:03 markuspinter