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

[2.0] Drop support for Python 2.7 and 3.5 #2581

Closed
wants to merge 30 commits into from

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Dec 11, 2023

We will drop support for Python 2.7 and <=3.5 with the upcoming version 2.0 of the SDK. Folks on EOL Python versions will still be able use SDK version 1.*.

Plan

  • drop <=3.5 _compat.py utils
  • drop <=3.5 _functools.py
  • drop various <=3.5 hacks throughout the codebase
  • drop <=3.5 specific imports
  • drop <=3.5 tests from tox.ini
  • drop 2.7 special treatment from the GH workflow generator script and YAML templates
  • drop support for framework versions that support at most 3.5
  • document which framework versions are now only supported on SDK 2.0+
  • document which Python versions will be supported on SDK 2.0+
  • remove tracing_utils_py2.py, move tracing_utils_py3.py to just tracing_utils.py
  • remove object as superclass
  • remove mentions of <=3.5 from docs and markdown files
  • remove unnecessary __future__ imports
  • update setup.py
  • remove # -*- coding: utf-8 -*-
  • remove compat unittest stuff (some assert_* functions were not available in old Python versions)
  • drop exec hacks for working around nonexistent syntax in old Python
  • drop fmt: off/on

Unblocks

References

Closes #2004
Closes #1255
Closes #1956

@sentrivana sentrivana changed the base branch from master to sentry-sdk-2.0 December 12, 2023 10:01
@sentrivana sentrivana modified the milestone: Sentry SDK 2.0 Dec 12, 2023
@sentrivana sentrivana self-assigned this Dec 12, 2023
This was referenced Dec 12, 2023
@sentrivana sentrivana changed the title Drop support for Python 2.7 and 3.5 [2.0] Drop support for Python 2.7 and 3.5 Dec 13, 2023
@sentrivana
Copy link
Contributor Author

Splitting this up into smaller PRs.

@sentrivana sentrivana closed this Jan 16, 2024
This was unlinked from issues Jan 16, 2024
@sentrivana sentrivana deleted the ivana/drop-py27-and-py35 branch January 30, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove support for Flask 0.11 and 0.12
1 participant