Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit ae3b9bb

Browse files
authored
optional period (#59)
1 parent 666be86 commit ae3b9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox_conda/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CondaDepOption(DepOption):
2020

2121
def get_py_version(envconfig, action):
2222
# Try to use basepython
23-
match = re.match(r"python(\d)(?:\.(\d))?(?:\.(\d))?", envconfig.basepython)
23+
match = re.match(r"python(\d)(?:\.(\d))?(?:\.?(\d))?", envconfig.basepython)
2424
if match:
2525
groups = match.groups()
2626
version = groups[0]

0 commit comments

Comments
 (0)