Repository: lincc-frameworks/nested-pandas (language: python)

Issue:
Add `__version__`
We should add the ability to see the package version.



Discussion / hints:

Fix patch:
diff --git a/src/nested_pandas/__init__.py b/src/nested_pandas/__init__.py
index f1a0430..c19ba67 100644
--- a/src/nested_pandas/__init__.py
+++ b/src/nested_pandas/__init__.py
@@ -1,3 +1,4 @@
+from ._version import __version__  # noqa
 from .nestedframe import NestedFrame
 from .nestedframe.io import read_parquet
 
@@ -5,4 +6,5 @@
 from .series.accessor import NestSeriesAccessor  # noqa: F401
 from .series.dtype import NestedDtype
 
+
 __all__ = ["NestedDtype", "NestedFrame", "read_parquet"]


Test patch:
diff --git a/tests/nested_pandas/test_packaging.py b/tests/nested_pandas/test_packaging.py
new file mode 100644
index 0000000..2e92c2d
--- /dev/null
+++ b/tests/nested_pandas/test_packaging.py
@@ -0,0 +1,6 @@
+import nested_pandas
+
+
+def test_version():
+    """Check to see that the version property returns something"""
+    assert nested_pandas.__version__ is not None