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

Drop Python 3.7 at end of life (2023-06-27) #3657

Closed
9 tasks done
Zac-HD opened this issue May 26, 2023 · 0 comments · Fixed by #3680
Closed
9 tasks done

Drop Python 3.7 at end of life (2023-06-27) #3657

Zac-HD opened this issue May 26, 2023 · 0 comments · Fixed by #3680
Assignees
Labels
internals Stuff that only Hypothesis devs should ever see

Comments

@Zac-HD
Copy link
Member

Zac-HD commented May 26, 2023

Previously: #3174, #2615, #2218. EOL date via https://devguide.python.org/versions/

  • Check git grep -nE "# pragma: no (branch|cover)|[pP]y(thon)? ?3|sys\.version" -- . ':!*changes.rst' to see all of the locations we've tagged for version compatibility reasons (and a few false-positives)
  • Bump target versions for shed (upstream), and run for pyupgrade etc.
  • Update the minimum supported version of Numpy to 1.17.3
  • Check what's new in Python 3.8 to see about features, e.g. Annotated and positional-only arguments, that might not be explicitly tagged in Hypothesis.
    • positional-only arguments
    • f"{a=}"
    • .replace() method on code objects
    • importlib.metadata always available (check for other backports we can drop too)
    • several typing changes

(more checklist items tbd)

draft branch: master...Zac-HD:hypothesis:drop-py37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Stuff that only Hypothesis devs should ever see
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant