[Django] #36216: djangoci PR builds using outdated Python versions

13 views
Skip to first unread message

Django

unread,
Feb 25, 2025, 6:33:13 PMFeb 25
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
------------------------------+-----------------------------------------
Reporter: Mike Edmunds | Type: Uncategorized
Status: new | Component: Packaging
Version: dev | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------
The Jenkins PR builds are using outdated Python versions: 3.12.2, 3.12.7,
3.13.0.rc3, and 3.13.0. The latest releases are 3.12.9 and 3.13.2 (both
2025-02-04).

Since "We highly recommend and only officially support the latest release
of each series," it seems like tests should be running on them. (Or at
least, not on prereleases. And 3.12.2 is over a year old.)

To verify:
1. Choose any recent PR at https://github.com/django/django/pulls. (I
can't link to specific PR builds here, because Jenkins logs are purged
very quickly.)
2. Scroll down to the "All checks have passed" or "Some checks were not
successful" block in the PR.
3. In the checks list, click into any of the djangoci jobs (identified by
a Django logo—e.g., pr-mariadb, pull-requests-focal, etc.).
4. On the Jenkins page, click "Console Output." If there's a "Full log"
link above the output, click it to expand the setup logs.
5. Search the log for "created virtual environment" and note the Python
version.

Results:
- CPython3.12.2.final.0-64 (e.g., pull-requests-focal/database=mysql,label
=focal-pr,python=python3.12)
- CPython3.12.7.final.0-64 (e.g., pull-requests-
focal/database=postgres,label=focal-pr,python=python3.12)
- CPython3.13.0.candidate.3-64 (e.g., pull-requests-
focal/database=sqlite3,label=focal-pr,python=python3.13)
- CPython3.13.0.final.0-64 (e.g., pr-
mariadb/database=mysql,label=mariadb,python=python3.13)

[Apologies if this is the wrong place to report djangoci configuration
issues. I did try asking in the forum.]
--
Ticket URL: <https://code.djangoproject.com/ticket/36216>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 26, 2025, 7:43:02 AMFeb 26
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
-------------------------------------+-------------------------------------
Reporter: Mike Edmunds | Owner: Priyanshu
| Singh Panda
Type: Uncategorized | Status: assigned
Component: Packaging | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Priyanshu Singh Panda):

* owner: (none) => Priyanshu Singh Panda
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36216#comment:1>

Django

unread,
Feb 26, 2025, 11:42:32 AMFeb 26
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
-------------------------------------+-------------------------------------
Reporter: Mike Edmunds | Owner: Priyanshu
| Singh Panda
Type: Uncategorized | Status: assigned
Component: Packaging | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* cc: Mariusz Felisiak, Markus Holtermann (added)

Comment:

[https://forum.djangoproject.com/t/jenkins-djangoci-build-questions/38919
This is the question on the forum].

This is what I know, which isn't much.
- We have some documentation on our ci here:
https://code.djangoproject.com/wiki/CI, e.g. we use Ubuntu 20.04
- The jenkins-ansible project hosts most of our Jenkins configurations,
e.g: https://github.com/django/jenkins-
ansible/blob/focal/roles/djangodata/files/runtests_jenkins.sh
- The [https://www.djangoproject.com/foundation/teams/#ops-team Ops team]
manages Jenkins

I will cc some ops team members and they can decide if they want to keep
this ticket, or have a GitHub issue on jenkins-ansible.
--
Ticket URL: <https://code.djangoproject.com/ticket/36216#comment:2>

Django

unread,
Feb 26, 2025, 12:11:51 PMFeb 26
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
-------------------------------+--------------------------------------
Reporter: Mike Edmunds | Owner: (none)
Type: Uncategorized | Status: new
Component: Packaging | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* owner: Priyanshu Singh Panda => (none)
* status: assigned => new

Comment:

Trac is not a place for things related with our infrastructure. I will
bump Python version in the coming days.

> We highly recommend and only officially support the latest release of
each series.

We use this to protect us from tickets related with bugs in older minor
Python releases.
--
Ticket URL: <https://code.djangoproject.com/ticket/36216#comment:3>

Django

unread,
Feb 26, 2025, 12:11:58 PMFeb 26
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
-------------------------------+--------------------------------------
Reporter: Mike Edmunds | Owner: (none)
Type: Uncategorized | Status: closed
Component: Packaging | Version: dev
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* resolution: => invalid
* status: new => closed

--
Ticket URL: <https://code.djangoproject.com/ticket/36216#comment:4>

Django

unread,
Feb 26, 2025, 1:01:21 PMFeb 26
to django-...@googlegroups.com
#36216: djangoci PR builds using outdated Python versions
-------------------------------+--------------------------------------
Reporter: Mike Edmunds | Owner: (none)
Type: Uncategorized | Status: closed
Component: Packaging | Version: dev
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Mike Edmunds):

Thanks all, I appreciate the info and followup.

Incidentally, the jenkins-ansible repo is not public. I'm sure there are
good reasons for that, but it wouldn't have been possible for me to report
the problem there.
--
Ticket URL: <https://code.djangoproject.com/ticket/36216#comment:5>
Reply all
Reply to author
Forward
0 new messages