Skip to content

Commit d7986a0

Browse files
committed
Setuptools 80.10.1
1 parent 8674184 commit d7986a0

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Changelog
55
Unreleased
66
----------
77

8+
* Bumped ``setuptools`` to 80.10.1 to fix CVE-2026-23949.
9+
810
* Add retry logic with exponential backoff for webhooks on transient failures.
911

1012
2.56.0 (2026-01-12)

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
ARG SETUPTOOLS_VERSION=80.10.1
2+
13
# Build container
24
FROM python:3.12-slim AS build
35

6+
ARG SETUPTOOLS_VERSION
7+
48
RUN mkdir -pv /src
59

610
WORKDIR /src
@@ -9,7 +13,7 @@ RUN apt-get update && \
913
apt-get install git -y
1014

1115
COPY . /src
12-
RUN python -m pip install -U setuptools==78.1.1 && \
16+
RUN python -m pip install -U setuptools==${SETUPTOOLS_VERSION} && \
1317
python setup.py clean bdist_wheel
1418

1519

@@ -21,6 +25,8 @@ LABEL license="Apache License 2.0" \
2125
name="CrateDB Kubernetes Operator" \
2226
repository="crate/crate-operator"
2327

28+
ARG SETUPTOOLS_VERSION
29+
2430
WORKDIR /etc/cloud
2531
RUN useradd -U -M crate-operator
2632

@@ -31,7 +37,7 @@ RUN apt-get update && \
3137

3238
COPY --from=build /src/dist /wheels
3339

34-
RUN pip install --no-cache-dir -U pip wheel setuptools==78.1.1 && \
40+
RUN pip install --no-cache-dir -U pip wheel setuptools==${SETUPTOOLS_VERSION} && \
3541
pip install --no-cache-dir /wheels/*.whl && \
3642
rm -rf /wheels && \
3743
ln -s "$(python -c "import pkgutil; main = pkgutil.get_loader('crate.operator.main'); print(main.path)")"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ target-version = ['py313']
33
line-length = 88
44

55
[build-system]
6-
requires = ["setuptools>=78.1.1", "wheel", "setuptools_scm>=6.2"]
6+
requires = ["setuptools>=80.10.1", "wheel", "setuptools_scm>=8.1.0"]
77

88
[tool.setuptools_scm]
99

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def read(path: str) -> str:
4747
packages=find_namespace_packages(include=["crate.*"]),
4848
include_package_data=True,
4949
package_data={"crate.operator": ["data/*"]},
50-
setup_requires=["setuptools>=78.1.1", "setuptools_scm>=8.1.0"],
50+
setup_requires=["setuptools>=80.10.1", "setuptools_scm>=8.1.0"],
5151
install_requires=[
5252
"aiopg==1.4.0",
5353
"bitmath==1.3.3.1",

0 commit comments

Comments
 (0)