Skip to content

Include already installed packages in PipResolver.gather#4

Open
cdcadman wants to merge 1 commit into
FHPythonUtils:mainfrom
cdcadman:pip_include_existing_pkgs
Open

Include already installed packages in PipResolver.gather#4
cdcadman wants to merge 1 commit into
FHPythonUtils:mainfrom
cdcadman:pip_include_existing_pkgs

Conversation

@cdcadman

Copy link
Copy Markdown

Purpose of This Pull Request

Please check the relevant option by placing an "X" inside the brackets:

  • Documentation update
  • Bug fix
  • New feature
  • Other (please explain):

Overview of Changes

When using PipResolver.gather with a requirements.txt file in an environment where pip install -r requirements.txt has already been run, PipResolver.gather returns an empty set. This pull request would allow packages which were already installed in the environment to be included.

Additional Notes

This is based on my assumption that PipResolver.gather should gather the requirements independently of what is already installed in the current environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant