Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add python 3.12support #923

Closed

Conversation

edx-requirements-bot
Copy link
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
skipsdist = True

[pycodestyle]
max-line-length = 120

[pytest]
DJANGO_SETTINGS_MODULE = xqueue.test_settings
django_settings_module = xqueue.test_settings
Copy link
Member

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

@@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
tox-env: [quality, django42]
python-version: [3.8]
python-version: ['3.8', '3.11']
Copy link
Member

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.

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
@@ -1,12 +1,12 @@
[tox]
envlist = py38-django{42},quality
envlist = py{38, 312}-django{42},quality

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.

@@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
tox-env: [quality, django42]
python-version: [3.8]
python-version: ['3.8', '3.11']

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
Copy link

pdpinch commented Apr 15, 2024

Will this close #926 as well?

@jfavellar90
Copy link
Contributor

jfavellar90 commented Apr 18, 2024

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

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
Copy link
Contributor

feanil commented Apr 23, 2024

@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
Copy link
Contributor

feanil commented Apr 29, 2024

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

@feanil
Copy link
Contributor

feanil commented Apr 29, 2024

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants