Skip to content

Commit

Permalink
Merge pull request #624 from RocketPy-Team/mnt/minimum-py-39
Browse files Browse the repository at this point in the history
MNT: Bump Minimum Python version to 3.9.
  • Loading branch information
Gui-FernandesBR authored Jun 24, 2024
2 parents cca25a0 + 9410228 commit 4f2102b
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint_black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9

- name: Install Python dependencies
run: pip install black[jupyter]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.8"
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.12]
include:
- os: macos-latest
python-version: 3.12
- os: windows-latest
python-version: 3.12
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, 3.12]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ persistent=yes

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

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] - yyyy-mm-dd

<!-- These are the changes that were not release yet, please add them correctly.
<!-- These are the changes that were not released yet, please add them correctly.
Attention: The newest changes should be on top -->

### Added

### Changed

- MNT: bump minimum Python version to 3.9. [#624](https://github.com/RocketPy-Team/RocketPy/pull/624)

### Fixed


## [1.3.0.post1] - 2024-06-02

You can install this version by running `pip install rocketpy==1.3.0.post1`
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.8'

services:
python38-linux:
image: python:3.8
python39-linux:
image: python:3.9
volumes:
- .:/app
working_dir: /app
Expand Down
2 changes: 1 addition & 1 deletion docs/development/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ operational system.
However, it is still useful to run the unit tests on different python versions.

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

To run the unit tests on both python versions, run the following command
**on your machine**:
Expand Down
4 changes: 2 additions & 2 deletions docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ Requirements
Python Version
^^^^^^^^^^^^^^

RocketPy supports Python 3.8 and above.
RocketPy supports Python 3.9 and above.
Sorry, there are currently no plans to support earlier versions.
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!
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!

Required Packages
^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.3.0.post1"
description="Advanced 6-DOF trajectory simulation for High-Power Rocketry."
dynamic = ["dependencies"]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{name = "Giovani Hidalgo Ceotto", email = "[email protected]"}
]
Expand Down

0 comments on commit 4f2102b

Please sign in to comment.