Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
"requests",
"requests-toolbelt",
"rich",
"pydantic>=2.11",
"pydantic>=2.11,<2.12",
"pydantic-settings",
"isodate",
"python-dateutil",
Expand Down Expand Up @@ -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",
]
Expand Down
2 changes: 1 addition & 1 deletion src/_incydr_sdk/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-present Code42 Software <integrations@code42.com>
#
# SPDX-License-Identifier: MIT
__version__ = "2.6.0"
__version__ = "2.7.0"