0

The requirements.txt file is large and investigating it module by module is not practical.

Paul Whipp
  • 16,028
  • 4
  • 42
  • 54

1 Answers1

0

Install pipdeptree in your venv (or a copy where you've installed the requirements.txt files).

Then use the following (substituting your module name for urllib3):

$ pipdeptree -r --packages urllib3
urllib3==1.26.15
  - botocore==1.29.125 [requires: urllib3>=1.25.4,<1.27]
    - boto3==1.26.125 [requires: botocore>=1.29.125,<1.30.0]
    - s3transfer==0.6.0 [requires: botocore>=1.12.36,<2.0a.0]
      - boto3==1.26.125 [requires: s3transfer>=0.6.0,<0.7.0]

Its a reverse presentation so boto3 is the answer here.

Paul Whipp
  • 16,028
  • 4
  • 42
  • 54