Skip to content

Commit

Permalink
fix installation commands in Justfiles (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Aug 5, 2024
1 parent f734d18 commit d76572c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Fixed

- All `uv pip install` commands now use the correct CLI syntax for installing from requirements files. When I migrated back from `uv pip sync` I failed to take in to account the slight differences between how dependencies are installed.

## [2024.44]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/django_twc_project/.just/documentation.just
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build LOCATION="docs/_build/html": cog
# Install documentation dependencies
[no-cd]
install *ARGS:
$python -m uv pip install {{ ARGS }} docs/requirements.txt
$python -m uv pip install {{ ARGS }} -r docs/requirements.txt

# Generate documentation requirements
[no-cd]
Expand Down
2 changes: 1 addition & 1 deletion src/django_twc_project/.just/python.just.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ coverage-report: test
# Install dependencies
[no-cd]
install *ARGS:
$python -m uv pip install {% raw %}{{ ARGS }}{% endraw %} requirements.txt requirements.dev.txt
$python -m uv pip install {% raw %}{{ ARGS }}{% endraw %} -r requirements.txt -r requirements.dev.txt

# Generate requirements.txt file
[no-cd]
Expand Down

0 comments on commit d76572c

Please sign in to comment.