Skip to content

Commit

Permalink
Merge branch 'python-3.9' of 'https://github.com/jjmerchante/grimoirelab
Browse files Browse the repository at this point in the history
'

Merges #700
Closes #700
Fixes #699
  • Loading branch information
sduenas authored Sep 20, 2024
2 parents f266e88 + 823f88c commit da2af11
Show file tree
Hide file tree
Showing 11 changed files with 226 additions and 279 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
package-ready:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
python-version: 3.9

- name: Wait for GrimoireLab package ready in PyPI
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/grimoirelab-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ jobs:
with:
token: '${{ secrets.GRIMOIRELAB_BUILD_TOKEN }}'

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
python-version: 3.9

- name: Set up Git config
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-grimoirelab-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
python-version: 3.9

- name: Set up Git config
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Python ${{ matrix.python-version }} for ES ${{ matrix.elasticsearch-version }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- name: Download distribution artifact
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/docker-compose-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ services:
expose:
- "9314"
volumes:
- sortinghat-static:/opt/venv/lib/python3.8/site-packages/sortinghat/static/
- sortinghat-static:/opt/venv/lib/python3.9/site-packages/sortinghat/static/
depends_on:
mariadb:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/docker-compose-secured.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services:
expose:
- "9314"
volumes:
- sortinghat-static:/opt/venv/lib/python3.8/site-packages/sortinghat/static/
- sortinghat-static:/opt/venv/lib/python3.9/site-packages/sortinghat/static/
depends_on:
mariadb:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
expose:
- "9314"
volumes:
- sortinghat-static:/opt/venv/lib/python3.8/site-packages/sortinghat/static/
- sortinghat-static:/opt/venv/lib/python3.9/site-packages/sortinghat/static/
depends_on:
mariadb:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2016-2022 Bitergia
# GPLv3 License

FROM python:3.8-slim-bullseye
FROM python:3.9-slim-bullseye
LABEL maintainer="Santiago Dueñas <sduenas@bitergia.com>"

ENV DEBIAN_FRONTEND noninteractive
Expand Down
471 changes: 204 additions & 267 deletions poetry.lock

Large diffs are not rendered by default.

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

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

grimoirelab-toolkit = {version = ">=1.0.4", allow-prereleases = true}
perceval-mozilla = {version = ">=1.0.6", allow-prereleases = true}
Expand Down
10 changes: 10 additions & 0 deletions releases/unreleased/python-minimum-version-updated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Python minimum version updated
category: dependency
author: Jose Javier Merchante <jjmerchante@bitergia.com>
issue: null
notes: >
Python 3.8 will reach its end of life in October 2024.
Python 3.9 is the minimum version required by the project.
Update Docker images to use Python 3.9

0 comments on commit da2af11

Please sign in to comment.