Skip to content

Conversation

@kingbuzzman
Copy link
Contributor

@kingbuzzman kingbuzzman commented May 21, 2025

Fixes: #1122

Adds [official] support for Django 5.2

@kingbuzzman kingbuzzman marked this pull request as ready for review May 21, 2025 19:52
django42: Django>=4.2,<5.0
django51: Django>=5.1,<5.2
django52: Django>=5.2,<6
djangomain: Django>5.1,<6.0

Choose a reason for hiding this comment

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

This one should probably be bumped too? Otherwise it might be testing the same as above... We might have to revert to downloading from source as there is no 6.0 on PyPI yet:

Suggested change
djangomain: Django>5.1,<6.0
djangomain: https://github.com/django/django/archive/main.tar.gz

Copy link
Contributor Author

Choose a reason for hiding this comment

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

While I completely agree with your suggestion, I’m not sure this change should be included in this PR. It’s unrelated to the scope of the current work and would be better handled in a separate PR. I’m a strong proponent of keeping PR titles and bodies aligned with their actual changes.

PS. This sounds like a great idea for a contribution from you @browniebroke -wink-wink-

Copy link
Contributor Author

Choose a reason for hiding this comment

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

... Otherwise I'll do it in another PR

Choose a reason for hiding this comment

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

Well, you're argument makes some sense... However, I'm going to make another one which may also makes sense (I think):

This PR adds support to a new version of Django, and doing so means that "django main" should keep pointing to the next version, which means updating this 😄

Anyway, I'll leave it up to a maintainer to decide. There is a gap in my understanding as to why it was changed away from installing from source in the first place, maybe they can shed some light on that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd like to handle djangomain: https://github.com/django/django/archive/main.tar.gz in another PR when this gets merged.

@kingbuzzman
Copy link
Contributor Author

@francoisfreitag while you're at it...

@kingbuzzman
Copy link
Contributor Author

@francoisfreitag you don't have merge powers anymore? 😇

@francoisfreitag
Copy link
Member

I do, but I’m letting a chance for other maintainers to chime in before to merge PRs. I usually wait a couple weeks between approval and the actual merging.

@francoisfreitag francoisfreitag merged commit 7e043d1 into FactoryBoy:master Aug 31, 2025
10 checks passed
@kingbuzzman kingbuzzman deleted the patch-2 branch August 31, 2025 19:22
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.

Add support for Django 5.2

4 participants