diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index f3195136..b6705923 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,3 +1,5 @@ +## Release 0.2.3 (development release) + ## Release 0.2.2 (current release) ### New features since last release diff --git a/include/jet/Version.hpp b/include/jet/Version.hpp index 15ad0efc..99845d0c 100644 --- a/include/jet/Version.hpp +++ b/include/jet/Version.hpp @@ -11,7 +11,7 @@ constexpr size_t MAJOR_VERSION = 0; constexpr size_t MINOR_VERSION = 2; /// Patch version number of Jet. -constexpr size_t PATCH_VERSION = 2; +constexpr size_t PATCH_VERSION = 3; /** * @brief Returns the current Jet version. @@ -23,6 +23,6 @@ std::string Version() const auto major = std::to_string(MAJOR_VERSION); const auto minor = std::to_string(MINOR_VERSION); const auto patch = std::to_string(PATCH_VERSION); - return major + "." + minor + "." + patch; + return major + "." + minor + "." + patch + "-dev"; } } // namespace Jet \ No newline at end of file diff --git a/python/tests/test_version.py b/python/tests/test_version.py index 9e1170f2..6ccbeea9 100644 --- a/python/tests/test_version.py +++ b/python/tests/test_version.py @@ -6,7 +6,7 @@ class TestVersion: def test_attribute(self): """Tests that the version attribute has the correct form.""" - semver_pattern = re.compile(r"^\d+\.\d+\.\d+$") + semver_pattern = re.compile(r"^\d+\.\d+\.\d+(-\S+)?$") assert semver_pattern.match(jet.__version__) def test_function(self): diff --git a/setup.py b/setup.py index abca8147..71e4e7b5 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ def build_extension(self, ext): major = re.search(r"MAJOR_VERSION\s*=\s*(\d+)", contents).group(1) minor = re.search(r"MINOR_VERSION\s*=\s*(\d+)", contents).group(1) patch = re.search(r"PATCH_VERSION\s*=\s*(\d+)", contents).group(1) - version = f"{major}.{minor}.{patch}" + version = f"{major}.{minor}.{patch}-dev" requirements = [ # Necessary until https://github.com/numba/numba/issues/7176 is resolved.