Skip to content

Commit

Permalink
Update nox/project.py
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Oct 28, 2024
1 parent 1f78915 commit 19853f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nox/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def python_list(
raise ValueError('No "project.requires-python" value set')

for spec in packaging.specifiers.SpecifierSet(requires_python_str):
if spec.operator in {">", ">="}:
if spec.operator in {">", ">=", "~="}:
min_minor_version = int(spec.version.split(".")[1])
break
else:
Expand Down

0 comments on commit 19853f9

Please sign in to comment.