diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 704cba4..8a6c691 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'] steps: - uses: actions/checkout@v3 - name: Setup Python ${{ matrix.python }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3973ef4..1995bb5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.10' - name: Ensure latest pip run: python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index b2bcc54..10c76af 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,7 +15,6 @@ 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", @@ -36,7 +35,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,7 +85,7 @@ svg = "python docs/example_logging.py" [[tool.hatch.envs.test.matrix]] -python = ["37", "38", "39", "310","311", "312"] +python = ["310","311", "312", "313"] [tool.hatch.envs.test] dependencies = [ "pytest", 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 (