Skip to content

Commit

Permalink
Drop Python 3.7 support
Browse files Browse the repository at this point in the history
Python 3.7 reaches the end of life in June 2023. This means it
won't receive new updates or patches to fix security issues.
Therefore, this package only works with Python >= 3.8 from now on.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
  • Loading branch information
jjmerchante committed Aug 22, 2023
1 parent 5f94649 commit ecdd1a5
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
- name: Download distribution artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: ['3.8', '3.9', '3.10', '3.11']

name: Python ${{ matrix.python-version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Run 'perceval <backend> --help' to get information about a specific backend.

## Requirements

* Python >= 3.7
* Python >= 3.8
* Poetry >= 1.2
* git
* build-essential
Expand Down
66 changes: 46 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ classifiers = [
perceval = 'perceval.perceval:main'

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"

python-dateutil = "^2.6.0"
requests = "^2.7.0"
Expand Down
9 changes: 9 additions & 0 deletions releases/unreleased/drop-python-37-support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Drop Python 3.7 support
category: removed
author: Jose Javier Merchante <jjmerchante@bitergia.com>
issue: null
notes: >
Python 3.7 reaches the end of life in June 2023. This means it
won't receive new updates or patches to fix security issues.
Therefore, this package only works with Python >= 3.8 from now on.

0 comments on commit ecdd1a5

Please sign in to comment.