Skip to content

Commit

Permalink
use version_info
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry committed Apr 30, 2024
1 parent e310c7f commit 7ce9a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydeps2env/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import yaml
import warnings

if sys.version < "3.11":
if sys.version_info < (3, 11):
import tomli as tomllib
else:
import tomllib
Expand Down

0 comments on commit 7ce9a1f

Please sign in to comment.