diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7e96b2..e89d945 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v3 - name: Setup Python ${{ matrix.python }} @@ -25,7 +25,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install click - run: pip install click===8.1.8 + run: pip install click>=8.2 - name: Install hatch run: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d60cbde..2b3d474 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ jobs: - name: Ensure latest pip run: python -m pip install --upgrade pip - name: Install click - run: pip install click==8.1.8 + run: pip install click>=8.2 - name: Install hatch run: pip install hatch - name: Build docs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d8f44e..bbd8800 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install click - run: pip install click===8.1.8 + run: pip install click>=8.2 - name: Install dependencies run: | diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index ef06d52..cbc926f 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -22,7 +22,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install click - run: pip install click===8.1.8 + run: pip install click>=8.2 - name: Install hatch run: pip install hatch diff --git a/CHANGELOG.md b/CHANGELOG.md index aca603e..2a9a667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ how a consumer would use the library or CLI tool (e.g. adding unit tests, updating documentation, etc) are not captured here. +## Unreleased + +### Added +- Added support for python 3.14 + +### Removed +- Removed support for python 3.9 + ## 2.12.0 - 2026-05-04 ### Added diff --git a/pyproject.toml b/pyproject.toml index 2a5359e..1317e4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" name = "incydr" description = "Code42's Incydr Python SDK" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" license = "MIT" keywords = [] authors = [ @@ -15,11 +15,11 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -36,7 +36,7 @@ dependencies = [ dynamic = ["version"] [project.optional-dependencies] -cli = ["click==8.1.*", "chardet"] +cli = ["click>=8.2", "chardet"] [project.urls] Documentation = "https://github.com/code42/incydr_python#readme" @@ -86,14 +86,14 @@ svg = "python docs/example_logging.py" [[tool.hatch.envs.test.matrix]] -python = ["39", "310","311", "312"] +python = ["310","311", "312", "313", "314"] [tool.hatch.envs.test] dependencies = [ "pytest", "pytest-cov", "pytest-mock", "pytest-httpserver", - "click===8.1.8", + "click>=8.2", "chardet", "python-dateutil", ] diff --git a/src/_incydr_cli/rich_utils.py b/src/_incydr_cli/rich_utils.py index 560564d..d8c81c8 100644 --- a/src/_incydr_cli/rich_utils.py +++ b/src/_incydr_cli/rich_utils.py @@ -350,7 +350,7 @@ def _print_options_panel( # Column for a metavar, if we have one metavar = Text(style=STYLE_METAVAR, overflow="fold") - metavar_str = param.make_metavar() + metavar_str = param.make_metavar(ctx=ctx) # Do it ourselves if this is a positional argument if (