You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the Install dependencies step of this GitHub action the command pipenv install --dev --system --deploy is used.
This will by default install all package categories in the Pipfile, which means it will install package categories other than the [packages] and the [dev-packages] one.
One could have some build categories in the Pipfile such as [packages-mac] and [dev-packages-mac] that are only used for development.
In this scenario, those build categories are not intended to be built in the GitHub action as it is a Linux machine and the categories include macos dependencies.
What I suggest is to use the command pipenv install --categories="dev-packages packages" --system --deploy instead, which will only install the dev-packages and packages categories from the pipfile.
Potential issues with my suggestion:
In case someone wanted to organize their packages in the Pipfile differently, and have different categories other than packages and dev-packages , but still wants to install them all when building their environment.
Currently in the
Install dependencies
step of this GitHub action the commandpipenv install --dev --system --deploy
is used.This will by default install all package categories in the Pipfile, which means it will install package categories other than the [packages] and the [dev-packages] one.
One could have some build categories in the Pipfile such as [packages-mac] and [dev-packages-mac] that are only used for development.
In this scenario, those build categories are not intended to be built in the GitHub action as it is a Linux machine and the categories include macos dependencies.
What I suggest is to use the command
pipenv install --categories="dev-packages packages" --system --deploy
instead, which will only install the dev-packages and packages categories from the pipfile.More about package categories here
Potential issues with my suggestion:
In case someone wanted to organize their packages in the Pipfile differently, and have different categories other than
packages
anddev-packages
, but still wants to install them all when building their environment.PR #8 implements this suggestion.
The text was updated successfully, but these errors were encountered: