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

Bump package versions to latest. #6

Merged
merged 4 commits into from
Mar 30, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/python-poetry-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-2 # increment to reset cache, e.g. if you see .venv/bin/activate: No such file or directory
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-3 # increment to reset cache, e.g. if you see .venv/bin/activate: No such file or directory

- name: Install and configure Poetry, if cache miss
if: steps.cached-poetry.outputs.cache-hit != 'true'
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ poetry-show-tree:
poetry-gen-requirements:
poetry export --output requirements.txt

poetry-update:
# 1. Update pyproject.toml (requires plugin poetry-plugin-up as of March 2024)
# https://github.com/MousaZeidBaker/poetry-plugin-up
# One time: poetry self add poetry-plugin-up
poetry up --latest
# 2. Update poetry.lock
poetry update

test:
poetry run coverage run -m pytest -vvv -s ./tests
poetry run coverage report
Expand Down
Loading
Loading