Компиляция python pip отображает абсолютный путь к файлу require.inPython

Программы на Python
Ответить
Anonymous
 Компиляция python pip отображает абсолютный путь к файлу require.in

Сообщение Anonymous »

Версия Python: 3.12
pip-tools: 7.4.1
Структура проекта

Код: Выделить всё

/projectdir
------requirements/
------------requirements.in
------------requirements.txt
------------requirements-dev.in
------------requirements-dev.txt
------Makefile
Содержимое require-dev.in

Код: Выделить всё

-r requirements.in
localstack
*******
*******
Команда Makefile:

Код: Выделить всё

pip-compile --no-emit-index-url requirements/requirements-dev.in --upgrade --resolver=backtracking --no-strip-extras
сгенерированное содержимое файла require-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
Как видите, в разделе aws-lambda-powertools

Код: Выделить всё

-r /Users/abhkumar/repo/pegasus-fulfill-ingest/requirements/requirements.in
Я ожидал, что он будет только печатать

Код: Выделить всё

-r requirements.in
Я перепробовал все возможные варианты, но ничего не заработало, пожалуйста, помогите

Подробнее здесь: https://stackoverflow.com/questions/796 ... ts-in-file
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Python»