Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uv to depedencies? #1357

Closed
Jojo144 opened this issue Dec 24, 2024 · 5 comments
Closed

Add uv to depedencies? #1357

Jojo144 opened this issue Dec 24, 2024 · 5 comments

Comments

@Jojo144
Copy link
Contributor

Jojo144 commented Dec 24, 2024

Hi,
Running make serve on my ubuntu laptop to test last changes leads to:

uv run --extra dev pybabel compile -d ihatemoney/translations
make: uv: Aucun fichier ou dossier de ce nom
make: *** [Makefile:55 : build-translations] Erreur 127

Should we add uv in the dependencies? What is the recommended way to install it?

Thanks.

@almet
Copy link
Member

almet commented Dec 24, 2024

Hi, and thanks for opening an issue.

This is because of the recent merge of #1329 which uses uv. On ubuntu, follow the instructions in there to install: https://docs.astral.sh/uv/getting-started/installation/#standalone-installer

@almet
Copy link
Member

almet commented Dec 24, 2024

Should we add uv in the dependencies? What is the recommended way to install it?

We should definitely find a way to document this, as it's basically now a required step to develop, using the makefile.

@Jojo144
Copy link
Contributor Author

Jojo144 commented Dec 25, 2024

But what is the recommended way to install it:

  • either system wide
  • or in the venv using the pip package?

@almet
Copy link
Member

almet commented Dec 25, 2024

It's better to install it system wide, as it's something that will manage your virtualenvs and python environmnent. You can see it as a replacement for pip :-)

@Jojo144
Copy link
Contributor Author

Jojo144 commented Dec 25, 2024

Fixed by #1358

@Jojo144 Jojo144 closed this as completed Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants