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

build: Added minimal versions of Django/Flask for unit tests. #837

Merged
merged 7 commits into from
Jan 12, 2024

Conversation

gkevinzheng
Copy link
Contributor

Using the constraints file of each individual Python version to provide for minimum versions of Django and Flask that work for the integrations we provide with both libraries (lots of DeprecationWarnings were raised)

The minimum version of Django that is officially supported for each version of Python is documented here: (https://docs.djangoproject.com/en/5.0/faq/install/#what-python-version-can-i-use-with-django), while Flask took a lot more tuning to get to as close to 1.0.0 as possible (the main challenge is figuring out appropriate versions of its sister dependencies werkzeug, jinja2, markupsafe, and itsdangerous.

Documentation updates will happen in a future PR.

@gkevinzheng gkevinzheng requested review from a team as code owners January 10, 2024 17:01
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: logging Issues related to the googleapis/python-logging API. labels Jan 10, 2024
@gkevinzheng gkevinzheng linked an issue Jan 10, 2024 that may be closed by this pull request
@gkevinzheng gkevinzheng merged commit 8924407 into main Jan 12, 2024
17 checks passed
@gkevinzheng gkevinzheng deleted the django-multiversion branch January 12, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/python-logging API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: validate django/flask versions
2 participants