Skip to content

Commit da84365

Browse files
committed
Fix - Patching and preparing v0.5.2
1 parent db006a3 commit da84365

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

emhass/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.5.2] - 2023-12-18
4+
### Fix
5+
- Fixes following update of EMHASS code v0.6.1
6+
- Added --break-system-packages option to buil docker image to solve for PEP 668
7+
38
## [0.5.1] - 2023-12-17
49
### Fix
510
- Patching v0.5.0. Updated to Python 3.11 using bookworm debian version

emhass/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,22 @@ RUN apt-get update \
1717
python3-dev \
1818
git \
1919
build-essential \
20+
gcc \
2021
coinor-cbc \
2122
coinor-libcbc-dev \
2223
libglpk-dev \
2324
glpk-utils \
2425
libhdf5-dev \
2526
libhdf5-serial-dev \
27+
netcdf-bin \
28+
libnetcdf-dev \
2629
pkg-config \
27-
python3-h5py \
2830
gfortran \
2931
libatlas-base-dev \
3032
&& ln -s /usr/include/hdf5/serial /usr/include/hdf5/include \
3133
&& export HDF5_DIR=/usr/include/hdf5 \
32-
#&& pip3 install netCDF4==1.5.4 \
33-
&& pip3 install --extra-index-url=https://www.piwheels.org/simple --no-cache-dir -U setuptools wheel \
34-
&& pip3 install --extra-index-url=https://www.piwheels.org/simple --no-cache-dir -r requirements.txt \
34+
&& pip3 install --extra-index-url=https://www.piwheels.org/simple --no-cache-dir --break-system-packages -U setuptools wheel \
35+
&& pip3 install --extra-index-url=https://www.piwheels.org/simple --no-cache-dir --break-system-packages -r requirements.txt \
3536
# && pip3 install emhass-0.5.0-py3-none-any.whl \
3637
&& apt-get purge -y --auto-remove \
3738
python3-pip \

emhass/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: EMHASS
22
description: Energy Management for Home Assistant
33
url: https://github.com/davidusb-geek/emhass
4-
version: 0.5.1
4+
version: 0.5.2
55
slug: emhass
66
arch:
77
- aarch64

emhass/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ protobuf>=3.0.0
66
pytz>=2021.1
77
requests>=2.25.1
88
beautifulsoup4>=4.9.3
9+
h5py==3.10.0
910
pulp>=2.4
1011
pyyaml>=5.4.1
1112
tables==3.9.1
1213
skforecast==0.11.0
1314
flask>=2.0.3
1415
waitress>=2.1.1
1516
plotly>=5.6.0
16-
emhass==0.6.0
17+
emhass==0.6.1
1718
#git+https://github.com/davidusb-geek/emhass

0 commit comments

Comments
 (0)