When specifying dependencies and version requirements in project configuration files, avoid adding unnecessary constraints that could limit future compatibility. Unless there's a specific known incompatibility issue:
When specifying dependencies and version requirements in project configuration files, avoid adding unnecessary constraints that could limit future compatibility. Unless there’s a specific known incompatibility issue:
# Preferred
requires-python = ">=3.11"
# Avoid unless necessary
requires-python = ">=3.11,<3.13"
# Consider whether dependencies belong in [dependencies] or [dev-dependencies]
# Some dependencies like 'anyhow' should typically be avoided in library crates
This practice ensures your configurations remain flexible while still maintaining necessary compatibility requirements.
Enter the URL of a public GitHub repository