Skip to content

Commit c35748b

Browse files
committed
Release Pynguin 0.41.0
- Fix `subject_properties` aren't registered when running Pynguin on an imported module - Update documentation (Codestyle, Code Overview) - Add LLM-Agent guidelines - Add PynguinML mode: Parsing and test generation for libraries which require tensor inputs based on API constraints - Add LLM capabilities: Prompting, parsing, and the LLMOSAAlgorithm - Add subprocess execution (cf. GitHub Issue #82): Executing test cases in subprocess adds an overhead but makes Pynguin more crash resistant - Refactor TestCaseExecutor and Observer (cf. GitHub Issue #90): Restructuring observers into main-thread and remote variants to support safe subprocess execution, better performance, and introducing batch test execution and improved error handling for unexposed modules and timeouts - Refactor Tracer (cf. GitHub Issue #89): Proxy tracer to allow for subprocess instrumentation without costly reinstrumentation - Add MaxMemoryStoppingCondition: Graceful termination in case of exceeding a memory threshold - Add probabilistic TypeTracing - Add minimal LLM mode: Minimal LLM test generator using GPT-4o - Improve configuration export - Improve crash-resistance for `getmembers`, importing the SUT, SystemExit in the SUT, loggers of the SUT, and crashes in SUT - Fix bugs related to UnionTypes, lambda parsing, yield statements, getmembers of SUT, import of SUT, and SystemExit in SUT - Improve string distance using left-aligned character distance
1 parent eff3941 commit c35748b

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,33 @@ for the source-code artifacts of each version.
1111

1212
## Unreleased
1313

14+
## Pynguin 0.41.0
15+
16+
- Fix `subject_properties` aren't registered when running Pynguin on an imported module
17+
- Update documentation (Codestyle, Code Overview)
18+
- Add LLM-Agent guidelines
19+
- Add PynguinML mode: Parsing and test generation for libraries which require tensor
20+
inputs based on API constraints
21+
- Add LLM capabilities: Prompting, parsing, and the LLMOSAAlgorithm
22+
- Add subprocess execution (cf. GitHub Issue #82): Executing test cases in subprocess
23+
adds an overhead but makes Pynguin more crash resistant
24+
- Refactor TestCaseExecutor and Observer (cf. GitHub Issue #90): Restructuring observers
25+
into main-thread and remote variants to support safe subprocess execution, better
26+
performance, and introducing batch test execution and improved error handling for
27+
unexposed modules and timeouts
28+
- Refactor Tracer (cf. GitHub Issue #89): Proxy tracer to allow for subprocess
29+
instrumentation without costly reinstrumentation
30+
- Add MaxMemoryStoppingCondition: Graceful termination in case of exceeding a memory
31+
threshold
32+
- Add probabilistic TypeTracing
33+
- Add minimal LLM mode: Minimal LLM test generator using GPT-4o
34+
- Improve configuration export
35+
- Improve crash-resistance for `getmembers`, importing the SUT, SystemExit in the SUT,
36+
loggers of the SUT, and crashes in SUT
37+
- Fix bugs related to UnionTypes, lambda parsing, yield statements, getmembers of SUT,
38+
import of SUT, and SystemExit in SUT
39+
- Improve string distance using left-aligned character distance
40+
1441
## Pynguin 0.40.0
1542

1643
- Provide a (normalised) area under curve for timeline output variables.
@@ -538,7 +565,7 @@ for the source-code artifacts of each version.
538565
- Add a random sampling algorithm based on test cases.
539566

540567
The algorithm is available by setting `--algorithm RANDOM_TEST_CASE_SEARCH`. It
541-
randomly picks one test case, adds all available fitness functions to it and adds
568+
randomly picks one test case, adds all available fitness functions to it, and adds
542569
it to the MOSA archive. If the test case is covering one fitness target it is
543570
retrieved by the archive. If it covers an already covered target but is shorter
544571
than the currently covering test case for that target, it replaces the latter.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ FROM python:3.10.16-slim-bullseye AS execute
3636

3737
# Set environment variables
3838
# Set the Pynguin version
39-
ENV PYNGUIN_VERSION "0.41.0.dev0"
39+
ENV PYNGUIN_VERSION "0.41.0"
4040
# Pynguin requires to set the variable to show it that the user is aware that running
4141
# Pynguin executes third-party code, which could cause arbitrary harm to the system.
4242
# By setting the variable, the user acknowledges that they are aware of this. In the

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[tool.poetry]
66
name = "pynguin"
7-
version = "0.41.0.dev"
7+
version = "0.41.0"
88
description = "Pynguin is a tool for automated unit test generation for Python"
99
authors = [
1010
"Stephan Lukasczyk <stephan@pynguin.eu>",

src/pynguin/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
#
77
"""Specifies the version of Pynguin."""
88

9-
__version__ = "0.41.0.dev"
9+
__version__ = "0.41.0"

0 commit comments

Comments
 (0)