Skip to content

Fix pre-commit checks on Python 3.14 #10500

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

Merged
merged 1 commit into from
Aug 15, 2025
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
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ repos:
- id: rstcheck
args: ["--report-level=warning"]
files: ^(doc/(.*/)*.*\.rst)
additional_dependencies: [Sphinx==7.4.3]
# TODO remove pydantic once 2.12.0 is released
additional_dependencies:
["Sphinx==7.4.3", "pydantic>=2.12.0a1;python_version>='3.14'"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.17.1
hooks:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_check_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
import argparse
import os
import sys
from concurrent.futures import ProcessPoolExecutor
from concurrent.futures.process import BrokenProcessPool
from concurrent.futures.process import BrokenProcessPool, ProcessPoolExecutor
from pathlib import Path
from pickle import PickleError
from typing import TYPE_CHECKING
Expand Down
Loading