Skip to content

Commit c012bf3

Browse files
committed
uv requires a version to pass
1 parent c08800b commit c012bf3

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

tests/data/issue_62.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "issue_62"
33
license = "mit"
4-
4+
version ="0.0"
55

66
dependencies = [
77
"deprecated>=1.2.14",

tests/data/pep631_socks.toml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,38 @@
22
# Added to example.
33
name = "pep631_socks"
44
license = "gpl-3.0-or-later"
5+
version = "0.0"
56

67
# Example copied from https://peps.python.org/pep-0631/#example
78
dependencies = [
8-
'cached-property >= 1.2.0, < 2',
9-
'distro >= 1.5.0, < 2',
10-
'docker[ssh] >= 4.2.2, < 5',
11-
'dockerpty >= 0.4.1, < 1',
12-
'docopt >= 0.6.1, < 1',
13-
'jsonschema >= 2.5.1, < 4',
14-
'PyYAML >= 3.10, < 6',
15-
'python-dotenv >= 0.13.0, < 1',
16-
'requests >= 2.20.0, < 3',
17-
'texttable >= 0.9.0, < 2',
18-
'websocket-client >= 0.32.0, < 1',
19-
# 'toskip >= 0.0.1',
9+
'cached-property >= 1.2.0, < 2',
10+
'distro >= 1.5.0, < 2',
11+
'docker[ssh] >= 4.2.2, < 5',
12+
'dockerpty >= 0.4.1, < 1',
13+
'docopt >= 0.6.1, < 1',
14+
'jsonschema >= 2.5.1, < 4',
15+
'PyYAML >= 3.10, < 6',
16+
'python-dotenv >= 0.13.0, < 1',
17+
'requests >= 2.20.0, < 3',
18+
'texttable >= 0.9.0, < 2',
19+
'websocket-client >= 0.32.0, < 1',
20+
# 'toskip >= 0.0.1',
2021

21-
# Conditional
22-
'backports.shutil_get_terminal_size == 1.0.0; python_version < "3.3"',
23-
'backports.ssl_match_hostname >= 3.5, < 4; python_version < "3.5"',
24-
'colorama >= 0.4, < 1; sys_platform == "win32"',
25-
'enum34 >= 1.0.4, < 2; python_version < "3.4"',
26-
'ipaddress >= 1.0.16, < 2; python_version < "3.3"',
27-
'subprocess32 >= 3.5.4, < 4; python_version < "3.2"',
22+
# Conditional
23+
'backports.shutil_get_terminal_size == 1.0.0; python_version < "3.3"',
24+
'backports.ssl_match_hostname >= 3.5, < 4; python_version < "3.5"',
25+
'colorama >= 0.4, < 1; sys_platform == "win32"',
26+
'enum34 >= 1.0.4, < 2; python_version < "3.4"',
27+
'ipaddress >= 1.0.16, < 2; python_version < "3.3"',
28+
'subprocess32 >= 3.5.4, < 4; python_version < "3.2"',
2829
]
2930

3031
[project.optional-dependencies]
31-
socks = [ 'PySocks >= 1.5.6, != 1.5.7, < 2' ]
32+
socks = ['PySocks >= 1.5.6, != 1.5.7, < 2']
3233
tests = [
33-
'ddt >= 1.2.2, < 2',
34-
'pytest < 6',
35-
'mock >= 1.0.1, < 4; python_version < "3.4"',
34+
'ddt >= 1.2.2, < 2',
35+
'pytest < 6',
36+
'mock >= 1.0.1, < 4; python_version < "3.4"',
3637
]
3738

3839
# Added to example.

0 commit comments

Comments
 (0)