Skip to content

Commit

Permalink
Release Pynguin 0.21.0
Browse files Browse the repository at this point in the history
- Fix a bug in the module analysis regarding nested functions

  Nested functions/closures caused Pynguin's module analysis to crash
  with a failing exception.
- Improve the branch-distance computation for `bool` values.
- Allow for more statistics variables regarding number of lines and
  cyclomatic complexity.
  • Loading branch information
stephanlukasczyk committed May 25, 2022
1 parent 2251675 commit 5d6e998
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ for the source-code artifacts of each version.

## Pynguin 0.21.0

- Fix a bug in the module analysis regarding nested functions

Nested functions/closures caused Pynguin's module analysis to crash with an
failing assertion.
- Improve the branch-distance computation for `bool` values
- Allow for more statistics variables regarding number of lines and cyclomatic
complexity

## Pynguin 0.20.1

- Fix a bug in terminating Pynguin due to threading
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FROM python:3.10.4-slim-bullseye AS execute

# Set environment variables
# Set the Pynguin version
ENV PYNGUIN_VERSION "0.21.0.dev0"
ENV PYNGUIN_VERSION "0.21.0"
# Pynguin requires to set the variable to show it that the user is aware that running
# Pynguin executes third-party code, which could cause arbitrary harm to the system.
# By setting the variable, the user acknowledges that they are aware of this. In the
Expand Down
2 changes: 1 addition & 1 deletion pynguin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
StatisticsBackend = config.StatisticsBackend
TypeInferenceStrategy = config.TypeInferenceStrategy

__version__ = "0.21.0.dev"
__version__ = "0.21.0"
__all__ = [
"set_configuration",
"run_pynguin",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[tool.poetry]
name = "pynguin"
version = "0.21.0.dev"
version = "0.21.0"
description = "Pynguin is a tool for automated unit test generation for Python"
authors = ["Stephan Lukasczyk <[email protected]>"]
license = "LGPL-3.0-or-later"
Expand Down

0 comments on commit 5d6e998

Please sign in to comment.