Skip to content

Commit 433da58

Browse files
committed
change python version req to 3.11
Resolves #52 Resolves #51
1 parent ea4f153 commit 433da58

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

nbs/00_core.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403
" data={'name': name, 'force_data': force_data})\n",
404404
" if resp.status_code == 200:\n",
405405
" print('✅ Upload complete! Your app is currently being built.')\n",
406-
" print(f'It will be live at {name if '.' in name else endpoint(sub=name)}')\n",
406+
" print(f'It will be live at {name if \".\" in name else endpoint(sub=name)}')\n",
407407
" else: print(f'Failure: {resp.status_code}\\n{resp.text}')"
408408
]
409409
},
@@ -613,7 +613,7 @@
613613
" r = mk_auth_req(endpoint(rt=\"/user_apps\")).raise_for_status()\n",
614614
" apps = r.json()\n",
615615
" if not apps: return \"You don't have any deployed Plash apps.\"\n",
616-
" if verbose: [print(f'{a['running']} {a['name']}') for a in apps]\n",
616+
" if verbose: [print(f\"{a['running']} {a['name']}\") for a in apps]\n",
617617
" else: [print(a['name']) for a in apps]"
618618
]
619619
},

plash_cli/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def deploy(
167167
data={'name': name, 'force_data': force_data})
168168
if resp.status_code == 200:
169169
print('✅ Upload complete! Your app is currently being built.')
170-
print(f'It will be live at {name if '.' in name else endpoint(sub=name)}')
170+
print(f'It will be live at {name if "." in name else endpoint(sub=name)}')
171171
else: print(f'Failure: {resp.status_code}\n{resp.text}')
172172

173173
# %% ../nbs/00_core.ipynb 29
@@ -273,5 +273,5 @@ def apps(verbose:bool=False):
273273
r = mk_auth_req(endpoint(rt="/user_apps")).raise_for_status()
274274
apps = r.json()
275275
if not apps: return "You don't have any deployed Plash apps."
276-
if verbose: [print(f'{a['running']} {a['name']}') for a in apps]
276+
if verbose: [print(f"{a['running']} {a['name']}") for a in apps]
277277
else: [print(a['name']) for a in apps]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name="plash_cli"
7-
requires-python=">=3.7"
7+
requires-python=">=3.11"
88
dynamic = [ "keywords", "description", "version", "dependencies", "optional-dependencies", "readme", "license", "authors", "classifiers", "entry-points", "scripts", "urls"]
99

1010
[tool.uv]

settings.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jupyter_hooks = False
33
repo = plash_cli
44
lib_name = plash_cli
55
version = 0.2.1
6-
min_python = 3.7
6+
min_python = 3.11
77
license = apache2
88
black_formatting = False
99
doc_path = _docs

0 commit comments

Comments
 (0)