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

👷 Use Poetry dependency groups for docs dependencies #484

Merged
merged 4 commits into from
Sep 1, 2022
Merged
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
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ endif
.PHONY: install-dependencies
## Install Python dependencies specified in `poetry.lock`
install-dependencies:
poetry install --no-interaction --no-root --extras docs -vv
poetry install --no-interaction --no-root --with docs -vv

.PHONY: install-project
## Install structlog-sentry-logger source code (in editable mode)
Expand All @@ -89,9 +89,9 @@ install-project:
.PHONY: generate-requirements
## Generate project requirements files from `pyproject.toml`
generate-requirements:
poetry export -f requirements.txt --without-hashes > requirements.txt # subset
poetry export --dev -f requirements.txt --without-hashes > requirements-dev.txt # superset w/o docs
poetry export --extras docs --dev -f requirements.txt --without-hashes > requirements-all.txt # superset
poetry export --format requirements.txt --without-hashes --output requirements.txt # subset
poetry export --with dev --format requirements.txt --without-hashes --output requirements-dev.txt # superset w/o docs
poetry export --with dev,docs --format requirements.txt --without-hashes --output requirements-all.txt # superset

.PHONY: clean-requirements
## Clean generated project requirements files
Expand Down
Loading