File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from importlib .metadata import PackageNotFoundError
22from importlib .metadata import version as _pkg_version
33
4- _FALLBACK_VERSION = "0.1.0 "
4+ _FALLBACK_VERSION = "0.1.2 "
55
66try :
77 _VERSION : str = _pkg_version ("offwork" )
Original file line number Diff line number Diff line change 11[project ]
22name = " offwork"
3- version = " 0.1.1 "
3+ version = " 0.1.2 "
44description = " Distributed Python task execution via automatic function serialization"
55readme = " README.md"
66authors = [
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ def test_deduplication_shared_dep(tmp_path: Path) -> None:
352352def test_serialize_format_structure (tmp_path : Path ) -> None :
353353 graph = _make_graph (tmp_path )
354354 data = json .loads (graph .serialize ())
355- assert data ["version" ] == "0.1.0"
355+ assert data ["version" ]. startswith ( "0.1" )
356356 assert "objects" in data
357357 assert "deps" in data
358358 assert "refs" in data
You can’t perform that action at this time.
0 commit comments