#plausible :: Daggerverse

1 messages ยท Page 1 of 1 (latest)

marsh gyro
#

Interestingly if I call the module on its own it seems to work just fine :/

#

The instructionsin the changelog do not seem to work for me because I cant get past dagger develop

cyan veldt
#

@marsh gyro in your daggerverse/plausible I ran dagger develop with v0.13.0 which succeeded for me.

marsh gyro
dreamy trench
#

fyi @lethal trench this looks related to uv?

lethal trench
#

It's possible the older version didn't pick up on the issue here with the plausible Module. The problem is that there's a dependency in pyproject.toml for requests, but it's not in the requirements.lock file. If there's a lock file, the runtime will install from the lock and it's now correctly validating that the required dependency isn't installed:

Checked 37 packages in 0.99ms
Found 1 incompatibility
The package `main` requires `requests`, but it's not installed

If you dagger develop, the runtime will update the requirements.lock file for you, even if you use v0.12.7. That's what fixes it. However, you can also update the lock with uv directly, or even switch to uv.lock in v0.13.0.

dreamy trench
#

๐Ÿ™ indeed, that does look to be the issue, thanks ๐ŸŽ‰

marsh gyro
lethal trench
marsh gyro
lethal trench
#

Yep

marsh gyro
#

Thanks, will do that!

marsh gyro
#

thanks again @lethal trench that did the trick, im all set now.

lethal trench
#

From now on, for new dependencies, you can just do uv add requests and that'll update pyproject.toml, uv.lock, install it in the .venv (create it if it doesn't exist too), and you're ready to go ๐Ÿ™‚

marsh gyro
#

What If I dont use uv :p ?

lethal trench
#

That's up to you ๐Ÿ™‚

#

Not a requirement

marsh gyro
#

But sounds like it really improves the world, ill give it a shot

lethal trench
lethal trench
#

It's what I've been waiting for a very long time in the Python ecosystem!

marsh gyro
#

Doesn't it break your heart that its in rust though?

Feels like when Linux was using a proprietary vcs system in the pre-git days haha

lethal trench
#

No, not at all!

marsh gyro
#

Haha, I need to change my mindset then ๐Ÿ˜„