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!: Python 3.12 Upgrade #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat!: Python 3.12 Upgrade #207

wants to merge 1 commit into from

Conversation

UsamaSadiq
Copy link
Member

@UsamaSadiq UsamaSadiq commented Sep 11, 2024

Description

  • Updated GitHub CI and tox to run checks with Python 3.12 env only
  • Updated requirements with Python 3.12 env
  • Dropped support for Python<3.12
  • Updated numpy, pandas packages to latest versions for Python 3.12 support.
  • Bumped the package version to 1.54.0.

Testing

  • CI checks with Python 3.12 are green.

@UsamaSadiq UsamaSadiq marked this pull request as ready for review September 11, 2024 12:35
SkillValidationConfiguration with both course and organization.
"""
with pytest.raises(IntegrityError) as raised_exception:
with pytest.raises(ValidationError) as raised_exception:
Copy link
Member Author

Choose a reason for hiding this comment

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

Django 4.2 raises ValidationError before reaching to the point where IntegrityError is raised since the model's full_clean() method is catching this issue before database-level integrity checks can be enforced.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs some manual verification? I will find some time to test this on my end.

@@ -15,6 +15,6 @@
# 2. MINOR version when you add functionality in a backwards compatible manner, and
# 3. PATCH version when you make backwards compatible bug fixes.
# More details can be found at https://semver.org/
__version__ = '1.53.0'
__version__ = '1.54.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

@UsamaSadiq Should we bump this to 2.0.0?

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.

2 participants