Skip to content

Commit 6a5c496

Browse files
authored
Update deps.py
1 parent a946e97 commit 6a5c496

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

juliacall/deps.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,21 @@ def set_meta(*args):
4545

4646
### VERSION PARSING
4747

48-
@semver.base.BaseSpec.register_syntax
49-
class JuliaVersionSpec(semver.SimpleSpec):
50-
SYNTAX = 'julia'
51-
class Parser(semver.SimpleSpec.Parser):
52-
PREFIX_ALIASES = {'=': '==', '': '^'}
53-
@classmethod
54-
def parse(cls, expression):
55-
blocks = expression.split(',')
56-
clause = semver.base.Never()
57-
for block in blocks:
58-
block = block.strip()
59-
if not cls.NAIVE_SPEC.match(block):
60-
raise ValueError('Invalid simple block %r' % block)
61-
clause |= cls.parse_block(block)
62-
return clause
48+
# @semver.base.BaseSpec.register_syntax
49+
# class JuliaVersionSpec(semver.SimpleSpec):
50+
# SYNTAX = 'julia'
51+
# class Parser(semver.SimpleSpec.Parser):
52+
# PREFIX_ALIASES = {'=': '==', '': '^'}
53+
# @classmethod
54+
# def parse(cls, expression):
55+
# blocks = expression.split(',')
56+
# clause = semver.base.Never()
57+
# for block in blocks:
58+
# block = block.strip()
59+
# if not cls.NAIVE_SPEC.match(block):
60+
# raise ValueError('Invalid simple block %r' % block)
61+
# clause |= cls.parse_block(block)
62+
# return clause
6363

6464
### RESOLVE
6565

0 commit comments

Comments
 (0)