google / weather-tools

Tools to make weather data accessible and useful.

Home Page:https://weather-tools.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developer Installation on Linux takes 12+ hours

ksic8 opened this issue · comments

commented

While setting up DEV environment on Linux, the following command takes more than 12 hours to complete.

pip install -e ."[dev]"

Reference: Developer Installation

Command Installation Snap

This issue seem related to pypa/pip#9187.

Here are fairly current workarounds to address this issue: https://stackoverflow.com/a/65793484

A short term fix, to get your dev environments set up on Linux, is to use the --use-deprecated=legacy-resolver flag during the pip install. A longer-term fix for this project would be to pin down package versions for each dependency. We also need to verify if simply upgrading pip will fix this issue. If it does, we need to update our contributing instructions to ensure developers follow this step.

@ksic8 Can do you the following for me?

  • Validate that this workaround makes installations faster
  • If so, update the developer documentation with these instructions

Closing this issue as a solution has been documented.