From a83c228d86e36573bc2c9f6759893933ca7f1c9a Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Wed, 18 May 2022 10:10:51 -0500 Subject: [PATCH 1/6] bump version & changelog --- CHANGELOG.md | 2 +- src/code42cli/__version__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6115ad4..7b84b58a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ The intended audience of this file is for py42 consumers -- as such, changes tha how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here. -## Unreleased +## 1.14.0 - 2022-05-18 ### Added diff --git a/src/code42cli/__version__.py b/src/code42cli/__version__.py index 9a34ccc9..b9f68edb 100644 --- a/src/code42cli/__version__.py +++ b/src/code42cli/__version__.py @@ -1 +1 @@ -__version__ = "1.13.0" +__version__ = "1.14.0" From 5f8fbb01cfcf828ffcd44bc39167ffea4db73a4e Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Wed, 18 May 2022 10:11:07 -0500 Subject: [PATCH 2/6] style miss --- src/code42cli/cmds/departing_employee.py | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/code42cli/cmds/departing_employee.py b/src/code42cli/cmds/departing_employee.py index 50c43216..5a683f45 100644 --- a/src/code42cli/cmds/departing_employee.py +++ b/src/code42cli/cmds/departing_employee.py @@ -37,13 +37,19 @@ def _get_filter_choices(): ) -@click.group(cls=OrderedGroup, help=f"{DEPRECATION_TEXT}\n\nAdd and remove employees from the Departing Employees detection list.") +@click.group( + cls=OrderedGroup, + help=f"{DEPRECATION_TEXT}\n\nAdd and remove employees from the Departing Employees detection list.", +) @sdk_options(hidden=True) def departing_employee(state): pass -@departing_employee.command("list", help=f"{DEPRECATION_TEXT}\n\nLists the users on the Departing Employees list.") +@departing_employee.command( + "list", + help=f"{DEPRECATION_TEXT}\n\nLists the users on the Departing Employees list.", +) @sdk_options() @format_option @filter_option @@ -57,7 +63,9 @@ def _list(state, format, filter): ) -@departing_employee.command(help=f"{DEPRECATION_TEXT}\n\nAdd a user to the Departing Employees detection list.") +@departing_employee.command( + help=f"{DEPRECATION_TEXT}\n\nAdd a user to the Departing Employees detection list." +) @username_arg @click.option( "--departure-date", @@ -73,7 +81,9 @@ def add(state, username, cloud_alias, departure_date, notes): _add_departing_employee(state.sdk, username, cloud_alias, departure_date, notes) -@departing_employee.command(help=f"{DEPRECATION_TEXT}\n\nRemove a user from the Departing Employees detection list.") +@departing_employee.command( + help=f"{DEPRECATION_TEXT}\n\nRemove a user from the Departing Employees detection list." +) @username_arg @sdk_options() def remove(state, username): @@ -81,7 +91,10 @@ def remove(state, username): _remove_departing_employee(state.sdk, username) -@departing_employee.group(cls=OrderedGroup, help=f"{DEPRECATION_TEXT}\n\nTools for executing bulk departing employee actions.") +@departing_employee.group( + cls=OrderedGroup, + help=f"{DEPRECATION_TEXT}\n\nTools for executing bulk departing employee actions.", +) @sdk_options(hidden=True) def bulk(state): pass From 4c94b96fd699dd137dbd99df84e832376de9f1a3 Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Wed, 18 May 2022 10:11:24 -0500 Subject: [PATCH 3/6] add python 3.9 and 3.10 to tox --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index cbcfef1d..09971cbd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,37,36} + py{310,39,38,37,36} docs style skip_missing_interpreters = true From c49b7cc9cd06cd451155c53cec4e277f80ddf794 Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Wed, 18 May 2022 10:14:34 -0500 Subject: [PATCH 4/6] add python 3.9 and 3.10 to github builds --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5e93ec3..708cd86e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.6, 3.7, 3.8] + python: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - uses: actions/checkout@v2 From 6f95515d632cc45d4400fb104d55948012fa8d89 Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Wed, 18 May 2022 11:40:32 -0500 Subject: [PATCH 5/6] remove 3.10 for now --- .github/workflows/build.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 708cd86e..688324d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.6, 3.7, 3.8, 3.9, 3.10] + python: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index 09971cbd..9904dcbd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{310,39,38,37,36} + py{39,38,37,36} docs style skip_missing_interpreters = true From b8c264096272ce60d04b5e9afe1be41bdcc83378 Mon Sep 17 00:00:00 2001 From: "tim.abramson" Date: Thu, 19 May 2022 15:38:51 -0500 Subject: [PATCH 6/6] correct release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b84b58a..9b8ea622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ The intended audience of this file is for py42 consumers -- as such, changes tha how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here. -## 1.14.0 - 2022-05-18 +## 1.14.0 - 2022-05-19 ### Added