Skip to content

Commit

Permalink
Fix pip-compile cmd in Dependencies (kedro-org#3082)
Browse files Browse the repository at this point in the history
The `pip-compile` command is currently not accepting the `--input-file` argument as expected. Additionally, the generated output file should be named `requirements.lock` instead of `requirements.txt`. This PR addresses these issues to ensure proper functionality and consistency.

Signed-off-by: flpvvvv <[email protected]>
  • Loading branch information
flpvvvv authored Sep 27, 2023
1 parent 8fca4e0 commit bf19a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/kedro_project_setup/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pip install pip-tools
To add or remove dependencies to a project, edit the `src/requirements.txt` file, then run the following:

```bash
pip-compile --output-file=<project_root>/src/requirements.txt --input-file=<project_root>/src/requirements.txt
pip-compile <project_root>/src/requirements.txt --output-file <project_root>/src/requirements.lock
```

This will [pip compile](https://github.com/jazzband/pip-tools#example-usage-for-pip-compile) the requirements listed in
Expand Down

0 comments on commit bf19a66

Please sign in to comment.