Skip to content

Commit 2561938

Browse files
committedJun 24, 2024
MNT: bump minimum Python version to 3.9.
1 parent cca25a0 commit 2561938

File tree

8 files changed

+11
-16
lines changed

8 files changed

+11
-16
lines changed
 

‎.github/workflows/lint_black.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v1
1818
with:
19-
python-version: 3.8
19+
python-version: 3.9
2020

2121
- name: Install Python dependencies
2222
run: pip install black[jupyter]

‎.github/workflows/publish-to-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v3
2121
with:
22-
python-version: "3.8"
22+
python-version: "3.9"
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

‎.github/workflows/test_pytest.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [ubuntu-latest]
22-
python-version: [3.8, 3.12]
23-
include:
24-
- os: macos-latest
25-
python-version: 3.12
26-
- os: windows-latest
27-
python-version: 3.12
21+
os: [ubuntu-latest, macos-latest, windows-latest]
22+
python-version: [3.9, 3.12]
2823
env:
2924
OS: ${{ matrix.os }}
3025
PYTHON: ${{ matrix.python-version }}

‎.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ persistent=yes
8888

8989
# Minimum Python version to use for version dependent checks. Will default to
9090
# the version used to run pylint.
91-
py-version=3.8
91+
py-version=3.9
9292

9393
# Discover python modules and packages in the file system subtree.
9494
recursive=no

‎docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: '3.8'
22

33
services:
4-
python38-linux:
5-
image: python:3.8
4+
python39-linux:
5+
image: python:3.9
66
volumes:
77
- .:/app
88
working_dir: /app

‎docs/development/docker.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ operational system.
108108
However, it is still useful to run the unit tests on different python versions.
109109

110110
Currently, the `docker-compose.yml` file is configured to run the unit tests
111-
on python 3.8 and 3.12.
111+
on python 3.9 and 3.12.
112112

113113
To run the unit tests on both python versions, run the following command
114114
**on your machine**:

‎docs/user/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Requirements
8585
Python Version
8686
^^^^^^^^^^^^^^
8787

88-
RocketPy supports Python 3.8 and above.
88+
RocketPy supports Python 3.9 and above.
8989
Sorry, there are currently no plans to support earlier versions.
90-
If you really need to run RocketPy on Python 3.7 or earlier, feel free to submit an issue and we will see what we can do!
90+
If you really need to run RocketPy on Python 3.8 or earlier, feel free to submit an issue and we will see what we can do!
9191

9292
Required Packages
9393
^^^^^^^^^^^^^^^^^

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.3.0.post1"
44
description="Advanced 6-DOF trajectory simulation for High-Power Rocketry."
55
dynamic = ["dependencies"]
66
readme = "README.md"
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.9"
88
authors = [
99
{name = "Giovani Hidalgo Ceotto", email = "ghceotto@gmail.com"}
1010
]

0 commit comments

Comments
 (0)
Please sign in to comment.