-
Notifications
You must be signed in to change notification settings - Fork 78
[191] Support: to Python 3.12 #226
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
base: master
Are you sure you want to change the base?
Conversation
7ec1299
to
0a51874
Compare
@irtazaakram I can't find a lot to change in this repo, for example, the changes here. Please guide me if I've missed any change in this PR. |
0a51874
to
0556727
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a support PR rather than an upgrade PR.
.github/workflows/ci.yml
Outdated
- python_version: '3.12' | ||
ubuntu_version: '20.04' | ||
os: "ubuntu-20.04" | ||
- python_version: '3.11' | ||
- python_version: '3.12' | ||
ubuntu_version: '22.04' | ||
os: "ubuntu-22.04" | ||
- python_version: '3.11' | ||
- python_version: '3.12' | ||
ubuntu_version: '24.04' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to support both python 3.11 & 3.12 here
setup.py
Outdated
@@ -53,5 +53,6 @@ def get_version(*file_paths): | |||
'Programming Language :: Python :: 3', | |||
'Programming Language :: Python :: 3.8', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's drop all references/usage of python 3.8 here
0556727
to
77a6f14
Compare
@irtazaakram Can you please guide me on what is causing the pipelines to fail? This is the error:
Can it be resolved from development side? |
The pipeline is failing due to a missing file: |
aab072e
to
9fbeeaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @abdullahQureshee, I recently merged a change that modifies a bit the CI workflow so please rebase when you have a chance, I left a few comments. Thanks.
@@ -1,3 +1,3 @@ | |||
"""init""" | |||
|
|||
__version__ = '3.5.2' | |||
__version__ = '4.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dropped support to Python 3.8 back in 06b8cd4 for version 3.5.0, so this isn't really a breaking change so simply increasing the major should be enough.
tox.ini
Outdated
@@ -1,5 +1,5 @@ | |||
[tox] | |||
envlist = py38 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed this in the master branch to only define environments for the django versions and use the python_version
matrix in the CI job to test for each Python version. After rebasing use the one in master.
Resolves #191