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 support for python 3.6 #411

Merged
merged 5 commits into from Dec 21, 2022
Merged

Drop support for python 3.6 #411

merged 5 commits into from Dec 21, 2022

Conversation

rbailey-godaddy
Copy link
Contributor

To help us get this pull request reviewed and merged quickly, please be sure to include the following items:

  • Tests (if applicable)
  • Documentation (if applicable)
  • Changelog entry
  • A full explanation here in the PR description of the work done

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Backward Compatibility

Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?

  • Yes (backward compatible)
  • No (breaking changes)

What's new?

  • Remove support for python 3.6. Mainstream support for this version ended years ago, and security support ended in late 2021.

This is a rework/resubmission of @dclayton-godaddy's #400 rebased on top of 3.3.1

Where we had complex dependencies that now are unnecessary, simplify
them. Regenerate poetry.lock to track the result.
This commit addresses pylint alarms for instances of unbounded
`@lru_cache` decorators:

* In one instance, we merely silence the alarm; there is no structural
  way to address the concern. We believe the typical use pattern will be
  creation of a single scanner object that persists for nearly the life
  of execution, and therefore pylint's concerns regarding persistence of
  `self` references in the cache is not well-founded.

* In the other instance, we convert the function to a static method --
  it never referenced `self` anyway.
@rbailey-godaddy rbailey-godaddy merged commit 43b6aed into main Dec 21, 2022
@rbailey-godaddy rbailey-godaddy deleted the python36-again branch December 21, 2022 22:02
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.

None yet

5 participants