Skip to content

Commit

Permalink
chore: python version upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
fasihhussain00 committed Jan 4, 2025
1 parent ac9c8e1 commit 8e956bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs: # jobs. We will have two jobs (test and publish) with multiple steps.
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs: # jobs. We will have two jobs (test and publish) with multiple steps.
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
os.system("python3 setup.py sdist upload -r pypi")
sys.exit()

if sys.version_info < (3, 8):
sys.exit("Sorry, Python < 3.8 is not supported")
if sys.version_info < (3, 9):
sys.exit("Sorry, Python < 3.9 is not supported")


with open("requirements.txt", encoding="utf-8") as f:
Expand All @@ -45,7 +45,7 @@
author_email="[email protected]",
url="https://github.com/AndyTheFactory/newspaper4k",
packages=packages,
python_requires=">=3.8",
python_requires=">=3.9",
include_package_data=True,
install_requires=required_packages,
license="MIT",
Expand Down

0 comments on commit 8e956bd

Please sign in to comment.