Skip to content

Commit 0c7d4ce

Browse files
Merge pull request #159 from code42/INTEG-2942/click-upgrade
Integ 2942/click upgrade
2 parents 25c204e + 9bf663d commit 0c7d4ce

7 files changed

Lines changed: 19 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
16+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Setup Python ${{ matrix.python }}
@@ -25,7 +25,7 @@ jobs:
2525
run: python -m pip install --upgrade pip
2626

2727
- name: Install click
28-
run: pip install click===8.1.8
28+
run: pip install click>=8.2
2929

3030
- name: Install hatch
3131
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Ensure latest pip
2222
run: python -m pip install --upgrade pip
2323
- name: Install click
24-
run: pip install click==8.1.8
24+
run: pip install click>=8.2
2525
- name: Install hatch
2626
run: pip install hatch
2727
- name: Build docs

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: python -m pip install --upgrade pip
1919

2020
- name: Install click
21-
run: pip install click===8.1.8
21+
run: pip install click>=8.2
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: python -m pip install --upgrade pip
2323

2424
- name: Install click
25-
run: pip install click===8.1.8
25+
run: pip install click>=8.2
2626

2727
- name: Install hatch
2828
run: pip install hatch

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
how a consumer would use the library or CLI tool (e.g. adding unit tests, updating documentation, etc) are not captured
1010
here.
1111

12+
## Unreleased
13+
14+
### Added
15+
- Added support for python 3.14
16+
17+
### Removed
18+
- Removed support for python 3.9
19+
1220
## 2.12.0 - 2026-05-04
1321

1422
### Added

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
name = "incydr"
77
description = "Code42's Incydr Python SDK"
88
readme = "README.md"
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10"
1010
license = "MIT"
1111
keywords = []
1212
authors = [
@@ -15,11 +15,11 @@ authors = [
1515
classifiers = [
1616
"Development Status :: 4 - Beta",
1717
"Programming Language :: Python",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
]
@@ -36,7 +36,7 @@ dependencies = [
3636
dynamic = ["version"]
3737

3838
[project.optional-dependencies]
39-
cli = ["click==8.1.*", "chardet"]
39+
cli = ["click>=8.2", "chardet"]
4040

4141
[project.urls]
4242
Documentation = "https://github.com/code42/incydr_python#readme"
@@ -86,14 +86,14 @@ svg = "python docs/example_logging.py"
8686

8787

8888
[[tool.hatch.envs.test.matrix]]
89-
python = ["39", "310","311", "312"]
89+
python = ["310","311", "312", "313", "314"]
9090
[tool.hatch.envs.test]
9191
dependencies = [
9292
"pytest",
9393
"pytest-cov",
9494
"pytest-mock",
9595
"pytest-httpserver",
96-
"click===8.1.8",
96+
"click>=8.2",
9797
"chardet",
9898
"python-dateutil",
9999
]

src/_incydr_cli/rich_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _print_options_panel(
350350

351351
# Column for a metavar, if we have one
352352
metavar = Text(style=STYLE_METAVAR, overflow="fold")
353-
metavar_str = param.make_metavar()
353+
metavar_str = param.make_metavar(ctx=ctx)
354354

355355
# Do it ourselves if this is a positional argument
356356
if (

0 commit comments

Comments
 (0)