Green

Latest version: v4.0.2

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 16

3.1.2

4 May 2020

- Fix a crash that could occur during cleanup on unusual filesystems on
Python 2. Note that Python 2 is still not supported...but might as well fix
stuff if it is easy to fix. :-) Resolves 221.

3.1.1

22 April 2020

- Fixed a hang that sometimes occurs in Python 3.8.0-3.8.2 due to a bug in upstream Python
- Upstream bug report: https://bugs.python.org/issue39360
- Upstream fix in main: https://github.com/python/cpython/pull/19009
- Upstream fix in 3.8 branch (Maybe gets included in 3.8.3?): https://github.com/python/cpython/pull/19023
- Fixed behavior of raising SkipTest in a setUpClass class method on Python >= 3.8

3.1.0

3 Jan 2020

- You can now financially support Green by sponsoring CleanCut at
https://github.com/sponsors/CleanCut

- Added support for DocTests. I got interested in why charles-l's attempt to
crash instead of hang when doctests were encountered didn't work, and ended
up just adding support as a feature. To parse/run doctests for a particular
module, in a _test_ module add `doctest_modules = [ ... ]` where each item
is (preferably) an imported module or a dotted string representing a module
to be imported that contains tests in docstrings. Resolves 88, 214.

- Fixed a crash and a test failure that could occur with Coverage 5.x

- Updated TravisCI builds with Python 3.8 on Linux and Xcode 11.3 on macOS.

3.0.0

26 Aug 2019

- Dropped support for Python 2.7. Green might still continue working on 2.7,
and I'll accept patches to keep it working if anyone submits them, but I'm
removing 2.7 from the test matrix. Ten years ago I thought this day would
never come...but it finally has!

- Fixed handling of green 'verbose' Django args. Contributed by mammadori
in 209.

2.16.1

29 Apr 2019

- Fixed a crash that could occur when attempting to load tests from files that
Green lacks permissions to access. Contributed by jrabbit in 205.

2.16.0

25 Apr 2019

- Added `-m/--minimum-coverage` to print a message and exit nonzero if a
certain coverage percentage isn't met. Resolves 135.
- Added `-g/--cov-config-file` to pass through a custom coverage config file
location. Note that if you do not specify this option, coverage already
looks for its config files in the standard locations, this just adds the
option to specify a specific, custom config file. Resolves 168.

Page 4 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.