From 76cfa9d74c8214709f7f76d749244e47f18d98b7 Mon Sep 17 00:00:00 2001 From: John Andersen Date: Mon, 10 Feb 2020 23:26:34 -0800 Subject: [PATCH] release: Version 0.3.3 Signed-off-by: John Andersen --- CHANGELOG.md | 3 +-- config/yaml/setup_common.py | 2 +- dffml/version.py | 2 +- examples/shouldi/setup_common.py | 2 +- feature/auth/setup.py | 2 +- feature/git/setup.py | 2 +- model/scikit/setup.py | 2 +- model/scratch/setup.py | 2 +- model/tensorflow/setup.py | 2 +- scripts/bump_deps.sh | 8 ++++++++ service/http/setup.py | 2 +- source/mysql/setup_common.py | 2 +- 12 files changed, 19 insertions(+), 12 deletions(-) create mode 100755 scripts/bump_deps.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 4980f85027..9d1f2ea339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.3.3] - 2020-02-10 ### Added - Moved from TensorFlow 1 to TensorFlow 2. - IDX Sources to read binary data files and train models on MNIST Dataset @@ -96,7 +96,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Automatic documentation deployment to GitHub Pages - Function to create a config class dynamically, analogous to `make_dataclass` - `ConfigLoaders` class which loads config files from a file or directory to a dictionary. - ### Changed - CLI tests and integration tests derive from `AsyncExitStackTestCase` - SciKit models now use the auto args and config methods. diff --git a/config/yaml/setup_common.py b/config/yaml/setup_common.py index 58a17917f4..5a55b0a951 100644 --- a/config/yaml/setup_common.py +++ b/config/yaml/setup_common.py @@ -11,7 +11,7 @@ AUTHOR_EMAIL = "john.s.andersen@intel.com" # Install dffml if it is not installed in development mode INSTALL_REQUIRES = [] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/dffml/version.py b/dffml/version.py index 7b46c5eada..7d1fc6f271 100644 --- a/dffml/version.py +++ b/dffml/version.py @@ -7,4 +7,4 @@ Version of DFFML """ -VERSION = "0.3.2" +VERSION = "0.3.3" diff --git a/examples/shouldi/setup_common.py b/examples/shouldi/setup_common.py index 3bdd57c4e2..34ca56d2b6 100644 --- a/examples/shouldi/setup_common.py +++ b/examples/shouldi/setup_common.py @@ -12,7 +12,7 @@ AUTHOR_EMAIL = "john.s.andersen@intel.com" # Install dffml if it is not installed in development mode INSTALL_REQUIRES = [] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/feature/auth/setup.py b/feature/auth/setup.py index 9a15139944..74e81fe74a 100644 --- a/feature/auth/setup.py +++ b/feature/auth/setup.py @@ -19,7 +19,7 @@ readme = f.read() INSTALL_REQUIRES = [] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/feature/git/setup.py b/feature/git/setup.py index 345a808668..e78bfb23a3 100644 --- a/feature/git/setup.py +++ b/feature/git/setup.py @@ -19,7 +19,7 @@ readme = f.read() INSTALL_REQUIRES = ["python-dateutil>=2.7.3"] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/model/scikit/setup.py b/model/scikit/setup.py index 12c97b63ad..237699a346 100644 --- a/model/scikit/setup.py +++ b/model/scikit/setup.py @@ -14,7 +14,7 @@ "joblib>=0.13.2", "pandas>=0.25.0", ] + ( - ["dffml>=0.3.2"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/model/scratch/setup.py b/model/scratch/setup.py index a0eea4d73d..3a9fdbb3a7 100644 --- a/model/scratch/setup.py +++ b/model/scratch/setup.py @@ -19,7 +19,7 @@ readme = f.read() INSTALL_REQUIRES = ["numpy>=1.16.4"] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/model/tensorflow/setup.py b/model/tensorflow/setup.py index 1dd9df11f4..ff4fb81f68 100644 --- a/model/tensorflow/setup.py +++ b/model/tensorflow/setup.py @@ -19,7 +19,7 @@ readme = f.read() INSTALL_REQUIRES = ["tensorflow>=2.0.0"] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/scripts/bump_deps.sh b/scripts/bump_deps.sh new file mode 100755 index 0000000000..aedc5f0764 --- /dev/null +++ b/scripts/bump_deps.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# Update all dependents of DFFML so that they require the latest version + +VERSION="$(dffml service dev setuppy kwarg version setup.py)" + +for file in $(git grep "dffml>=.*\\." | sed 's/:.*//g'); do + sed -i "s/dffml>=.*\"/dffml>=${VERSION}\"/g" "${file}"; +done diff --git a/service/http/setup.py b/service/http/setup.py index 91dc46e8ee..18848cb903 100644 --- a/service/http/setup.py +++ b/service/http/setup.py @@ -11,7 +11,7 @@ AUTHOR_EMAIL = "john.s.andersen@intel.com" # Install dffml if it is not installed in development mode INSTALL_REQUIRES = ["aiohttp>=3.5.4", "aiohttp_cors>=0.7.0"] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map( diff --git a/source/mysql/setup_common.py b/source/mysql/setup_common.py index a96a321311..5106ead363 100644 --- a/source/mysql/setup_common.py +++ b/source/mysql/setup_common.py @@ -11,7 +11,7 @@ AUTHOR_EMAIL = "kjlsudharsana@gmail.com" # Install dffml if it is not installed in development mode INSTALL_REQUIRES = [] + ( - ["dffml>=0.3.1"] + ["dffml>=0.3.3"] if not any( list( map(