From c7c0adde42ea50a23ea3e4225965609ba8e14d4a Mon Sep 17 00:00:00 2001 From: "DESKTOP-10GD4VQ\\Sufyan" Date: Mon, 24 Feb 2025 17:18:56 +0500 Subject: [PATCH] dropped python 3.7 support --- .github/workflows/pylint.yml | 2 +- .github/workflows/test-runner.yml | 2 +- README.md | 2 +- setup.py | 9 +++------ 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2d67c32..a375989 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Setup Python diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index 783866f..80f8768 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Setup Python diff --git a/README.md b/README.md index cd78c1d..a8df974 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The APIMatic Core libraries provide a stable runtime that powers all the functio ## Installation -You will need Python 3.7-3.11 to support this package. +You will need Python version 3.8+ to support this package. Simply run the command below to install the core library in your SDK. The core library will be added as a dependency your SDK. diff --git a/setup.py b/setup.py index cb2c97c..3b3c2ff 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,9 @@ import sys from setuptools import setup, find_packages -if sys.version_info[0] < 3: - with open('README.md', 'r') as fh: - long_description = fh.read() -else: - with open('README.md', 'r', encoding='utf-8') as fh: - long_description = fh.read() + +with open('README.md', 'r', encoding='utf-8') as fh: + long_description = fh.read() setup( name='apimatic-core',