We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3f53b commit b24821aCopy full SHA for b24821a
tox_conda/plugin.py
@@ -20,12 +20,14 @@ class CondaDepOption(DepOption):
20
21
def get_py_version(envconfig, action):
22
# Try to use basepython
23
- match = re.match(r"python(\d)(?:\.(\d))?", envconfig.basepython)
+ match = re.match(r"python(\d)(?:\.(\d))?(?:\.(\d))?", envconfig.basepython)
24
if match:
25
groups = match.groups()
26
version = groups[0]
27
if groups[1]:
28
version += ".{}".format(groups[1])
29
+ if groups[2]:
30
+ version += ".{}".format(groups[2])
31
32
# First fallback
33
elif envconfig.python_info.version_info:
0 commit comments