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

Move to uv #21

Merged
merged 18 commits into from
Dec 22, 2024
Merged

Move to uv #21

merged 18 commits into from
Dec 22, 2024

Conversation

m-naumann
Copy link
Member

@m-naumann m-naumann commented Dec 18, 2024

This PR moves the project to uv, which is fast and has a better dependency management (in the sense that it automatically fixes exact versions). Also, it moves to astrals linter and formatter ruff.

@m-naumann m-naumann changed the title Move to uv Move to uv Dec 18, 2024
@m-naumann m-naumann enabled auto-merge (squash) December 18, 2024 00:36
@annikajuliabaetz
Copy link
Contributor

Hallo Max,
bei mir machen die Visualisierungen mit vizard in den Notebooks Probleme. Die Visualisierungen werden erzeugt, man kann aber nicht mit ihnen interagieren (e.g. Schieberegler benutzen).

[.../src/behavior_generation_lecture_python/utils/vizard/vizard.py:84): UserWarning: frames=<bound method Vizard.frames of <behavior_generation_lecture_python.utils.vizard.vizard.Vizard object at 0x7f9ef09e3910>> which we can infer the length of, did not pass an explicit *save_count* and passed cache_frame_data=True.  To avoid a possibly unbounded cache, frame data caching has been disabled. To suppress this warning either pass `cache_frame_data=False` or `save_count=MAX_FRAMES`.
  anim = FuncAnimation(

Ich habe die Virtual Environment mit uv sync aufgesetzt und arbeite in VS Code.

@m-naumann
Copy link
Member Author

@annikajuliabaetz thanks for trying it out, I fixed the warnings, and also set the widgets to interactive mode when not in CI. Could you check again?

@annikajuliabaetz
Copy link
Contributor

Thanks Max,
now everything is working :)

Copy link

📚 Docs

Created temporary docs.

@m-naumann m-naumann disabled auto-merge December 22, 2024 12:12
@m-naumann m-naumann merged commit 79d960f into main Dec 22, 2024
2 checks passed
@m-naumann m-naumann deleted the public_main branch December 22, 2024 12:32
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

Successfully merging this pull request may close these issues.

2 participants