Skip to content

Commit

Permalink
chore: updated core version manager to regex_commit from hatch-vcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Jun 22, 2024
1 parent b265efa commit 650a75f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ All notable changes to this project will be documented in this file.
- Tests fixed. 2 more to go. error: Romve the forks is not working properly maybe
- Fixed 9 tests & all of them are passing
- All workflow erros fixed
- Fixed typo in build workflow
- Fixed workflow to install bee-factory properly
- Updated worflows to run only on linux

### 📚 Documentation

- Fixed authors.md
- Fixing authors.md
- Fixing authors.md
- Fixed other doc files

### 🧪 Testing

Expand All @@ -20,6 +30,12 @@ All notable changes to this project will be documented in this file.
- Integeration test setup done & first test added
- Updated workflows to setup bee test node & run tests on windwos, mac & linux
- Updated workflows to skip integration tests on windows
- Don't need to run tests again for release if the build tests are passed
- Updated workflows to run integration tests only on linux
- Fixed workflows to run run bee test node for linux only
- Conftest.py updated
- Trying to fix issues with macOS workflow
- Updated conftest.py file fixtures & removed autouse attribute

### ⚙️ Miscellaneous Tasks

Expand Down
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ allow-direct-references = true
##############

[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "no-guess-dev" }
source = "regex_commit"
commit_extra_args = ["-e"]
path = "src/mantaray_py/__version__.py"


[tool.hatch.build.hooks.vcs]
version-file = "src/mantaray_py/_version.py"


##################
# External Tools #
Expand Down Expand Up @@ -254,7 +252,7 @@ python = ["3.9", "3.10", "3.11", "3.12"]
#########

[build-system]
requires = ["hatchling", "hatch-vcs"]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.sdist]
Expand Down
5 changes: 5 additions & 0 deletions src/mantaray_py/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Project Version
"""

__version__ = "0.0.1"

0 comments on commit 650a75f

Please sign in to comment.