diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 704cba4..86b1e45 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 3973ef4..6933f36 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,12 +16,13 @@ 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 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: Build docs run: hatch run docs:build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 35fff59..8d8f44e 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 6881b17..8b4fafb 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 76cc33e..40ac690 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 b2bcc54..2c8bc00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "requests", "requests-toolbelt", "rich", - "pydantic>=2.11", + "pydantic>=2.11,<2.12", "pydantic-settings", "isodate", "python-dateutil", @@ -86,14 +86,14 @@ 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", "pytest-cov", "pytest-mock", "pytest-httpserver", - "click", + "click===8.1.8", "chardet", "python-dateutil", ] diff --git a/src/_incydr_sdk/__version__.py b/src/_incydr_sdk/__version__.py index 90bb7ee..8ab4e74 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"