Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

feat: add python 3.12support - #923

Closed
edx-requirements-bot wants to merge 6 commits into
masterfrom
jenkins/add-python312-support-eced44c
Closed

edx-requirements-bot wants to merge 6 commits into
masterfrom
jenkins/add-python312-support-eced44c

Conversation

@edx-requirements-bot

Copy link
Copy Markdown
Contributor

For the details, check the issue openedx/public-engineering#233

@awais786
awais786 marked this pull request as ready for review April 5, 2024 11:10
@awais786 awais786 changed the title feat: add python 3.12 support feat: add python 3.11 support Apr 5, 2024
Comment thread tox.ini

[pytest]
DJANGO_SETTINGS_MODULE = xqueue.test_settings
django_settings_module = xqueue.test_settings

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
django_settings_module = xqueue.test_settings
DJANGO_SETTINGS_MODULE = xqueue.test_settings

Comment thread .github/workflows/ci.yml
matrix:
tox-env: [quality, django42]
python-version: [3.8]
python-version: ['3.8', '3.11']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add 3.12 as well since all IDAs will need to be updated to Python 3.12 eventually.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it should just be 3.12 since that is what is in the envlist for tox?

@awais786 awais786 changed the title feat: add python 3.11 support feat: add python 3.12support Apr 6, 2024
Comment thread tox.ini
@@ -1,12 +1,12 @@
[tox]
envlist = py38-django{42},quality
envlist = py{38, 312}-django{42},quality

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should either include 3.11 so that both 3.11 and 3.12 are represented as commented in the GitHub workflow, or the workflow should change to be just 3.12.

Comment thread .github/workflows/ci.yml
matrix:
tox-env: [quality, django42]
python-version: [3.8]
python-version: ['3.8', '3.11']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it should just be 3.12 since that is what is in the envlist for tox?

@pdpinch

pdpinch commented Apr 15, 2024

Copy link
Copy Markdown

Will this close #926 as well?

@jfavellar90

jfavellar90 commented Apr 18, 2024 •

Copy link
Copy Markdown
Contributor

Hi folks, I'm working on this issue to make the Xqueue codebase run in Tutor with Python 3.12. I was wondering if you require any help to push this PR forward so it lands on master soon. It seems it requires just a few changes in the Python version testing matrix.

Please let me know @UsamaSadiq @blarghmatey, I'll be more than happy to help.

@blarghmatey

Copy link
Copy Markdown

I don't have commit access to this repo to be able to modify this PR, but if it's helpful to open a new PR with the suggested fixes then I can do that in place of this one.

@feanil

feanil commented Apr 23, 2024

Copy link
Copy Markdown
Contributor

@blarghmatey please feel free to open a new PR with the changes, for this repo, if it's possible we want it to be 3.8 and 3.12 compatible. If 3.12 works, we don't need it to also be testing on 3.11

@feanil

feanil commented Apr 29, 2024

Copy link
Copy Markdown
Contributor

It looks like @jfavellar90 has up a new version of this here: #932

@feanil

feanil commented Apr 29, 2024

Copy link
Copy Markdown
Contributor

Closing this one as we should try to review/update/land that one.

@feanil feanil closed this Apr 29, 2024
@feanil
feanil deleted the jenkins/add-python312-support-eced44c branch April 29, 2024 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants