Skip to content
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/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
os: [ubuntu-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: 'test_hookman_generator/.*'
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.9
rev: v0.17.0
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -21,7 +21,7 @@ repos:
language: python
additional_dependencies: [pygments, restructuredtext_lint]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v2.3.1
rev: v2.4.0
hooks:
- id: mypy
files: ^(src/)
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ History
UNRELEASED
==========

- Dropped support for Python 3.10 (EOL).
- Added full type annotations and exported types (via ``py.typed``).
- Suppress the Windows hard-error dialog that ``LoadLibraryW`` would raise when a plugin
DLL has unresolved imports (e.g. a conflicting dependency version bundled inside the
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
Expand All @@ -36,7 +35,7 @@
include_package_data=True,
keywords="hookman",
name="python-hookman",
python_requires=">=3.10",
python_requires=">=3.11",
packages=find_packages("src", include=["hookman"]),
package_dir={"": "src"},
url="https://github.com/esss/hookman",
Expand Down
3 changes: 1 addition & 2 deletions src/hookman/dll_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
from collections.abc import Sequence
from dataclasses import dataclass
from pathlib import Path

from typing_extensions import Self
from typing import Self

#: Directories explicitly registered via `os.add_dll_directory` by this process,
#: in registration order. `os` provides no API to enumerate them, so callers that add
Expand Down
Loading