Compare commits

...

4 Commits

Author SHA1 Message Date
dependabot[bot]
109da83683
Merge 0f6fabb48c9e963a0b4aafa546934460b0e14a97 into ad5827d33fcdb448b156edbd492c482df90c2930 2025-02-18 20:28:49 +01:00
Robert Resch
ad5827d33f
Bump uv to 0.6.1 (#5641)
* Bump uv to 0.6.0

* Bump uv to 0.6.1
2025-02-18 19:26:36 +01:00
Jan Čermák
249464e928
Generate Python bytecode for site-packages during build (#5640)
Since transition from pip to uv in #5152, Supervisor container doesn't
contain bytecode for site-packages anymore, and because our AppArmor
profile denies mkdir operations, the compiled *.pyc files are never
created. Enable uv --compile option to opt for the same behavior as pip
had, to fix of the AA errors and the potential penalty of compilation on
every import.
2025-02-18 18:44:37 +01:00
dependabot[bot]
0f6fabb48c
Bump orjson from 3.10.12 to 3.10.15
Bumps [orjson](https://github.com/ijl/orjson) from 3.10.12 to 3.10.15.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.10.12...3.10.15)

---
updated-dependencies:
- dependency-name: orjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 10:58:56 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -28,15 +28,15 @@ RUN \
\
&& curl -Lso /usr/bin/cosign "https://github.com/home-assistant/cosign/releases/download/${COSIGN_VERSION}/cosign_${BUILD_ARCH}" \
&& chmod a+x /usr/bin/cosign \
&& pip3 install uv==0.2.21
&& pip3 install uv==0.6.1
# Install requirements
COPY requirements.txt .
RUN \
if [ "${BUILD_ARCH}" = "i386" ]; then \
linux32 uv pip install --no-build -r requirements.txt; \
linux32 uv pip install --compile-bytecode --no-build -r requirements.txt; \
else \
uv pip install --no-build -r requirements.txt; \
uv pip install --compile-bytecode --no-build -r requirements.txt; \
fi \
&& rm -f requirements.txt

View File

@ -15,7 +15,7 @@ docker==7.1.0
faust-cchardet==2.1.19
gitpython==3.1.44
jinja2==3.1.5
orjson==3.10.12
orjson==3.10.15
pulsectl==24.12.0
pyudev==0.24.3
PyYAML==6.0.2