changed RPi.GPIO version to latest official version

This commit is contained in:
avollkopf 2022-02-14 07:53:04 +01:00
parent 1652b340fe
commit 259f5abc78
3 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ RUN pip3 install --no-cache-dir -r /cbpi-src/requirements.txt
# Install RPi.GPIO separately because it's excluded in setup.py for non-raspberrys. # Install RPi.GPIO separately because it's excluded in setup.py for non-raspberrys.
# This can enable GPIO support for the image when used on a raspberry pi and the # This can enable GPIO support for the image when used on a raspberry pi and the
# /dev/gpiomem device. # /dev/gpiomem device.
RUN pip3 install --no-cache-dir RPi.GPIO==0.7.1a4 RUN pip3 install --no-cache-dir RPi.GPIO==0.7.1
FROM base as deploy FROM base as deploy
# Install craftbeerpi from source # Install craftbeerpi from source

View file

@ -1 +1 @@
__version__ = "4.0.1.14" __version__ = "4.0.1.15"

View file

@ -49,7 +49,7 @@ setup(name='cbpi',
'psutil==5.8.0', 'psutil==5.8.0',
'cbpi4ui', 'cbpi4ui',
'importlib_metadata'] + ( 'importlib_metadata'] + (
['RPi.GPIO==0.7.1a4'] if raspberrypi else [] ) + ['RPi.GPIO==0.7.1'] if raspberrypi else [] ) +
(['numpy==1.22.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['numpy==1.20.3'] ) + (['numpy==1.22.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['numpy==1.20.3'] ) +
(['pandas==1.4.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['pandas==1.1.5'] ), (['pandas==1.4.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['pandas==1.1.5'] ),