Python version: 3.12 pip-tools: 7.4.1
Project structure
/projectdir
------requirements/
------------requirements.in
------------requirements.txt
------------requirements-dev.in
------------requirements-dev.txt
------Makefile
Contents of requirements-dev.in
-r requirements.in
localstack
*******
*******
Makefile command:
pip-compile --no-emit-index-url requirements/requirements-dev.in --upgrade --resolver=backtracking --no-strip-extras
generated content of requirements-dev.txt
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --no-emit-index-url requirements/requirements-dev.in
#
annotated-types==0.7.0
# via pydantic
attrs==25.3.0
# via
# jsonschema
# referencing
aws-lambda-powertools==3.16.0
# via
# -r /Users/abhkumar/repo/pegasus-fulfill-ingest/requirements/requirements.in
# ewflib
As you can see, under aws-lambda-powertools,
-r /Users/abhkumar/repo/pegasus-fulfill-ingest/requirements/requirements.in
I was expecting that it will print only
-r requirements.in
I have tried all possible options, but cant get it working, please help
pip-compile --no-emit-index-url -c requirements/requirements-dev.in --upgrade --resolver=backtracking --no-strip-extrasmakeor makefiles. Please check whether you can reproduce the issue by executing the troublesome command directly from a shell prompt. If so, then remove the [makefile] tag. If not, then add a minimal but complete makefile with which the issue can be reproduced.--no-annotateoption topip-compile. That's not quite what you asked for, but perhaps it would serve the same purpose.