Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1201015?usp=email )

Change subject: [IMPR] Update Dockerfile to Python 3.12
......................................................................

[IMPR] Update Dockerfile to Python 3.12

Bump to Python 3.12 which currently seems to be the most used
Python version fpr Pywikibot.

Bug: T408997
Change-Id: Ie4c6f87d570e7baefbcc36df35f3097f59d90023
---
M Dockerfile
M Dockerfile-dev
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/Dockerfile b/Dockerfile
index 656071a..45d9628 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.8-slim
+FROM python:3.12-slim

 WORKDIR /code

@@ -6,7 +6,7 @@
 RUN pip install -r requirements.txt

 COPY . .
-RUN pip3 install .
+RUN pip install .
 
 ENV PYTHONPATH=/code:/code/scripts

diff --git a/Dockerfile-dev b/Dockerfile-dev
index b68f42f..1869d66 100644
--- a/Dockerfile-dev
+++ b/Dockerfile-dev
@@ -1,4 +1,4 @@
-FROM python:3.8
+FROM python:3.12

 WORKDIR /code

@@ -8,7 +8,7 @@
 RUN pip install -r dev-requirements.txt

 COPY . .
-RUN pip3 install .
+RUN pip install .

 ENV PYTHONPATH=/code:/code/scripts
 ENTRYPOINT ["python", "/code/pwb.py"]

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1201015?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie4c6f87d570e7baefbcc36df35f3097f59d90023
Gerrit-Change-Number: 1201015
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to