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

NH-96831 Run tox tests with Flask 3.1, except Python 3.8 #464

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

tammy-baylis-swi
Copy link
Contributor

Flask 3.1 came out this month. It drops Python 3.8 support! https://flask.palletsprojects.com/en/stable/changes/

Runs APM Python tox tests with Flask 3.1, except Python 3.8 which sticks to Flask 3.0. See ticket for manual testing with Flask 3.1.

A user trying to install Flask 3.1 on Python <=3.8 will see pip install errors early before instrumentation is attempted.

@tammy-baylis-swi tammy-baylis-swi marked this pull request as ready for review November 22, 2024 20:21
@tammy-baylis-swi tammy-baylis-swi requested a review from a team as a code owner November 22, 2024 20:21
Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the details @tammy-baylis-swi!

@@ -5,5 +5,6 @@ pytest
pytest-cov
pytest-mock
requests
flask~=3.0
flask~=3.1; python_version >= '3.9'
flask~=3.0; 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.

TIL :)

@tammy-baylis-swi tammy-baylis-swi merged commit 9bb1b3e into main Nov 22, 2024
17 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the NH-96831-test-reqs-flask-3_1 branch November 22, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants