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 python312 support #261

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

edx-requirements-bot
Copy link
Contributor

For the details, check the issue edx/edx-arch-experiments#553

@UsamaSadiq
Copy link
Member

Need to merge #264 before this to minimise the breaking changes.

@UsamaSadiq UsamaSadiq force-pushed the jenkins/python312-support-15fef61 branch 4 times, most recently from be387d3 to 65f7dce Compare March 6, 2024 11:36
@UsamaSadiq UsamaSadiq marked this pull request as ready for review March 6, 2024 11:37
@UsamaSadiq UsamaSadiq force-pushed the jenkins/python312-support-15fef61 branch from 65f7dce to 95c0300 Compare March 6, 2024 11:39
Makefile Outdated Show resolved Hide resolved
@@ -10,3 +10,7 @@

# Common constraints for edx repos
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt

backports.zoneinfo==0.2.1; python_version<'3.9'
Copy link
Member

Choose a reason for hiding this comment

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

Needed for Python 3.12 compatibility. Django 4+ adds this import because we currently update our requirements in a python 3.8 env.

wheel # For generation of wheels for PyPI
Copy link
Member

Choose a reason for hiding this comment

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

needed for docs checks to pass. Specifically needed for the python build sdist bdist_wheel command.

DJANGO_SETTINGS_MODULE=test_settings
PYTHONPATH = {toxinidir}/:{toxinidir}/edx_ace
basepython = python3.8
Copy link
Member

Choose a reason for hiding this comment

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

Removing basepython because we want tox to control python version instead.

Copy link
Member

@UsamaSadiq UsamaSadiq left a comment

Choose a reason for hiding this comment

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

Reviewed all the changes. Looks good to be merged.

@UsamaSadiq UsamaSadiq force-pushed the jenkins/python312-support-15fef61 branch from 2900b0c to ba79ad7 Compare March 6, 2024 13:24
@UsamaSadiq UsamaSadiq force-pushed the jenkins/python312-support-15fef61 branch from d4d4f6a to c6c2c6c Compare March 6, 2024 13:31
@UsamaSadiq UsamaSadiq merged commit 3c66e8e into master Mar 7, 2024
10 checks passed
@UsamaSadiq UsamaSadiq deleted the jenkins/python312-support-15fef61 branch March 7, 2024 09:15
@feanil feanil linked an issue Apr 17, 2024 that may be closed by this pull request
6 tasks
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.

Test edx-ace on Python 3.11
3 participants