From 7e45fec0bee356f5266aab3c9b6d8ab2426f3489 Mon Sep 17 00:00:00 2001
From: kronenthaler <kronenthaler@gmail.com>
Date: Wed, 11 Oct 2023 22:01:53 +0200
Subject: [PATCH] !feat: bump minimum python version

---
 .github/workflows/branch-check.yml | 4 ++--
 pbxproj/__init__.py                | 2 +-
 setup.py                           | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/branch-check.yml b/.github/workflows/branch-check.yml
index e80137d..e503082 100644
--- a/.github/workflows/branch-check.yml
+++ b/.github/workflows/branch-check.yml
@@ -39,7 +39,7 @@ jobs:
 
       - name: SonarCloud Scan
         uses: SonarSource/sonarcloud-github-action@master
-        if: github.event_name == 'pull_request'
+        if: github.event_name == 'pull_request' && matrix.python == '3.x'
         with:
           args: >
             -Dsonar.projectVersion=${{ env.VERSION }}
@@ -63,7 +63,7 @@ jobs:
 
       - name: SonarCloud Scan
         uses: SonarSource/sonarcloud-github-action@master
-        if: github.event_name == 'push'
+        if: github.event_name == 'push' && matrix.python == '3.x'
         with:
           args: >
             -Dsonar.projectVersion=${{ env.VERSION }}
diff --git a/pbxproj/__init__.py b/pbxproj/__init__.py
index 473529f..f25cd4c 100644
--- a/pbxproj/__init__.py
+++ b/pbxproj/__init__.py
@@ -27,4 +27,4 @@
 from pbxproj.XcodeProject import XcodeProject
 from pbxproj.pbxsections import *
 
-__version__ = '3.5.0'
+__version__ = '4.0.0'
diff --git a/setup.py b/setup.py
index f09c076..2b21035 100755
--- a/setup.py
+++ b/setup.py
@@ -42,5 +42,5 @@ def read(*parts):
       version=find_version("pbxproj", "__init__.py"),
       license='MIT License',
       install_requires=['openstep_parser>=1.5.1', 'docopt'],
-      python_requires='>=3.7',
+      python_requires='>=3.8',
       packages=find_packages(exclude=['tests']))