question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How should we identify dependencies?

See original GitHub issue

Hi @ofek

Thanks again for this magnificent project! I have a quick question, which is, how are we suppose to track requirements?

I noticed the requirements.txt file is a little different than I’m used to seeing:

(venv) my-computer:tests blong$ cat requirements.txt 
-e .

I also noticed, I can install pip dependencies using hatch, like so:

(venv) my-computer:tests blong$ hatch install opencv-python
Installing...
Collecting opencv-python
  Using cached opencv_python-3.3.0.10-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting numpy>=1.11.1 (from opencv-python)
  Downloading numpy-1.13.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.5MB)
    100% |████████████████████████████████| 4.6MB 324kB/s 
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.13.1 opencv-python-3.3.0.10

Does this mean I am supposed to track dependencies (for now) using pip freeze > requirements.txt or is there some better process?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
malarinvcommented, Jun 15, 2018

Any update on this?

1reaction
nlhkabucommented, May 20, 2020

As this ticket is blocked by the development of pip’s dependency resolver https://github.com/pypa/pip/issues/988, I thought I would mention here that the pip team is looking for help from the community to move forward on that subject.

We need to better understand the circumstances under which the new resolver fails, so are asking for pip users with complex dependencies to:

  1. Try the new resolver (use version 20.1, run --unstable-feature=resolver)
  2. Break it 😛
  3. File an issue

You can find more information and more detailed instructions here

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependencies in Project Management | A Complete Guide
It's important to identify and record all the dependencies during the project plan. Otherwise, you'll risk making things complicated because, ...
Read more >
Dependencies Identification & Monitoring - Powernoodle
Identify and categorize the dependencies involved in your initiative. · Validate the dependencies listed by voting for those that you agree ...
Read more >
Understanding dependencies in project management - Asana
Visualizing dependencies is an easy way to better understand what tasks need to be completed and in what order. Using visual tools like...
Read more >
The Ultimate Guide to Project Dependencies and Constraints
5 Steps for Identifying Project Dependencies and Constraints · Step 1: Create a Log of All the Project Dependencies · Step 2: Create...
Read more >
5 activities you need to manage project dependencies
Using the defined process, each project manager needs to identify the dependencies for their project. This can be achieved by the project manager...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found