Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Remove 'pip install' options in recipes #584

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions grayskull/strategy/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ class PypiStrategy(AbstractStrategy):
def fetch_data(recipe, config, sections=None):
update_recipe(recipe, config, sections or ALL_SECTIONS)
if not (recipe["build"] and recipe["build"]["script"]):
recipe["build"]["script"] = (
"<{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"
)
recipe["build"]["script"] = "<{ PYTHON }} -m pip install . -vv"


def merge_pypi_sdist_metadata(
Expand Down
2 changes: 1 addition & 1 deletion tests/data/poetry/langchain-expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build:
entry_points:
- langchain-server = langchain.server:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
Expand Down
Loading