File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,11 +122,19 @@ min_python_version:
122122 type : str
123123 help : " Choose the minimum Python version the project should support:"
124124 default : " 3.10"
125- choices :
126- - " 3.10"
127- - " 3.11"
128- - " 3.12"
129- - " 3.13"
125+ choices : |
126+ {%- if python_version|float >= 3.10 %}
127+ - "3.10"
128+ {%- endif %}
129+ {% if python_version|float >= 3.11 %}
130+ - "3.11"
131+ {%- endif %}
132+ {% if python_version|float >= 3.12 %}
133+ - "3.12"
134+ {%- endif %}
135+ {% if python_version|float >= 3.13 %}
136+ - "3.13"
137+ {%- endif %}
130138
131139py_versions :
132140 default : ["3.10", "3.11", "3.12", "3.13"]
Original file line number Diff line number Diff line change 66
77[](https://github.com/copier-org/copier)
88[](https://github.com/astral-sh/uv)
9- [[1]|int , 14) %} 3.{{ minor }}{% if not loop .last %} %20|%20{% endif %}{% endfor %} -blue.svg)]()
9+ [[1]|int , 14) %} 3.{{ minor }}{% if not loop .last %} %20|%20{% endif %}{% endfor %} -blue.svg)]()
1010{% - if publish_to_pypi %}
1111[](https://pypi.org/project/{{ project_name }}/)
1212{% - endif %}
You can’t perform that action at this time.
0 commit comments