Skip to content

Commit 34b6e0e

Browse files
authored
Merge pull request #64 from DeepWave-KAUST/release/v0.2.0
release: v0.2.0
2 parents 939cd1d + 8340fee commit 34b6e0e

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to
99

1010
## [Unreleased]
1111

12+
## [0.2.0] - 2026-08-24
13+
1214
### Added
1315
- **Domain decomposition (`sweep.parallel`).** `ModelParallel` splits one
1416
model into tiles — one GPU per tile — and exchanges a halo every time step,
@@ -127,4 +129,5 @@ see the
127129
[GitHub commit history](https://github.com/DeepWave-KAUST/sweep/commits/dev)
128130
for changes prior to this entry.
129131

130-
[Unreleased]: https://github.com/DeepWave-KAUST/sweep/compare/main...dev
132+
[Unreleased]: https://github.com/DeepWave-KAUST/sweep/compare/v0.2.0...dev
133+
[0.2.0]: https://github.com/DeepWave-KAUST/sweep/compare/v0.1.0...v0.2.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "sweep-solver"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "Seismic Wave Equation Exploration Platform — equations, propagators, operators."
99
readme = "README.md"
1010
requires-python = ">=3.9"

src/sweep/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818

1919
from __future__ import annotations
2020

21+
try: # distribution name differs from the import name (`sweep`)
22+
from importlib.metadata import PackageNotFoundError, version as _pkg_version
23+
24+
__version__ = _pkg_version("sweep-solver")
25+
except (ImportError, PackageNotFoundError): # a source tree with nothing installed
26+
__version__ = "unknown"
27+
2128
import sys
2229
from importlib import import_module
2330
from importlib.abc import MetaPathFinder

0 commit comments

Comments
 (0)