Skip to content

Add missing mimimal django version + prepare hotfix release #475

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

asherf
Copy link
Member

@asherf asherf commented Jun 24, 2025

Fixes: #474

@asherf asherf self-assigned this Jun 24, 2025
@asherf asherf requested a review from Copilot June 24, 2025 14:58
Copilot

This comment was marked as outdated.

@asherf
Copy link
Member Author

asherf commented Jun 24, 2025

@adrian-nilsson-fcc FYI

Fixes: django-commons#474

Signed-off-by: Asher Foa <asher@asherfoa.com>
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a minimum Django requirement and finalizes a hotfix release (2.4.1).

  • Enforce Django≥4.2 and <6.0 in install requirements
  • Bump package version to 2.4.1
  • Update CHANGELOG with the new release entry

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
setup.py Add Django version constraint to dependencies
django_prometheus/init.py Update package version to 2.4.1
CHANGELOG.md Document the 2.4.1 release
Comments suppressed due to low confidence (1)

CHANGELOG.md:3

  • [nitpick] Add a placeholder '## v2.5.0 - UNRELEASED' section below the new release entry to guide future changelog updates.
## v2.4.1 - June 25th, 2025

@@ -45,6 +45,7 @@ def get_version():
setup_requires=["pytest-runner"],
options={"bdist_wheel": {"universal": "1"}},
install_requires=[
"Django>=4.2,<6.0",
Copy link
Preview

Copilot AI Jun 24, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider adding trove classifiers for supported Django versions (e.g., 'Framework :: Django :: 4.2') in setup.py classifiers to improve package metadata clarity.

Copilot uses AI. Check for mistakes.

@asherf asherf merged commit 43b2762 into django-commons:master Jun 25, 2025
5 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.

Include required version of Django for dependency management tools
1 participant