Skip to content

Commit f6ec2c6

Browse files
committed
Docs and prepping for 3.14
1 parent 89ebc6e commit f6ec2c6

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CLAUDE.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
**Docket** (`pydocket` on PyPI) is a distributed background task system for Python functions with Redis-backed persistence. It enables scheduling both immediate and future work with comprehensive dependency injection, retry mechanisms, and fault tolerance.
88

9-
**Key Requirements**: Python 3.12+, Redis 6.2+ or Valkey 8.0+
9+
**Key Requirements**: Python 3.10+, Redis 6.2+ or Valkey 8.0+
1010

1111
## Development Commands
1212

@@ -58,15 +58,13 @@ pre-commit install
5858
### Key Classes
5959

6060
- **`Docket`** (`src/docket/docket.py`): Central task registry and scheduler
61-
6261
- `add()`: Schedule tasks for execution
6362
- `replace()`: Replace existing scheduled tasks
6463
- `cancel()`: Cancel pending tasks
6564
- `strike()`/`restore()`: Conditionally block/unblock tasks
6665
- `snapshot()`: Get current state for observability
6766

6867
- **`Worker`** (`src/docket/worker.py`): Task execution engine
69-
7068
- `run_forever()`/`run_until_finished()`: Main execution loops
7169
- Handles concurrency, retries, and dependency injection
7270
- Maintains heartbeat for liveness tracking

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ reference](https://chrisguidry.github.io/docket/api-reference/).
6363
## Installing `docket`
6464

6565
Docket is [available on PyPI](https://pypi.org/project/pydocket/) under the package name
66-
`pydocket`. It targets Python 3.12 or above.
66+
`pydocket`. It targets Python 3.10 or above.
6767

6868
With [`uv`](https://docs.astral.sh/uv/):
6969

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Installation
44

55
Docket is [available on PyPI](https://pypi.org/project/pydocket/) under the package name
6-
`pydocket`. It targets Python 3.12 or above.
6+
`pydocket`. It targets Python 3.10 or above.
77

88
With [`uv`](https://docs.astral.sh/uv/):
99

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@ addopts = [
101101
"--cov-report=term-missing",
102102
"--cov-branch",
103103
]
104-
filterwarnings = ["error"]
104+
filterwarnings = [
105+
"error",
106+
"ignore:'asyncio.DefaultEventLoopPolicy' is deprecated:DeprecationWarning:pytest_aio",
107+
"ignore:'asyncio.set_event_loop_policy' is deprecated:DeprecationWarning:pytest_aio",
108+
]
105109

106110
[tool.coverage.run]
107111
omit = ["src/docket/__main__.py"]

0 commit comments

Comments
 (0)