Skip to content

Commit 48383d2

Browse files
committed
fix version check script
1 parent 1b91a90 commit 48383d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ run +ARGS:
188188
validate_version VERSION:
189189
import re
190190
import tomllib
191-
import ptm
191+
import enum_properties
192192
from packaging.version import Version
193193
raw_version = "{{ VERSION }}".lstrip("v")
194194
version_obj = Version(raw_version)
195195
# the version should be normalized
196196
assert str(version_obj) == raw_version
197197
# make sure all places the version appears agree
198198
assert raw_version == tomllib.load(open('pyproject.toml', 'rb'))['project']['version']
199-
assert raw_version == ptm.__version__
199+
assert raw_version == enum_properties.__version__
200200
print(version)
201201

202202
# issue a relase for the given semver string (e.g. 2.1.0)

0 commit comments

Comments
 (0)