Skip to content

Commit

Permalink
Remove support for Python 3.7 as reached EOL (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 authored May 25, 2024
1 parent 7f5e86f commit 3b25c2c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest', 'kivy-ubuntu-arm64']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.7', 'pypy3.8', 'pypy3.9']
python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.8', 'pypy3.9']
include:
# We may would like to introduce tests also on windows-latest on x86 (win32 wheels)?
- os: ubuntu-latest
Expand Down Expand Up @@ -193,17 +193,8 @@ jobs:
cd tests
CLASSPATH=../build/test-classes:../build/classes python -m pytest -v
- name: Test wheel ( Windows + Python == 3.7.x )
# On Python < 3.8.x, we can't use `os.add_dll_directory`, so the jre should be in PATH.
if: (matrix.os == 'windows-latest') && contains(matrix.python, '3.7')
run: |
cd tests
$env:PATH +=";$env:JAVA_HOME\jre\bin\server\;$env:JAVA_HOME\jre\bin\client\;$env:JAVA_HOME\bin\server\"
$env:CLASSPATH ="../build/test-classes;../build/classes"
python -m pytest -v
- name: Test wheel (Windows + Python != 3.7.x )
if: (matrix.os == 'windows-latest') && !contains(matrix.python, '3.7')
- name: Test wheel (Windows)
if: matrix.os == 'windows-latest'
run: |
cd tests
$env:CLASSPATH ="../build/test-classes;../build/classes"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
strategy:
matrix:
python:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ jobs:
strategy:
matrix:
python:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- 'pypy-3.7'
- 'pypy-3.8'
- 'pypy-3.9'
java:
Expand Down Expand Up @@ -47,21 +45,14 @@ jobs:
architecture: x86
- os: apple-silicon-m1
architecture: x64
- os: apple-silicon-m1
python: '3.7'
- os: apple-silicon-m1
python: '3.8'
- os: apple-silicon-m1
python: '3.9'
- os: apple-silicon-m1
python: 'pypy-3.7'
- os: apple-silicon-m1
python: 'pypy-3.8'
- os: apple-silicon-m1
python: 'pypy-3.9'
- os: windows-latest
architecture: x86
python: 'pypy-3.7'
- os: windows-latest
architecture: x86
python: 'pypy-3.8'
Expand Down
1 change: 0 additions & 1 deletion setup_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: Android',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down

0 comments on commit 3b25c2c

Please sign in to comment.