Skip to content

Commit dcdfef3

Browse files
authored
chore: Bump build tools versions (#237)
Since the new setuptools version started giving deprecations, this commit also starts using the new license file format, see link. https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
1 parent 330c0e9 commit dcdfef3

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repos:
4444
- pytest==7.4.3
4545
- pydantic==1.10.13
4646
- hypothesis==6.99.12
47-
- types-setuptools==69.2.0.20240317
47+
- types-setuptools==78.1.0.20250329
4848
- types-requests==2.31.0.20240311
4949

5050
- repo: https://github.com/seddonym/import-linter
@@ -72,6 +72,6 @@ repos:
7272
- id: check-manifest
7373
args: ["--no-build-isolation"]
7474
additional_dependencies:
75-
- setuptools==75.1.0
76-
- setuptools-scm==8.1.0
77-
- wheel==0.44.0
75+
- setuptools==78.1.0
76+
- setuptools-scm==8.2.0
77+
- wheel==0.45.1

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ authors = [
44
{ name="Anton Agestam", email="anton.agestam@aiven.io" },
55
]
66
description = "Python data types for the Apache Kafka® Protocol."
7-
license = {text = "Apache-2.0 license"}
7+
license = "Apache-2.0"
8+
license-files = ["LICENSE", "NOTICE"]
89
requires-python = ">=3.11"
910
classifiers = [
1011
"Intended Audience :: Developers",
@@ -49,7 +50,7 @@ all = [
4950
"Bug Tracker" = "https://github.com/Aiven-Open/kio/issues"
5051

5152
[build-system]
52-
requires = ["setuptools==75.1.0", "setuptools-scm==8.1.0", "wheel==0.44.0"]
53+
requires = ["setuptools==78.1.0", "setuptools-scm==8.2.0", "wheel==0.45.1"]
5354
build-backend = "setuptools.build_meta"
5455

5556
[tool.setuptools]

0 commit comments

Comments
 (0)