Skip to content

Commit

Permalink
v8.15.10 bugfix release
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Oct 15, 2023
1 parent c10a077 commit 6d91cd0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 8.15.10 (Unreleased)
## 8.15.10 (2023.10.15)

This release is a bugfix release to fix issues related to installing Mycodo on the latest Raspberry Pi OS (Debian 12, Bookworm).

### Bugfixes

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Mycodo

Environmental Regulation System

Latest version: 8.15.9
Latest version: 8.15.10

Mycodo is open source software for the Raspberry Pi that couples inputs and outputs in interesting ways to sense and manipulate the environment.

Expand Down
2 changes: 1 addition & 1 deletion docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ case "${1:-''}" in
printf "\n#### All dependencies installed\n\n" 2>&1 | tee -a "${LOG_LOCATION}"
;;
"test")
docker exec -ti mycodo_flask "${INSTALL_PATH}"/env/bin/python -m pip install --break-system-packages --upgrade -r /home/mycodo/mycodo/install/requirements-testing.txt
docker exec -ti mycodo_flask "${INSTALL_PATH}"/env/bin/python -m pip install --upgrade -r /home/mycodo/mycodo/install/requirements-testing.txt
docker exec -ti mycodo_flask "${INSTALL_PATH}"/env/bin/python -m pytest /home/mycodo/mycodo/tests/software_tests
;;
"clean-all")
Expand Down
2 changes: 1 addition & 1 deletion mycodo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
from config_translations import TRANSLATIONS as T

MYCODO_VERSION = '8.15.9'
MYCODO_VERSION = '8.15.10'
ALEMBIC_VERSION = '16b28ef31b5b'

# FORCE UPGRADE MASTER
Expand Down
2 changes: 1 addition & 1 deletion mycodo/scripts/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ case "${1}" in
printf "\n## Error: Virtualenv doesn't exist. Creating...\n"
/bin/bash "${INSTALL_DIRECTORY}"/mycodo/scripts/upgrade_commands.sh setup-virtualenv
fi
"${INSTALL_DIRECTORY}"/env/bin/python -m pip install --break-system-packages --upgrade "${2}"
"${INSTALL_DIRECTORY}"/env/bin/python -m pip install --upgrade "${2}"
;;
'internal')
case "${2}" in
Expand Down
10 changes: 5 additions & 5 deletions mycodo/scripts/upgrade_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ case "${1:-''}" in
if [[ ! -d ${MYCODO_PATH}/env ]]; then
printf "\n## Error: Virtualenv doesn't exist. Create with %s setup-virtualenv\n" "${0}"
else
"${MYCODO_PATH}"/env/bin/python -m pip install --break-system-packages --upgrade pip
"${MYCODO_PATH}"/env/bin/python -m pip install --upgrade pip
fi
;;
'update-pip3-packages')
Expand All @@ -611,8 +611,8 @@ case "${1:-''}" in
if [[ ! -d ${MYCODO_PATH}/env ]]; then
printf "\n## Error: Virtualenv doesn't exist. Create with %s setup-virtualenv\n" "${0}"
else
"${MYCODO_PATH}"/env/bin/python -m pip install --break-system-packages --upgrade -r "${MYCODO_PATH}"/install/requirements.txt
"${MYCODO_PATH}"/env/bin/python -m pip install --break-system-packages --upgrade -r "${MYCODO_PATH}"/install/requirements-testing.txt
"${MYCODO_PATH}"/env/bin/python -m pip install --upgrade -r "${MYCODO_PATH}"/install/requirements.txt
"${MYCODO_PATH}"/env/bin/python -m pip install --upgrade -r "${MYCODO_PATH}"/install/requirements-testing.txt
fi
;;
'pip-clear-cache')
Expand Down Expand Up @@ -752,7 +752,7 @@ case "${1:-''}" in
if [[ ! -d ${MYCODO_PATH}/env ]]; then
printf "\n## Error: Virtualenv doesn't exist. Create with %s setup-virtualenv\n" "${0}"
else
"${MYCODO_PATH}"/env/bin/python -m pip install --break-system-packages --upgrade pip
"${MYCODO_PATH}"/env/bin/python -m pip install --upgrade pip
fi
;;
'docker-update-pip-packages')
Expand All @@ -761,7 +761,7 @@ case "${1:-''}" in
if [[ ! -d ${MYCODO_PATH}/env ]]; then
printf "\n## Error: Virtualenv doesn't exist. Create with %s setup-virtualenv\n" "${0}"
else
"${MYCODO_PATH}"/env/bin/python -m pip install --break-system-packages --no-cache-dir -r "${MYCODO_PATH}"/install/requirements.txt
"${MYCODO_PATH}"/env/bin/python -m pip install --no-cache-dir -r "${MYCODO_PATH}"/install/requirements.txt
fi
;;
'install-docker')
Expand Down

0 comments on commit 6d91cd0

Please sign in to comment.