mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-22 05:24:54 +01:00
changed RPi.GPIO version to latest official version
This commit is contained in:
parent
1652b340fe
commit
259f5abc78
3 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
# This can enable GPIO support for the image when used on a raspberry pi and the
|
||||
# /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
|
||||
# Install craftbeerpi from source
|
||||
|
@ -61,4 +61,4 @@ RUN ["cbpi", "setup"]
|
|||
EXPOSE 8000
|
||||
|
||||
# Start cbpi
|
||||
CMD ["cbpi", "start"]
|
||||
CMD ["cbpi", "start"]
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "4.0.1.14"
|
||||
__version__ = "4.0.1.15"
|
||||
|
|
2
setup.py
2
setup.py
|
@ -49,7 +49,7 @@ setup(name='cbpi',
|
|||
'psutil==5.8.0',
|
||||
'cbpi4ui',
|
||||
'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'] ) +
|
||||
(['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'] ),
|
||||
|
||||
|
|
Loading…
Reference in a new issue