diff --git a/.github/workflows/macos_test.yml b/.github/workflows/macos_test.yml index cfa5bee7..4296bd5c 100644 --- a/.github/workflows/macos_test.yml +++ b/.github/workflows/macos_test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false # if a particular matrix build fails, don't skip the rest matrix: - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v4 - name: Install Python diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 4d0d6eed..05dc2889 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -13,22 +13,21 @@ jobs: strategy: fail-fast: false # if a particular matrix build fails, don't skip the rest matrix: - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v4 - name: Install Python - run: | - # Add the deadsnakes PPA to install python - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt-get update - sudo apt-get install python${{ matrix.python-version }}-dev - sudo apt-get install python${{ matrix.python-version }}-distutils + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y - python${{ matrix.python-version }} -m pip install --upgrade pip - python${{ matrix.python-version }} -m pip install wheel - python${{ matrix.python-version }} -m pip install pygame-ce - python${{ matrix.python-version }} -m pip install . + sudo apt-get update + sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config + python -m pip install --upgrade pip + python -m pip install wheel + python -m pip install pygame-ce + python -m pip install . - name: Run Tests - run: python${{ matrix.python-version }} -m unittest \ No newline at end of file + run: | + python -m unittest \ No newline at end of file diff --git a/.github/workflows/windows_test.yml b/.github/workflows/windows_test.yml index 80e32e34..f5d2e5c6 100644 --- a/.github/workflows/windows_test.yml +++ b/.github/workflows/windows_test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false # if a particular matrix build fails, don't skip the rest matrix: - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v4 - name: Install packages diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aa5cb481..fcc8697c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ we are all unpaid-volunteers See below to see how to build pygame_geometry from source. If you need help, talk to us on [Discord](https://discord.gg/QzmpNXchW5). ## Windows 10 / Windows 11 -1. Install Python 3.7+ +1. Install Python 3.8+ 2. Install [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/) or [Visual Studio Build Tools 2017](https://aka.ms/vs/15/release/vs_buildtools.exe) and make sure you mark `MSVC v140 - VS 2015 C++ build tools (v14.00)` with the installation 3. Run `python -m pip install setuptools -U` 4. Install the latest version of [git](https://gitforwindows.org/) @@ -25,7 +25,7 @@ See below to see how to build pygame_geometry from source. If you need help, tal **If you are having trouble re-compiling, try deleting the `build` folder from the root directory if it exists** ## MacOS -1. Install Python 3.7+ +1. Install Python 3.8+ 2. Install [HomeBrew](https://brew.sh/) 3. Install dependencies ``` @@ -36,7 +36,7 @@ brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf pkg-config 6. Run `cd pygame_geometry; python3 -m pip install .` ## Linux (Debian-based Distributions) -1. Install Python 3.7+ (Should be provided in distributions based out of Debian 10 Buster or above) +1. Install Python 3.8+ (Should be provided in distributions based out of Debian 10 Buster or above) 2. Install dependencies ``` sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y diff --git a/README.md b/README.md index 92c2c11a..aeb5f5d1 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ special colliders easier for their video game. this project is heavily in development.** The project is set to be migrated to the [official pygame-ce repository](https://github.com/pygame-community/pygame-ce). -## Installation (Python 3.7+) +## Installation (Python 3.8+) Please follow [this guide](https://github.com/novialriptide/pygame_geometry/blob/main/CONTRIBUTING.md) to install pygame_geometry.