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

Add support for Django 4.X #35

Merged

Conversation

jpintor52
Copy link

Overview

Add support for Django 4.0, 4.1, and 4.2

How to test

  • Test pass

@coveralls
Copy link
Collaborator

coveralls commented Jan 15, 2024

Pull Request Test Coverage Report for Build 7532638881

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.429%

Totals Coverage Status
Change from base Build 7251166897: 0.0%
Covered Lines: 818
Relevant Lines: 885

💛 - Coveralls

Copy link

@nichaydel nichaydel left a comment

Choose a reason for hiding this comment

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

Looks good, just had a few questions before approving

django-version: [ "3.2" , "4.0", "4.1", "4.2"]
include:
- python-version: "3.10"
django-version: "5.0"

Choose a reason for hiding this comment

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

Any reason this is 5.0 vs one of the supported django-versions?

Copy link
Author

Choose a reason for hiding this comment

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

Django 5.0 only supports Python 3.10 and above. That's why I added it as an include

@@ -1,4 +1,4 @@
# Core packages needed
Django>=3.2, <4.0
Django>=3.2, <6.0

Choose a reason for hiding this comment

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

Is there a reason this is 6.0 as opposed to the highest supported version?

Copy link
Author

@jpintor52 jpintor52 Jan 16, 2024

Choose a reason for hiding this comment

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

The highest version currently is 5.0. I want to make the package ready for the 5.X upgrade, so the next person that needs to update Django doesn't have any issues.

@nichaydel nichaydel assigned jpintor52 and unassigned nichaydel Jan 16, 2024
@jpintor52 jpintor52 assigned nichaydel and unassigned jpintor52 Jan 16, 2024
Copy link

@nichaydel nichaydel left a comment

Choose a reason for hiding this comment

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

LGTM

@jpintor52 jpintor52 merged commit 1749835 into ycharts:master Jan 17, 2024
14 checks passed
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.

3 participants