MAINT: lack of `__version__`

Open Beginner friendly
#110 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start by inspecting the package entry point and packaging metadata to see how GFDL's version is currently defined. Expose that version through the imported gfdl module and verify that importing gfdl.version returns the package version.

Written by the indexing model from the issue text.

Description

maintenance

It is fairly standard to provide __version__ for a library/package, but we currently do not. Version handling for libraries/packing can actually be a little tricky sometimes. Nonetheless, it would probably make sense to do. I noticed this recently (today) while working on some numerical experiments:

>>> import gfdl
>>> gfdl.__version__
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    gfdl.__version__
AttributeError: module 'gfdl' has no attribute '__version__'
>>> import scipy
>>> scipy.__version__
'1.17.1'
>>> import sklearn
>>> sklearn.__version__
'1.8.0'
>>> 
Dominant language
Python
Stars
3
Forks
5
Avg merge
7d 3h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lanl/GFDL

All issues in lanl/GFDL

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.