pin to pandas<3
Browse files- nb/prod_data.py +2 -3
- pyproject.toml +1 -1
- src/marimo_apps.py +2 -0
- uv.lock +10 -2
nb/prod_data.py
CHANGED
|
@@ -26,7 +26,7 @@ def _():
|
|
| 26 |
|
| 27 |
|
| 28 |
@app.cell
|
| 29 |
-
def _(ROOT, mo
|
| 30 |
df = mo.sql(
|
| 31 |
f"""
|
| 32 |
FROM '{ROOT / "data/isotopes.csv"}'
|
|
@@ -37,7 +37,7 @@ def _(ROOT, mo, null):
|
|
| 37 |
|
| 38 |
|
| 39 |
@app.cell
|
| 40 |
-
def _(alt,
|
| 41 |
df2 = mo.sql(
|
| 42 |
"""
|
| 43 |
SELECT *,
|
|
@@ -69,7 +69,6 @@ def _(alt, df, duckdb, mo):
|
|
| 69 |
""",
|
| 70 |
output=False,
|
| 71 |
)
|
| 72 |
-
# mo.as_html(df2)
|
| 73 |
ptable = (
|
| 74 |
alt.Chart(df2)
|
| 75 |
.mark_text(
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
@app.cell
|
| 29 |
+
def _(ROOT, mo):
|
| 30 |
df = mo.sql(
|
| 31 |
f"""
|
| 32 |
FROM '{ROOT / "data/isotopes.csv"}'
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
@app.cell
|
| 40 |
+
def _(alt, mo):
|
| 41 |
df2 = mo.sql(
|
| 42 |
"""
|
| 43 |
SELECT *,
|
|
|
|
| 69 |
""",
|
| 70 |
output=False,
|
| 71 |
)
|
|
|
|
| 72 |
ptable = (
|
| 73 |
alt.Chart(df2)
|
| 74 |
.mark_text(
|
pyproject.toml
CHANGED
|
@@ -11,7 +11,7 @@ dependencies = [
|
|
| 11 |
"granian>=2.6.0",
|
| 12 |
"httpx>=0.28.1",
|
| 13 |
"marimo>=0.18.4",
|
| 14 |
-
"pandas
|
| 15 |
"ruff>=0.14.9",
|
| 16 |
"sqlglot>=28.5.0",
|
| 17 |
]
|
|
|
|
| 11 |
"granian>=2.6.0",
|
| 12 |
"httpx>=0.28.1",
|
| 13 |
"marimo>=0.18.4",
|
| 14 |
+
"pandas<3",
|
| 15 |
"ruff>=0.14.9",
|
| 16 |
"sqlglot>=28.5.0",
|
| 17 |
]
|
src/marimo_apps.py
CHANGED
|
@@ -44,12 +44,14 @@ class MarimoApps:
|
|
| 44 |
from duckdb import __version__ as duckdb_version
|
| 45 |
from fastapi import __version__ as fastapi_version
|
| 46 |
from marimo import __version__ as marimo_version
|
|
|
|
| 47 |
from sys import version as python_version
|
| 48 |
|
| 49 |
versions = md(f"""/// details | Build details
|
| 50 |
marimo: {marimo_version}
|
| 51 |
FastAPI: {fastapi_version}
|
| 52 |
DuckDB: {duckdb_version}
|
|
|
|
| 53 |
python: {python_version}
|
| 54 |
///
|
| 55 |
""").style(position="fixed", bottom="24px", left="12px", width="100%")
|
|
|
|
| 44 |
from duckdb import __version__ as duckdb_version
|
| 45 |
from fastapi import __version__ as fastapi_version
|
| 46 |
from marimo import __version__ as marimo_version
|
| 47 |
+
from pandas import __version__ as pandas_version
|
| 48 |
from sys import version as python_version
|
| 49 |
|
| 50 |
versions = md(f"""/// details | Build details
|
| 51 |
marimo: {marimo_version}
|
| 52 |
FastAPI: {fastapi_version}
|
| 53 |
DuckDB: {duckdb_version}
|
| 54 |
+
pandas: {pandas_version}
|
| 55 |
python: {python_version}
|
| 56 |
///
|
| 57 |
""").style(position="fixed", bottom="24px", left="12px", width="100%")
|
uv.lock
CHANGED
|
@@ -1,6 +1,14 @@
|
|
| 1 |
version = 1
|
| 2 |
revision = 3
|
| 3 |
requires-python = ">=3.13"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
[[package]]
|
| 6 |
name = "altair"
|
|
@@ -381,7 +389,7 @@ wheels = [
|
|
| 381 |
|
| 382 |
[[package]]
|
| 383 |
name = "marimo-on-fastapi"
|
| 384 |
-
version = "0.1.
|
| 385 |
source = { virtual = "." }
|
| 386 |
dependencies = [
|
| 387 |
{ name = "altair" },
|
|
@@ -408,7 +416,7 @@ requires-dist = [
|
|
| 408 |
{ name = "granian", specifier = ">=2.6.0" },
|
| 409 |
{ name = "httpx", specifier = ">=0.28.1" },
|
| 410 |
{ name = "marimo", specifier = ">=0.18.4" },
|
| 411 |
-
{ name = "pandas", specifier = "
|
| 412 |
{ name = "ruff", specifier = ">=0.14.9" },
|
| 413 |
{ name = "sqlglot", specifier = ">=28.5.0" },
|
| 414 |
]
|
|
|
|
| 1 |
version = 1
|
| 2 |
revision = 3
|
| 3 |
requires-python = ">=3.13"
|
| 4 |
+
resolution-markers = [
|
| 5 |
+
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
| 6 |
+
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
| 7 |
+
"python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
| 8 |
+
"python_full_version < '3.14' and sys_platform == 'win32'",
|
| 9 |
+
"python_full_version < '3.14' and sys_platform == 'emscripten'",
|
| 10 |
+
"python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
| 11 |
+
]
|
| 12 |
|
| 13 |
[[package]]
|
| 14 |
name = "altair"
|
|
|
|
| 389 |
|
| 390 |
[[package]]
|
| 391 |
name = "marimo-on-fastapi"
|
| 392 |
+
version = "0.1.1"
|
| 393 |
source = { virtual = "." }
|
| 394 |
dependencies = [
|
| 395 |
{ name = "altair" },
|
|
|
|
| 416 |
{ name = "granian", specifier = ">=2.6.0" },
|
| 417 |
{ name = "httpx", specifier = ">=0.28.1" },
|
| 418 |
{ name = "marimo", specifier = ">=0.18.4" },
|
| 419 |
+
{ name = "pandas", specifier = "<3" },
|
| 420 |
{ name = "ruff", specifier = ">=0.14.9" },
|
| 421 |
{ name = "sqlglot", specifier = ">=28.5.0" },
|
| 422 |
]
|