I'm using uv to run Robyn and the tests. It has uncovered version differences between dependencies in the main pyproject.toml section and the poetry sections and with poetry.lock
To use the following with uv we need pyproject.toml updating:
This resolves the inconsistencies and compiles with python 3.12.7 and rust 1.82
Note that upgrading pytest to 8.3.3 prevents hundreds of warnings like this
.venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:921: 15 warnings
/home/dave/Code/Robyn/.venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:921: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation))
Your operating system
Linux
Your Python version (python --version)
3.12
Your Robyn version
main branch
Additional Info
This highlights that many robyn dependencies are very out of date. Please can we fix these as part of moving to support Python 3.13
Bug Description
I'm using uv to run Robyn and the tests. It has uncovered version differences between dependencies in the main pyproject.toml section and the poetry sections and with poetry.lock
To use the following with uv we need pyproject.toml updating:
uv run poetry install --with dev --with test
uv run maturin develop
uv run poetry run test_server
uv run pytest integration_tests
to
This resolves the inconsistencies and compiles with python 3.12.7 and rust 1.82
Note that upgrading pytest to 8.3.3 prevents hundreds of warnings like this
Your operating system
Linux
Your Python version (
python --version
)3.12
Your Robyn version
main branch
Additional Info
This highlights that many robyn dependencies are very out of date. Please can we fix these as part of moving to support Python 3.13