Skip to content

Commit f26bcc5

Browse files
committed
fix: update v1 flag for deprecations (#1797)
1 parent 8732586 commit f26bcc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
REGION_COLS = ["geometry", "name", "x", "y", "country"]
3131

32-
PYPSA_V1 = bool(re.match(r"^0\.35\.\d\.post1\.dev\d{3}", pypsa.__version__))
32+
PYPSA_V1 = bool(re.match(r"^0\.35\.[1-9]\.post1", pypsa.__version__))
3333

3434

3535
def get_scenarios(run):

0 commit comments

Comments
 (0)