aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.7k stars 581 forks source link

Add support for Python 3.9 #400

Closed hugovk closed 3 years ago

hugovk commented 3 years ago

Description

Please include a summary of the change and which issue is fixed. Also include relevant motivation and context. List any dependencies that are required for this change.

Python 3.9 was released this month (2020-10-05):

I recommend supporting this version too, in addition to 3.6-3.8.

Add a Trove classifier to declare support on PyPI.

It's important to test supported versions, as removed deprecations can otherwise cause surprises, and so add to the CI too.

Contribution Guidelines

Please Read through the Contribution Guidelines.

Fixed Issues

Please mention any issues fixed in the PR by referencing it properly in the commit message. As per the convention, use appropriate keywords such as fixes, closes, resolves to automatically refer the issue. Please consult official github documentation for details.

Fixes https://github.com/aquasecurity/kube-hunter/issues/393

"BEFORE" and "AFTER" output

To verify that the change works as desired, please include an output of terminal before and after the changes under headings "BEFORE" and "AFTER".

BEFORE

Any Terminal Output Before Changes.

n/a

AFTER

Any Terminal Output Before Changes.

n/a

Example run:

Contribution checklist

Notes

Please mention if you have not checked any of the above boxes.

codecov[bot] commented 3 years ago

Codecov Report

Merging #400 (e4a2c09) into master (b6be309) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #400   +/-   ##
=======================================
  Coverage   63.47%   63.47%           
=======================================
  Files          42       42           
  Lines        2289     2289           
=======================================
  Hits         1453     1453           
  Misses        836      836           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b6be309...e4a2c09. Read the comment docs.