aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Upgrade python to 3.13

Open jamshale opened this issue 2 months ago • 2 comments

jamshale avatar Oct 14 '25 21:10 jamshale

Just a note: once this is merged, there is a Ruff lint category that can be selected: "UP". It helps to automatically upgrade python syntax to abide by a target version.

So we can later add to the pyproject.toml:

[tool.ruff]
target-version = "py313"
lint.select = [
    "UP",  # pyupgrade (upgrade syntax)
]

And then ruff check --fix will automatically upgrade from old to the newer syntax, for the given target-version (e.g. things like Dict -> dict, List -> list, Optional[str] -> str | None -- because a lot of the typing imports are now deprecated).

Just mentioning because it's a nice lil feature for that to be done automatically.

ff137 avatar Dec 22 '25 17:12 ff137

This is updated with main. I removed the non python 3.13 compatible webpy library from the demo container. I'm not sure what this was for previously, but it isn't referenced anywhere in the project. Oddly, it installed earlier?

jamshale avatar Dec 22 '25 20:12 jamshale

@esune This and the plugin repo PR have been updated and need a new approval.

jamshale avatar Dec 22 '25 20:12 jamshale