Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning #183

Merged
merged 2 commits into from
Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]