Skip to content

Commit

Permalink
v2020.9.11 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMontoya-TRI committed Sep 11, 2020
1 parent e9a3332 commit 8bb5c9b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change log
==========

v2020.9.11
----------
* Update dependencies
* Fix minor pathing bug in DFT experiments
* Update runner (beta) for running named campaigns

v2020.8.28
----------
* multi-purpose GPy-bsed batch-mode agent
Expand Down
4 changes: 2 additions & 2 deletions camd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from tqdm import tqdm as _tqdm


__version__ = "2020.8.28-post1"
__version__ = "2020.9.11"

CAMD_ROOT = os.path.dirname(os.path.abspath(__file__))
CAMD_TEST_FILES = os.path.join(CAMD_ROOT, "tests", "test_files")
Expand All @@ -25,4 +25,4 @@
if TQDM_OFF:
tqdm = partial(_tqdm, disable=TQDM_OFF)
else:
tqdm = _tqdm
tqdm = _tqdm
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
setup(
name='camd',
url="https://github.com/TRI-AMDD/CAMD",
version="2020.8.28-post1",
version="2020.9.11",
packages=find_packages(),
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
Expand Down Expand Up @@ -88,4 +88,4 @@
"density functional theory", "energy", "AI", "artificial intelligence",
"sequential learning", "active learning"
],
)
)
7 changes: 7 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ def update_changelog(ctx):
f.write(toks[0] + l + "".join(toks[1:]))
ctx.run("open CHANGES.md")

@task
def check_creds(ctx):
req_env_vars = ["TWINE_USERNAME", "TWINE_PASSWORD", "GITHUB_RELEASES_TOKEN"]
for env_var in req_env_vars:
assert os.environ.get(env_var), "{} is not set".format(env_var)


@task
def release(ctx, notest=False, nover=False):
Expand All @@ -123,6 +129,7 @@ def release(ctx, notest=False, nover=False):
:param notest: Whether to skip tests.
:param notest: Whether to skip autoversion (e. g. if tagging version).
"""
check_creds(ctx)
ctx.run("rm -r dist build camd.egg-info", warn=True)
if not nover:
set_ver(ctx)
Expand Down

0 comments on commit 8bb5c9b

Please sign in to comment.