diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2cd574cf23459284ef7e81fe015ced454fa12083..d8dea697d5c57c729de2ac9ebe8cd2674860478d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,16 +19,16 @@ repos:
       - id: poetry-lock
         name: checking if beekeepy/poetry.lock is consistent with pyproject.toml
         args: [ "-C", "./beekeepy", "--no-update" ]
-        language_version: python3.10
+        language_version: python3.12
   - repo: https://github.com/python-poetry/poetry
     rev: 1.7.1
     hooks:
       - id: poetry-lock
         name: checking if tests/local-tools/poetry.lock is consistent with pyproject.toml
         args: [ "-C", "./tests/local-tools", "--no-update" ]
-        language_version: python3.10
+        language_version: python3.12
   - repo: https://github.com/charliermarsh/ruff-pre-commit
-    rev: 'v0.4.9'
+    rev: 'v0.6.5'
     hooks:
       - id: ruff
         name: linting code with Ruff