@@ -892,7 +892,6 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
892
892
)
893
893
@click .option (
894
894
"--override-python-version" ,
895
- "-op" ,
896
895
help = (
897
896
"An optional python version to use instead of the version from "
898
897
"the detected environment."
@@ -1042,7 +1041,6 @@ def deploy_notebook(
1042
1041
)
1043
1042
@click .option (
1044
1043
"--override-python-version" ,
1045
- "-op" ,
1046
1044
help = (
1047
1045
"An optional python version to use instead of the version from "
1048
1046
"the detected environment."
@@ -1251,7 +1249,6 @@ def deploy_manifest(
1251
1249
)
1252
1250
@click .option (
1253
1251
"--override-python-version" ,
1254
- "-op" ,
1255
1252
help = (
1256
1253
"An optional python version to use instead of the version from "
1257
1254
"the detected environment."
@@ -1614,7 +1611,6 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
1614
1611
)
1615
1612
@click .option (
1616
1613
"--override-python-version" ,
1617
- "-op" ,
1618
1614
help = (
1619
1615
"An optional python version to use instead of the version from "
1620
1616
"the detected environment."
@@ -1792,7 +1788,6 @@ def write_manifest():
1792
1788
)
1793
1789
@click .option (
1794
1790
"--override-python-version" ,
1795
- "-op" ,
1796
1791
help = (
1797
1792
"An optional python version to use instead of the version from "
1798
1793
"the detected environment."
@@ -1885,6 +1880,13 @@ def write_manifest_notebook(
1885
1880
help = "Path to Python interpreter whose environment should be used. "
1886
1881
+ "The Python environment must have the rsconnect package installed." ,
1887
1882
)
1883
+ @click .option (
1884
+ "--override-python-version" ,
1885
+ help = (
1886
+ "An optional python version to use instead of the version from "
1887
+ "the detected environment."
1888
+ )
1889
+ )
1888
1890
@click .option (
1889
1891
"--force-generate" ,
1890
1892
"-g" ,
@@ -2009,6 +2011,13 @@ def write_manifest_voila(
2009
2011
help = "Path to Python interpreter whose environment should be used. "
2010
2012
+ "The Python environment must have the rsconnect package installed." ,
2011
2013
)
2014
+ @click .option (
2015
+ "--override-python-version" ,
2016
+ help = (
2017
+ "An optional python version to use instead of the version from "
2018
+ "the detected environment."
2019
+ )
2020
+ )
2012
2021
@click .option (
2013
2022
"--force-generate" ,
2014
2023
"-g" ,
@@ -2190,6 +2199,13 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
2190
2199
help = "Path to Python interpreter whose environment should be used. "
2191
2200
+ "The Python environment must have the rsconnect-python package installed." ,
2192
2201
)
2202
+ @click .option (
2203
+ "--override-python-version" ,
2204
+ help = (
2205
+ "An optional python version to use instead of the version from "
2206
+ "the detected environment."
2207
+ )
2208
+ )
2193
2209
@click .option (
2194
2210
"--force-generate" ,
2195
2211
"-g" ,
@@ -2211,6 +2227,7 @@ def manifest_writer(
2211
2227
entrypoint : Optional [str ],
2212
2228
exclude : tuple [str , ...],
2213
2229
python : Optional [str ],
2230
+ override_python_version : Optional [str ],
2214
2231
force_generate : bool ,
2215
2232
verbose : int ,
2216
2233
directory : str ,
@@ -2226,6 +2243,7 @@ def manifest_writer(
2226
2243
entrypoint ,
2227
2244
exclude ,
2228
2245
python ,
2246
+ override_python_version ,
2229
2247
force_generate ,
2230
2248
verbose ,
2231
2249
directory ,
0 commit comments