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
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Breaking changes are listed under **Breaking changes**, each with its migration.
context in a new execution owner no longer suppresses that owner's retries, and stored
retry scopes do not retain finished tasks.

## [0.4.0b2] - 2026-11-26
## [0.4.0] - 2026-11-26

### Breaking changes

Expand Down Expand Up @@ -926,8 +926,8 @@ Core:

Initial release.

[Unreleased]: https://github.com/LitePy/PythonWrap/compare/v0.4.0b2...HEAD
[0.4.0b2]: https://github.com/LitePy/PythonWrap/compare/v0.4.0b1...v0.4.0b2
[Unreleased]: https://github.com/LitePy/PythonWrap/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/LitePy/PythonWrap/compare/v0.4.0b2...v0.4.0
[0.4.0b1]: https://github.com/LitePy/PythonWrap/compare/v0.3.0...v0.4.0b1
[0.3.0]: https://github.com/LitePy/PythonWrap/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/LitePy/PythonWrap/compare/v0.1.0...v0.2.1
Expand Down
4 changes: 2 additions & 2 deletions docs/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,7 @@ Every public name: `python_wrap.__all__` first, then names public only in a subm
- `python_wrap.WebhookAlerter`: `WebhookAlerter(url: str, *, format: str = 'json', on: Iterable[str | CircuitState] = ('open',), cooldown: float = 300.0, timeout: float = 5.0, sender: Sender | None = None, include_recovery: bool = True, context: Mapping[str, Any] | None = None)`
Post a chat message when a circuit breaker reaches a chosen state.
- `python_wrap.__version__`
Constant: '0.4.0b2'
Constant: '0.4.0'
- `python_wrap.ainvalidate_tags`: `ainvalidate_tags(*names: str, client: Any = None) -> None`
`invalidate_tags` for ``redis.asyncio`` clients (amemoize with AsyncRedisStore).
- `python_wrap.amap_iter`: `amap_iter(fn: Callable[[T], Awaitable[R]], items: Iterable[T] | AsyncIterable[T], *, limit: int, ordered: bool = True, return_exceptions: bool = False) -> AsyncGenerator[Any, None]`
Expand Down Expand Up @@ -4820,7 +4820,7 @@ Every public name: `python_wrap.__all__` first, then names public only in a subm
- `python_wrap.decorators`
Compatibility module: v0.1 imported everything from ``python_wrap.decorators``.
- `python_wrap.decorators.__version__`
Constant: '0.4.0b2'
Constant: '0.4.0'
- `python_wrap.devtools`
Developer tools: deprecation warnings, mock data and decorator composition.
- `python_wrap.django`
Expand Down
4 changes: 2 additions & 2 deletions scripts/smoke_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Steps: build one wheel from the checkout (``uv build`` if available, else ``python -m build``),
create an empty virtual environment, install only that wheel, then run a short script with
``python -I`` from a scratch directory so the source tree cannot stand in for anything the
wheel left out. The script checks the version is a PEP 440 beta, that there are no runtime
wheel left out. The script checks the version is a PEP 440 release (final or beta), that there are no runtime
dependencies, that ``py.typed`` and the packaged data files ship, that the command line tools
work and that a retry, timeout and LLM happy path runs. Standard library only.
"""
Expand Down Expand Up @@ -34,7 +34,7 @@
import python_wrap

version = python_wrap.__version__
assert re.fullmatch(r"\\d+\\.\\d+\\.\\d+b\\d+", version), f"not a PEP 440 beta: {version}"
assert re.fullmatch(r"\\d+\\.\\d+\\.\\d+(b\\d+)?", version), f"not a PEP 440 release: {version}"
meta = md.metadata("python-wrap")
assert meta["Version"] == version
requires = [r for r in (md.requires("python-wrap") or []) if "extra ==" not in r]
Expand Down
2 changes: 1 addition & 1 deletion src/python_wrap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
validate_args,
)

__version__ = "0.4.0b2"
__version__ = "0.4.0"

# A library must never configure logging; this only silences "no handler" warnings.
logging.getLogger("python_wrap").addHandler(logging.NullHandler())
Expand Down
Loading