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.2, 5.1. Prepare for new PyPI release. #33

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

MorganShorter
Copy link
Contributor

No description provided.

Supports:
    - Python 3.7 / Django 3.2 (maintains compatibility)
    - Python 3.9 / Django 4.2
    - Python 3.12 / Django 5.1

Add pytz as an explicit requirement to support existing code in Python
>= 3.9.  Upstream libraries have replaced dependency on `pytz' with
the `zoneinfo' module since it's addition to in the Python
standard library in version 3.9; they no longer bring in `pytz' as an
implicit dependency.

`Django-debug-toolbar' and `djangorestframework' were upgraded to
improve support for newer Django versions, address CVEs, and dodge
breaking changes.
Supports:
    - Python 3.7 / Django 3.2
    - Python 3.9 / Django 4.2
    - Python 3.12 / Django 5.1
Uses compound marker expressions to specify Python version "ranges",
allowing the use of Python 3.8, 3.10, and 3.11.
description-file was depreciated in favor of description_file.
@@ -35,8 +35,12 @@ dependencies = [

[project.optional-dependencies]
django = [
"Django==3.2.24 ; python_version < '3.9'",
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't pin versions in the pyproject.toml

Jinja2==3.1.3
PyJWT==2.6.0
python-dateutil==2.8.2
pytz==2024.2 ; python_version >= "3.9" # This has been obviated by
Copy link
Contributor

Choose a reason for hiding this comment

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

based on comment, python_version >= "3.9" might be extra constraint then?

@smirolo smirolo merged commit e320d7a into djaodjin:main Jan 30, 2025
3 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.

2 participants