From f4c9870bb44a77fdd81d8e8d94080a5d8059a424 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 18:46:27 +0200 Subject: [PATCH 01/25] removed python 3.7 CI and added 3.12 --- .github/workflows/macos_test.yml | 2 +- .github/workflows/ubuntu_test.yml | 2 +- .github/workflows/windows_test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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..d2ae4cf4 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -13,7 +13,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/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 From 1739f6f62b32cc1c56e761708ea25100472c5afb Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 18:53:07 +0200 Subject: [PATCH 02/25] removed 3.7 mentions and fix for ubuntu test? --- .github/workflows/ubuntu_test.yml | 1 - CONTRIBUTING.md | 6 +++--- README.md | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index d2ae4cf4..6e07185a 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,7 +22,6 @@ jobs: 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 - name: Install dependencies run: | sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y 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. From d53e7092dc7b601f891b960a401bd2591bbb0f2c Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 18:56:46 +0200 Subject: [PATCH 03/25] fix? --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 6e07185a..18234e35 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,7 +21,7 @@ jobs: # 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 }} -y - name: Install dependencies run: | sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y From 48c73cada6e9accffbda666c267af5c52de79b95 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 18:58:31 +0200 Subject: [PATCH 04/25] fix? --- .github/workflows/ubuntu_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 18234e35..48d7e124 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,7 +21,8 @@ jobs: # 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 }} -y + sudo apt-get install python${{ matrix.python-version }}-dev -y + sudo apt-get install python${{ matrix.python-version }}-distutils -y - name: Install dependencies run: | sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config -y From f864f94a8cd22f653b9e70a87537c03ab887ed36 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:01:23 +0200 Subject: [PATCH 05/25] fix? --- .github/workflows/ubuntu_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 48d7e124..47e27ff6 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -27,6 +27,7 @@ jobs: 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 setuptools python${{ matrix.python-version }} -m pip install wheel python${{ matrix.python-version }} -m pip install pygame-ce python${{ matrix.python-version }} -m pip install . From aa338872314605ffe839944474000c09f87fab17 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:03:39 +0200 Subject: [PATCH 06/25] fix? --- .github/workflows/ubuntu_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 47e27ff6..c49823f8 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,12 +23,12 @@ jobs: sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y sudo apt-get install python${{ matrix.python-version }}-distutils -y - - 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 setuptools python${{ matrix.python-version }} -m pip install wheel + - 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 pygame-ce python${{ matrix.python-version }} -m pip install . - name: Run Tests From 1318e76c7e81b9354edfdc874ddc128cfd240fd1 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:07:09 +0200 Subject: [PATCH 07/25] fix? --- .github/workflows/ubuntu_test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index c49823f8..a74bd1b2 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,7 +22,6 @@ jobs: sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y - sudo apt-get install python${{ matrix.python-version }}-distutils -y python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install setuptools python${{ matrix.python-version }} -m pip install wheel From d27e9eb1ffd0f644edde98ea4c05b823e14eeb7a Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:09:16 +0200 Subject: [PATCH 08/25] fix? --- .github/workflows/ubuntu_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index a74bd1b2..bd11ade9 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,6 +23,7 @@ jobs: sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y python${{ matrix.python-version }} -m pip install --upgrade pip + python${{ matrix.python-version }} -m pip install distutils python${{ matrix.python-version }} -m pip install setuptools python${{ matrix.python-version }} -m pip install wheel - name: Install dependencies From 000c4c12c2437bbdc9960b55f2bc6682df640344 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:10:21 +0200 Subject: [PATCH 09/25] fix? --- .github/workflows/ubuntu_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index bd11ade9..28ff0e04 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,9 +21,9 @@ jobs: # 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 -y - python${{ matrix.python-version }} -m pip install --upgrade pip - python${{ matrix.python-version }} -m pip install distutils + sudo apt-get install python${{ matrix.python-version }}-dev + sudo apt-get install python${{ matrix.python-version }}-pip + sudo apt-get install python${{ matrix.python-version }}-distutils python${{ matrix.python-version }} -m pip install setuptools python${{ matrix.python-version }} -m pip install wheel - name: Install dependencies From ce283802546028fa8079c94c82e987957c983185 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:12:43 +0200 Subject: [PATCH 10/25] fix? --- .github/workflows/ubuntu_test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 28ff0e04..4d0ff835 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,7 +22,6 @@ jobs: 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 }}-pip sudo apt-get install python${{ matrix.python-version }}-distutils python${{ matrix.python-version }} -m pip install setuptools python${{ matrix.python-version }} -m pip install wheel From f691a6279f9b8967ae7760f699813844540ff817 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:14:55 +0200 Subject: [PATCH 11/25] fix? --- .github/workflows/ubuntu_test.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 4d0ff835..f1b67485 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -18,17 +18,13 @@ jobs: - 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 }} python${{ matrix.python-version }}-dev sudo apt-get install python${{ matrix.python-version }}-distutils - python${{ matrix.python-version }} -m pip install setuptools + python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install wheel - - 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 pygame-ce python${{ matrix.python-version }} -m pip install . + - name: Run Tests run: python${{ matrix.python-version }} -m unittest \ No newline at end of file From 3a2e33945f96157d2ea46a590714fe734994f740 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:15:45 +0200 Subject: [PATCH 12/25] fix? --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index f1b67485..c57762f6 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -19,7 +19,7 @@ jobs: - name: Install Python run: | sudo apt-get update - sudo apt-get install python${{ matrix.python-version }} python${{ matrix.python-version }}-dev + sudo apt-get install python${{ matrix.python-version }}-dev sudo apt-get install python${{ matrix.python-version }}-distutils python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install wheel From ad641d80a3b1f68e9d66ce3bc86325cfb6e6af1c Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:16:38 +0200 Subject: [PATCH 13/25] fix? --- .github/workflows/ubuntu_test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index c57762f6..a4d3c87f 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -18,6 +18,8 @@ jobs: - uses: actions/checkout@v4 - name: Install Python run: | + # Add the deadsnakes PPA to install python + sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev sudo apt-get install python${{ matrix.python-version }}-distutils From 2910c9ced10732cc519ed48fdf8b93400d94622d Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:23:29 +0200 Subject: [PATCH 14/25] fix? --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index a4d3c87f..a02d8d20 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,7 +23,7 @@ jobs: sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev sudo apt-get install python${{ matrix.python-version }}-distutils - python${{ matrix.python-version }} -m pip install --upgrade pip + python${{ matrix.python-version }} -m pip install setuptools python${{ matrix.python-version }} -m pip install wheel python${{ matrix.python-version }} -m pip install pygame-ce python${{ matrix.python-version }} -m pip install . From 68f24a573b7a47c13c4626173000cea04a389675 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:28:28 +0200 Subject: [PATCH 15/25] fix? --- .github/workflows/ubuntu_test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index a02d8d20..3c016f40 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,9 +21,11 @@ jobs: # Add the deadsnakes PPA to install python sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update - sudo apt-get install python${{ matrix.python-version }}-dev - sudo apt-get install python${{ matrix.python-version }}-distutils - python${{ matrix.python-version }} -m pip install setuptools + sudo apt-get install python${{ matrix.python-version }}-dev -y + sudo apt-get install python${{ matrix.python-version }}-distutils -y + sudo apt-get install python${{ matrix.python-version }}-pip -y + python${{ matrix.python-version }} -m pip install --upgrade pip + python${{ matrix.python-version }} -m pip install --upgrade setuptools python${{ matrix.python-version }} -m pip install wheel python${{ matrix.python-version }} -m pip install pygame-ce python${{ matrix.python-version }} -m pip install . From a74c889a415312c69f02af512b6cd41d2f3dc494 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:29:24 +0200 Subject: [PATCH 16/25] fix? --- .github/workflows/ubuntu_test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 3c016f40..3ec4cfdb 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,7 +23,6 @@ jobs: sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y sudo apt-get install python${{ matrix.python-version }}-distutils -y - sudo apt-get install python${{ matrix.python-version }}-pip -y python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install --upgrade setuptools python${{ matrix.python-version }} -m pip install wheel From 2fba70af1b9572edeff76a1c90184fcda996c4f1 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:30:57 +0200 Subject: [PATCH 17/25] fix? --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 3ec4cfdb..4d1deed2 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,9 +22,9 @@ jobs: sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y - sudo apt-get install python${{ matrix.python-version }}-distutils -y python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install --upgrade setuptools + sudo apt-get install python${{ matrix.python-version }}-distutils -y python${{ matrix.python-version }} -m pip install wheel python${{ matrix.python-version }} -m pip install pygame-ce python${{ matrix.python-version }} -m pip install . From 29a9b170bf40bd7d6c70723ebee4754b35caacd3 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:33:22 +0200 Subject: [PATCH 18/25] fix? --- .github/workflows/ubuntu_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 4d1deed2..cd96ee1b 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,9 +22,9 @@ jobs: sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y - python${{ matrix.python-version }} -m pip install --upgrade pip - python${{ matrix.python-version }} -m pip install --upgrade setuptools sudo apt-get install python${{ matrix.python-version }}-distutils -y + python${{ matrix.python-version }} -m pip install --upgrade setuptools + 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 . From 504286baa7a6c113684aea485598ac90b56188e4 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Wed, 8 May 2024 19:34:46 +0200 Subject: [PATCH 19/25] fix? --- .github/workflows/ubuntu_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index cd96ee1b..2360a3e8 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,7 +22,8 @@ jobs: sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update sudo apt-get install python${{ matrix.python-version }}-dev -y - sudo apt-get install python${{ matrix.python-version }}-distutils -y + sudo apt-get python${{ matrix.python-version }}-distutils -y + python${{ matrix.python-version }} -m pip install --upgrade setuptools python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install wheel From 1d261894e26c6f3c8ad810a679d27b133563c2e2 Mon Sep 17 00:00:00 2001 From: Alberto <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Thu, 9 May 2024 09:22:03 +0200 Subject: [PATCH 20/25] Update ubuntu_test.yml --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 2360a3e8..d0d8d9d4 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,10 +21,10 @@ jobs: # Add the deadsnakes PPA to install python sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update + sudo apt-get install python${{ matrix.python-version }}-setuptools -y sudo apt-get install python${{ matrix.python-version }}-dev -y sudo apt-get python${{ matrix.python-version }}-distutils -y - python${{ matrix.python-version }} -m pip install --upgrade setuptools 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 From cc4d44b54c58f7c44213ac96b6f953ff6f3eef4a Mon Sep 17 00:00:00 2001 From: Alberto <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Thu, 9 May 2024 09:23:39 +0200 Subject: [PATCH 21/25] Update ubuntu_test.yml --- .github/workflows/ubuntu_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index d0d8d9d4..ba19a544 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -21,9 +21,9 @@ jobs: # Add the deadsnakes PPA to install python sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt-get update - sudo apt-get install python${{ matrix.python-version }}-setuptools -y - sudo apt-get install python${{ matrix.python-version }}-dev -y - sudo apt-get python${{ matrix.python-version }}-distutils -y + sudo apt-get install python3-setuptools + sudo apt-get install python${{ matrix.python-version }}-dev + sudo apt-get python${{ matrix.python-version }}-distutils python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install wheel From b5435a4dbd60499c31bbd8f358f6270ee998f439 Mon Sep 17 00:00:00 2001 From: Alberto <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Thu, 9 May 2024 09:25:34 +0200 Subject: [PATCH 22/25] Update ubuntu_test.yml --- .github/workflows/ubuntu_test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index ba19a544..d0e12510 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,7 +23,6 @@ jobs: sudo apt-get update sudo apt-get install python3-setuptools sudo apt-get install python${{ matrix.python-version }}-dev - sudo apt-get python${{ matrix.python-version }}-distutils python${{ matrix.python-version }} -m pip install --upgrade pip python${{ matrix.python-version }} -m pip install wheel From 67a42bcc192ee6b38e4a657ac3723b1a2fffbb62 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Mon, 27 May 2024 17:47:23 +0200 Subject: [PATCH 23/25] try to use actions/setup-python@v5 --- .github/workflows/ubuntu_test.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index d0e12510..9a17535d 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -17,17 +17,16 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies run: | - # Add the deadsnakes PPA to install python - sudo add-apt-repository ppa:deadsnakes/ppa -y - sudo apt-get update - sudo apt-get install python3-setuptools - sudo apt-get install python${{ matrix.python-version }}-dev - - 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 . - + brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf 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 From e5397ac7995db3281e81ba21ed54defc078219f1 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Mon, 27 May 2024 17:48:51 +0200 Subject: [PATCH 24/25] try to use actions/setup-python@v5 --- .github/workflows/ubuntu_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 9a17535d..0591a0b5 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -22,7 +22,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf pkg-config + 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 From e27f55ea9d96e6184f00e1417ad634f3f8c617b6 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Mon, 27 May 2024 17:49:02 +0200 Subject: [PATCH 25/25] fix --- .github/workflows/ubuntu_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 0591a0b5..05dc2889 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev pkg-config + 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