#No, see this: https://deploy-preview-

1 messages · Page 1 of 1 (latest)

ivory wedge
#

Nice. I missed these docs, are they not publically released yet?

#

(trying to be a little hipster for this spike and using rye on it)

quaint shard
#

Yeah, should work with rye. Haven't tried it yet.

ivory wedge
#

supposedly they support pip so I am guessing yes as well

quaint shard
#

Rye doesn't need to support pip, they need PEP 517, which means a build backend in pyproject.toml. Default backend is just the build package.

#

That's if rye builds python packages like poetry. Otherwise it's just your local tool, and doesn't affect the module at runtime.

ivory wedge
#

If i did want to use Rye, would I need to actually modify the 3.11 python runtime container that dagger is using?

Like in other SDKs, Python modules run in a container (called the runtime container) that’s bootstrapped specifically by the Python SDK, with the necessary environment to run the module’s code. It’s currently hardcoded to run in Python 3.11, but we plan on it being configurable at some point.

#

or is this simply a matter of installing rye into the container and specifying the correct build backend in pyproject.toml

quaint shard
#

Let me brush up on rye for a moment, so I give a proper answer 🙂

ivory wedge
#

fwiw, i think i got something working

quaint shard
#

The runtime container won't run rye.