Skip to content

DM-51484: Update authors API and SQL table name conventions #188

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

Open
wants to merge 5 commits 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
6 changes: 6 additions & 0 deletions .github/prompts/update-dependencies.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Update the project's dependencies to their latest versions by running these steps:

1. Run `make update`.
2. Run [uv-version-sync-prompt](uv-version-sync.prompt.md) to update the `uv` version.
3. Run `nox` to ensure linting, type checking, and tests pass.
4. If nox from previous step completed successfully, commit the changed files with a message: "Update dependencies to latest versions".
1 change: 1 addition & 0 deletions .github/prompts/uv-version-sync.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update references to the version of `uv` used in this project to match the version found in [.pre-commit-config.yaml](../../.pre-commit-config.yaml). The `uv` version is used in [Dockerfile](../../Dockerfile) and [.github/workflows/\*.yaml](../workflows).
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
UV_VERSION: "0.7.2"
UV_VERSION: "0.7.13"

"on":
merge_group: {}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/periodic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name: Periodic CI

env:
UV_VERSION: "0.7.2"
UV_VERSION: "0.7.13"

"on":
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ repos:
args: [--autofix, --indent=2, '--top-keys=name,doc,type']

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.2
rev: 0.7.13
hooks:
- id: uv-lock

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.11.8
rev: v0.12.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - Runs a non-root user.
# - Sets up the entrypoint and port.

FROM python:3.13.3-slim-bookworm AS base-image
FROM python:3.13.5-slim-bookworm AS base-image

# Update system packages.
COPY scripts/install-base-packages.sh .
Expand All @@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
FROM base-image AS install-image

# Install uv.
COPY --from=ghcr.io/astral-sh/uv:0.7.2 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.7.13 /uv /bin/uv

# Install some additional packages required for building dependencies.
COPY scripts/install-dependency-packages.sh .
Expand Down
2 changes: 1 addition & 1 deletion alembic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ git add alembic/versions/<new_migration_file>
After the migration has been committed, update the [schema_dump.sql](schema_dump.sql) file to reflect the new schema. Run the following command from the repo's root directory:

```bash
nox -s db-dump-schema
nox -s dump-db-schema
git add alembic/schema_dump.sql
```

Expand Down
Loading