Skip to content

Commit 61481de

Browse files
committed
Upgrade Python min version to 3.10.
1 parent 47f044f commit 61481de

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ jobs:
102102
path: |
103103
~/.cache/pip
104104
build/Testing/Temporary/CTestCostData.txt
105-
key: ${{ runner.os }}-3.9-${{ hashFiles('tests/CMakeLists.txt', 'python/requirements.txt') }}
106-
- name: Set up Python 3.9
105+
key: ${{ runner.os }}-3.10-${{ hashFiles('tests/CMakeLists.txt', 'python/requirements.txt') }}
106+
- name: Set up Python 3.10
107107
uses: actions/setup-python@v6
108108
with:
109-
python-version: '3.9'
109+
python-version: '3.10'
110110
- name: Install Python packages
111111
run: |
112112
pip install -r python/requirements.txt
@@ -308,11 +308,11 @@ jobs:
308308
path: |
309309
~\AppData\Local\pip\Cache
310310
build\Testing\Temporary\CTestCostData.txt
311-
key: ${{ runner.os }}-3.9-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.txt') }}
312-
- name: Set up Python 3.9
311+
key: ${{ runner.os }}-3.10-${{ hashFiles('tests\CMakeLists.txt', 'python\requirements.txt') }}
312+
- name: Set up Python 3.10
313313
uses: actions/setup-python@v6
314314
with:
315-
python-version: '3.9'
315+
python-version: '3.10'
316316
- name: Install Python packages
317317
run: pip install -r python/requirements.txt
318318
- name: Checkout CxxTest
@@ -546,10 +546,10 @@ jobs:
546546
os: [ubuntu-latest, macos-latest, windows-latest]
547547
runs-on: ${{ matrix.os }}
548548
steps:
549-
- name: Set up Python 3.9
549+
- name: Set up Python 3.10
550550
uses: actions/setup-python@v6
551551
with:
552-
python-version: '3.9'
552+
python-version: '3.10'
553553
- name: Install Python packages
554554
run: pip install -U cython 'numpy>=1.20' mypy
555555
- name: Download source package
@@ -592,10 +592,10 @@ jobs:
592592
steps:
593593
- name: Checkout JSBSim
594594
uses: actions/checkout@v6
595-
- name: Set up Python 3.9
595+
- name: Set up Python 3.10
596596
uses: actions/setup-python@v6
597597
with:
598-
python-version: '3.9'
598+
python-version: '3.10'
599599
- name: Install Python packages
600600
run: pip install -U cython 'numpy>=1.20' mypy
601601
- name: Install Doxygen (Linux)
@@ -770,10 +770,10 @@ jobs:
770770
find . -type f -name *.deb -exec cp {} GH_release/. \;
771771
772772
# PyPI deployment
773-
- name: Set up Python 3.9
773+
- name: Set up Python 3.10
774774
uses: actions/setup-python@v6
775775
with:
776-
python-version: '3.9'
776+
python-version: '3.10'
777777
- name: PyPI deployment
778778
uses: pypa/gh-action-pypi-publish@release/v1
779779

@@ -885,10 +885,10 @@ jobs:
885885
run: |
886886
sudo apt-get update
887887
sudo apt-get install doxygen graphviz
888-
- name: Set up Python 3.9
888+
- name: Set up Python 3.10
889889
uses: actions/setup-python@v6
890890
with:
891-
python-version: '3.9'
891+
python-version: '3.10'
892892
- name: Install Python packages
893893
run: pip install -U 'numpy>=1.20' sphinx cython
894894
- name: Checkout JSBSim

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Debian packages for Ubuntu Linux "Jammy" 22.04 LTS and "Noble" 24.04 LTS for 64
7777

7878
### Python module
7979

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

8282
#### Installation with `pip`
8383

python/setup.py.in

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

0 commit comments

Comments
 (0)