Skip to content

Commit

Permalink
Versioning (#183)
Browse files Browse the repository at this point in the history
* placeholder version for now

* add dynamic versioining
  • Loading branch information
ismael-mendoza authored Jul 16, 2021
1 parent d3fcfa9 commit 010c7dc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: |
pip install --upgrade pip
pip install poetry
pip install poetry-dynamic-versioning
- name: Poetry cache
uses: actions/cache@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: |
pip install --upgrade pip
pip install poetry
pip install poetry-dynamic-versioning
- name: Poetry cache
uses: actions/cache@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: |
pip install --upgrade pip
pip install poetry
pip install poetry-dynamic-versioning
- name: Create environment variables
run: echo "BTK_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion btk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
__author__ = "btk developers"
__email__ = "[email protected]"
__version__ = "0.0.1a5"
__version__ = "0.0.0"

from . import catalog
from . import create_blend_generator
Expand Down
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name = "blending_toolkit"
packages = [{include = "btk"}]
readme = "README.md"
repository = "https://github.com/LSSTDESC/BlendingToolKit"
version = "0.0.1-alpha.5"
version = "0.0.0"

[tool.poetry.dependencies]
astropy = "^4.2"
Expand All @@ -32,13 +32,13 @@ galsim-hub = {version = "^0.0.1-rc.4", python = "~3.7", optional = true}
hydra-core = "^1.0.6"
matplotlib = "^3.3.3"
numpy = "^1.18.5"
pandas = "^1.2.5"
python = "^3.7.1"
scikit-image = "^0.18.0"
scipy = "^1.4.1"
seaborn = "^0.11.1"
sep = "^1.1.1"
tensorflow = {version = "1.15.5", python = "~3.7", optional = true}
pandas = "^1.2.5"
seaborn = "^0.11.1"

[tool.poetry.dev-dependencies]
Cython = "^0.29.21"
Expand All @@ -63,6 +63,11 @@ btk = "btk.__main__:run"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/LSSTDESC/BlendingToolKit/issues"

[tool.poetry-dynamic-versioning]
enable = true
style = "semver"
vcs = "git"

[tool.black]
line-length = 100
target-version = ['py37']
Expand All @@ -72,4 +77,4 @@ galsim-hub = ["galsim-hub", "tensorflow"]

[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]

0 comments on commit 010c7dc

Please sign in to comment.