Skip to content

Commit 2cc0701

Browse files
committed
Fix marker field in macOS release check
1 parent a50bb27 commit 2cc0701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/specifications/dependency-specifiers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ For example::
297297

298298
sys_platform == "ios" or sys_platform == "darwin"
299299
sys_platform == "linux" and "SMP" in platform_version
300-
sys_platform == "darwin" and platform_version >= "12"
300+
sys_platform == "darwin" and platform_release >= "12"
301301

302302
Python's comparison chaining (such as ``3.4 < python_version < 3.9``) is NOT
303303
supported in environment markers (such expressions must instead be written out

0 commit comments

Comments
 (0)