question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version Information subcommand `manim version`

See original GitHub issue

Feature request

implement a manim version command.

What should the command do?

Tell you exactly which version of manim you are running. Either release number or commit-hash and date

Why?

It makes it easier to help people with their problems. It makes it easier to catch error arising due to multiple versions being installed locally.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
leotrscommented, Oct 13, 2020

@cobordism, the manim new you propose is already proposed and discussed #244. The wider issue of subcommands and the CLI interface is related to #452. The only subcommand we currently have is manim cfg, which already exports a user-wide cfg file.

So let’s keep this issue for discussing the version functionality. I am neutral as to whether this should be implemented as manim version or manim --version, though TBH the latter sounds more natural to me.

1reaction
leotrscommented, Oct 13, 2020

On every packaged release we have to include a version number. On a version that is not packaged (i.e. it has been installed by cloning the repo), you can just print the latest commit by asking git. No need to hard-code the commit hash.

OR we should investigate how “nightly” python packages do this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - Manim Community v0.17.1
Manim provides an extensive configuration system that allows it to adapt to many different use cases. There are many configuration options that can...
Read more >
manim/commands.py at main - render - GitHub
A community-maintained Python framework for creating mathematical animations. - manim/commands.py at main · ManimCommunity/manim.
Read more >
CLI flags and configuration - manim documentation
flag abbr function ‑‑help ‑h Show the help message and exit ‑‑version ‑v Display the version of manimgl ‑‑write_file ‑w Render the scene as a movie...
Read more >
Help formatting and themes - cloup v2.0 - Read the Docs
Context-level settings propagate to subcommands, while command-level settings ... (or a callable) that takes a string and returns a styled version of it....
Read more >
[PATCH 00/12] gnu: Add python-manim - Guix issue tracker
+ (file-name (git-file-name name version)). + (sha256. + (base32 ... + "This python module provides means to access information about physical.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found