Skip to content

Commit

Permalink
Deprecate python 3.7 support on Linux, 3.9 is minimum now
Browse files Browse the repository at this point in the history
  • Loading branch information
julianneswinoga committed Jan 4, 2025
1 parent df7b947 commit e8b5c5f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
runs-on: 'ubuntu-20.04'
strategy:
matrix:
py_version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
py_version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OpenAstroTech FirmWare Graphical User Interface -- A graphical way to build and
## Supported platforms
- Windows 64 bit
- Linux 64 bit
- Requires Python 3.7..3.11, git, libc >= 2.28 (check with `ldd --version`)
- Requires Python 3.9..3.13, git, libc >= 2.28 (check with `ldd --version`)

MacOS support [is in progress](https://github.com/OpenAstroTech/OATFWGUI/commits/feature/js/official-mac-support/), but isn't reliable yet.

Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
platformio==6.1.13
PySide6-Essentials==6.5.3 # Last version that supports python 3.7
requests~=2.28.1
platformio==6.1.16 # Hard-pin version so that issues can be reproduced
PySide6-Essentials~=6.8.1
requests~=2.32.3
semver~=2.13.0
pygments~=2.13.0
pygments~=2.18.0
4 changes: 2 additions & 2 deletions scripts/OATFWGUI_Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
set -e
# This is the entry point for the "compiled" Linux app

# list_include_item "10 11 12" "2"
function list_include_item {
local list="$1"
local item="$2"
Expand Down Expand Up @@ -32,6 +31,7 @@ function check_ldd_version {
return 1
fi
# Only support >= 28
# 2.28 from: https://doc.qt.io/qt-6/supported-platforms.html#availability-of-packages
if [ "$LIBC_VER_MIN" -lt 28 ]; then
echo "LIBC minor version $LIBC_VER_MIN ($LIBC_VER_ALL) is not supported"
return 1
Expand All @@ -58,7 +58,7 @@ function check_py_version {
return 1
fi
# Only support 3.7+
if ! list_include_item '7 8 9 10 11' "$PY_VER_MIN"; then
if ! list_include_item '9 10 11 12 13' "$PY_VER_MIN"; then
echo "Python minor version $PY_VER_MIN ($PY_VER_ALL) is not supported"
return 1
fi
Expand Down

0 comments on commit e8b5c5f

Please sign in to comment.