Skip to content

Commit 0036acf

Browse files
committed
Upgrade the minimum version of Python to 3.8
* The Python Foundation has dropped the support of Python 3.7 since Aug 17th, 2023. * GitHub is relaxing its support for Python 3.6 and 3.7 (see the GitHub blog - post from Aug 2nd, 2023).
1 parent 96ef067 commit 0036acf

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/cpp-python-build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ jobs:
8787
run: |
8888
sudo apt-get update
8989
sudo apt-get install cxxtest valgrind binutils-dev
90-
- name: Set up Python 3.7
90+
- name: Set up Python 3.8
9191
uses: actions/setup-python@v4
9292
with:
93-
python-version: '3.7'
93+
python-version: '3.8'
9494
- name: Install Python packages
9595
run: pip install -U cython 'numpy>=1.20' pandas scipy wheel valgrindci 'setuptools>=60.0.0'
9696
- name: Configure Julia
@@ -288,10 +288,10 @@ jobs:
288288
matrix:
289289
shared_libs: [ON, OFF]
290290
steps:
291-
- name: Set up Python 3.7
291+
- name: Set up Python 3.8
292292
uses: actions/setup-python@v4
293293
with:
294-
python-version: '3.7'
294+
python-version: '3.8'
295295
- name: Install Python packages
296296
run: pip install -U cython 'numpy>=1.20' pandas scipy wheel pywin32 'setuptools>=60.0.0'
297297
- name: Checkout JSBSim
@@ -436,10 +436,10 @@ jobs:
436436
matrix:
437437
arch: [x86_64, arm64]
438438
steps:
439-
- name: Set up Python 3.7
439+
- name: Set up Python 3.8
440440
uses: actions/setup-python@v4
441441
with:
442-
python-version: '3.7'
442+
python-version: '3.8'
443443
- name: Install Python packages
444444
if: matrix.arch == 'x86_64'
445445
run: pip install -U cython 'numpy>=1.20' pandas scipy build 'setuptools>=60.0.0' mypy
@@ -532,7 +532,7 @@ jobs:
532532
fail-fast: false
533533
matrix:
534534
os: [ubuntu-latest, macos-latest, windows-latest]
535-
python-version: [3.7]
535+
python-version: [3.8]
536536
include:
537537
- python-version: 3.9
538538
os: windows-latest
@@ -655,8 +655,8 @@ jobs:
655655
rm -f CMakeCache.txt
656656
cmake -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_CXX_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_BUILD_TYPE=Release ..
657657
cmake --build . --target libJSBSim -- -j3
658-
CIBW_ARCHS_MACOS: x86_64 universal2
659-
CIBW_SKIP: cp*-musllinux_* cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64
658+
CIBW_ARCHS_MACOS: universal2
659+
CIBW_SKIP: cp*-musllinux_*
660660
CIBW_ARCHS_WINDOWS: native
661661
JSBSIM_BUILD_CONFIG: RelWithDebInfo
662662
with:
@@ -793,10 +793,10 @@ jobs:
793793
find . -type f -name *.deb -exec cp {} GH_release/. \;
794794
795795
# PyPI deployment
796-
- name: Set up Python 3.7
796+
- name: Set up Python 3.8
797797
uses: actions/setup-python@v4
798798
with:
799-
python-version: '3.7'
799+
python-version: '3.8'
800800
- name: PyPI deployment
801801
uses: pypa/gh-action-pypi-publish@release/v1
802802

@@ -895,10 +895,10 @@ jobs:
895895
run: |
896896
sudo apt-get update
897897
sudo apt-get install doxygen graphviz
898-
- name: Set up Python 3.7
898+
- name: Set up Python 3.8
899899
uses: actions/setup-python@v4
900900
with:
901-
python-version: '3.7'
901+
python-version: '3.8'
902902
- name: Install Python packages
903903
run: pip install -U 'numpy>=1.20' sphinx cython
904904
- name: Checkout JSBSim

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Debian packages for Ubuntu Linux "Focal" 20.04 LTS and "Jammy" 22.04 LTS for 64
7474

7575
### Python module
7676

77-
JSBSim provides binary wheel packages for its Python module on Windows, Mac OSX and Linux platforms for several Python versions (3.7, 3.8, 3.9, 3.10 and 3.11). These can be installed using either `pip` or `conda`.
77+
JSBSim provides binary wheel packages for its Python module on Windows, Mac OSX and Linux platforms for several Python versions (3.8, 3.9, 3.10, 3.11 and 3.12). These can be installed using either `pip` or `conda`.
7878

7979
#### Installation with `pip`
8080

python/setup.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ setup(
197197
scripts=['JSBSim.py'],
198198
install_requires=['numpy>=1.20'],
199199
ext_modules=[Extension('jsbsim._jsbsim', language='c++', **ext_kwargs)],
200-
python_requires=">=3.7",
200+
python_requires=">=3.8",
201201
packages=['jsbsim'],
202202
package_data={'jsbsim': package_data_files},
203203
zip_safe=False, # needed for mypy to find the type hints stubs

0 commit comments

Comments
 (0)