From a571975a579ca5f973fdb5df258b3cb18515cfe5 Mon Sep 17 00:00:00 2001 From: Milo Banks Date: Thu, 23 Jan 2025 10:50:24 -0700 Subject: [PATCH] Bump PyPi version to `0.6.0` from `0.0.1` (#70) * [pypa] * [0.3.0] bump to core version parity * [pypa] * [pytest] bump basic version test * [version] -> * Revert "[pypa]" This reverts commit 3ec18411ce33f680173e110d2baa13a9cfb1aae2. * [meta] change project version * [gitignore] revert --- docs/conf.py | 4 ++-- pyproject.toml | 4 ++-- tests/test_basic.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a540a6c..0a8d72b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,9 +60,9 @@ # built documents. # # The short X.Y version. -version = '0.0.1' +version = '0.6.0-0' # The full version, including alpha/beta/rc tags. -release = '0.0.1' +release = '0.6.0-0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index 7230841..7c1df42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["scikit-build-core>=0.3.3", "pybind11"] +requires = ["scikit-build-core>=0.10", "pybind11"] build-backend = "scikit_build_core.build" [project] name = "epiworldpy" -version = "0.0.1" +version = "0.6.0-0" description = "Python bindings for epiworld" readme = "README.md" requires-python = ">=3.7" diff --git a/tests/test_basic.py b/tests/test_basic.py index a51982d..e2a5e46 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -1,4 +1,4 @@ -import epiworldpy as epiworld +from importlib.metadata import version def test_version(): - assert epiworld.__version__ == "0.0.1" + assert version('epiworldpy') == "0.6.0.post0"