From 4847df86364467f304fbb47f1d99b96ce1d1a318 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Thu, 13 Nov 2025 10:14:46 -0500 Subject: [PATCH 1/5] release 2.7.0 ensure click version in workflows --- .github/workflows/build.yml | 5 ++++- .github/workflows/docs.yml | 4 ++-- .github/workflows/publish.yml | 3 +++ .github/workflows/style.yml | 5 ++++- CHANGELOG.md | 2 +- pyproject.toml | 4 ++-- src/_incydr_sdk/__version__.py | 2 +- 7 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 704cba46..86b1e45d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,9 +24,12 @@ jobs: - name: Ensure latest pip run: python -m pip install --upgrade pip + - name: Install click + run: pip install click===8.1.8 + - name: Install hatch run: | - pip install hatch==1.3.1 + pip install hatch==1.14.0 pip install . - name: Run tests diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3973ef4a..2b43444f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,12 +16,12 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.13' - name: Ensure latest pip run: python -m pip install --upgrade pip - name: Install hatch - run: pip install hatch==1.3.1 + run: pip install hatch==1.14.0 - name: Build docs run: hatch run docs:build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 35fff59d..8d8f44e5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,9 @@ jobs: - name: Ensure latest pip run: python -m pip install --upgrade pip + - name: Install click + run: pip install click===8.1.8 + - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 6881b17b..8b4fafb5 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -21,8 +21,11 @@ jobs: - name: Ensure latest pip run: python -m pip install --upgrade pip + - name: Install click + run: pip install click===8.1.8 + - name: Install hatch - run: pip install hatch==1.3.1 + run: pip install hatch==1.14.0 - name: Run style checks run: hatch run style:check diff --git a/CHANGELOG.md b/CHANGELOG.md index 76cc33ec..40ac6909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ how a consumer would use the library or CLI tool (e.g. adding unit tests, updating documentation, etc) are not captured here. -## Unreleased +## 2.7.0 - 2025-11-13 ### Updated - The Incydr SDK and CLI now rely on Pydantic v2, instead of previously when they used v1. This means that the methods available on the models accepted and returned by many SDK methods have changed in some small ways. For most SDK and CLI workflows, no changes will need to be made to accommodate this upgrade. Details of the transition may be found [in Pydantic's documentation](https://docs.pydantic.dev/dev/migration/). diff --git a/pyproject.toml b/pyproject.toml index b2bcc547..eaae9336 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "requests", "requests-toolbelt", "rich", - "pydantic>=2.11", + "pydantic>=2.11.7", "pydantic-settings", "isodate", "python-dateutil", @@ -86,7 +86,7 @@ svg = "python docs/example_logging.py" [[tool.hatch.envs.test.matrix]] -python = ["37", "38", "39", "310","311", "312"] +python = ["39", "310","311", "312"] [tool.hatch.envs.test] dependencies = [ "pytest", diff --git a/src/_incydr_sdk/__version__.py b/src/_incydr_sdk/__version__.py index 90bb7eec..8ab4e740 100644 --- a/src/_incydr_sdk/__version__.py +++ b/src/_incydr_sdk/__version__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2022-present Code42 Software # # SPDX-License-Identifier: MIT -__version__ = "2.6.0" +__version__ = "2.7.0" From d6a25dcada4319e0473c5513b5b17bbdf4cefb84 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Thu, 13 Nov 2025 11:19:00 -0500 Subject: [PATCH 2/5] pin pydantic specific version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eaae9336..27208fb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "requests", "requests-toolbelt", "rich", - "pydantic>=2.11.7", + "pydantic===2.11.7", "pydantic-settings", "isodate", "python-dateutil", From 47ed3fe95294cc00dcdb5f7c7a126fb0ffb7623d Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Thu, 13 Nov 2025 11:43:02 -0500 Subject: [PATCH 3/5] pin click in tests --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 27208fb6..f186cb7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,7 +93,7 @@ dependencies = [ "pytest-cov", "pytest-mock", "pytest-httpserver", - "click", + "click===8.1.8", "chardet", "python-dateutil", ] From 3e072d6cc220eb8501e7f7d1085a7ee5e9094888 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Thu, 13 Nov 2025 11:46:46 -0500 Subject: [PATCH 4/5] include click in docs --- .github/workflows/docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2b43444f..6933f368 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,7 +20,8 @@ jobs: - name: Ensure latest pip run: python -m pip install --upgrade pip - + - name: Install click + run: pip install click==8.1.8 - name: Install hatch run: pip install hatch==1.14.0 - name: Build docs From 05eed8fd59f019fc9e079dd84a18b6ee8b6ebe02 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Thu, 13 Nov 2025 11:54:28 -0500 Subject: [PATCH 5/5] loosen pydantic version restriction --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f186cb7e..2c8bc007 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "requests", "requests-toolbelt", "rich", - "pydantic===2.11.7", + "pydantic>=2.11,<2.12", "pydantic-settings", "isodate", "python-dateutil",