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 --version support #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add --version support #155

wants to merge 1 commit into from

Conversation

acoffman
Copy link
Member

@acoffman acoffman commented Dec 19, 2024

I was trying to see if the version of civicpy installed on the new civic VM was correct, and realized there's no --version support. This adds that:

❯ ./venv/bin/civicpy --help
Usage: civicpy [OPTIONS] COMMAND [ARGS]...

Options:
  --version   Show the version and exit.
  -h, --help  Show this message and exit.

Commands:
  annotate-vcf  Annotate a VCF with information from CIViC
  create-vcf    Create a VCF file of CIViC variants
  update        Updates CIViC content from server and stores to local...

❯ ./venv/bin/civicpy --version
civicpy, version 4.0.1

Unrelated, but notable, I was not able to get backports-datetime-fromisoformat to install locally no matter what I tried. (I did only spend like 10 mins looking into it though).

Based on the README its "A backport of Python 3.11's datetime.fromisoformat methods to earlier versions of Python 3."

I'm guessing its too early to drop 3.10 support since it's not technically EOL yet, but once it is, maybe we should drop support for it and get rid of that dependency?

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.

1 participant