Skip to content

Commit

Permalink
Release Pynguin 0.36.0
Browse files Browse the repository at this point in the history
- Remove unused code
- Fix `ruff` warnings
- Add sequence variable for type-evolution tracking
- Add CLI options to ignore methods and modules from analysis (see #62)
  • Loading branch information
stephanlukasczyk committed Apr 2, 2024
1 parent 92c9f39 commit c7e4419
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ for the source-code artifacts of each version.

## Unreleased

## Pynguin 0.36.0

- Remove unused code
- Fix `ruff` warnings
- Add sequence variable for type-evolution tracking
- Add CLI options to ignore methods and modules from analysis (see #62)

## Pynguin 0.35.0

- Fix `TypeError` bug in instrumentation of bytecode (see GitHub PR #51)
Expand Down
22 changes: 6 additions & 16 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
###############################################################################

# Build stage for Pynguin
FROM python:3.10.13-slim-bullseye AS build
FROM python:3.10.14-slim-bullseye AS build
LABEL org.opencontainers.image.authors="Stephan Lukasczyk <stephan@pynguin.eu>"
ENV POETRY_VERSION "1.7.1"
ENV POETRY_VERSION "1.8.2"

WORKDIR /pynguin-build

Expand All @@ -24,11 +24,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
# monitor the output in real time
ENV PYTHONUNBUFFERED 1

# Install git to pull in the latest version of the bytecode library from GitHub
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*

COPY . .

RUN pip install poetry==$POETRY_VERSION \
Expand All @@ -37,11 +32,11 @@ RUN pip install poetry==$POETRY_VERSION \


# Execution stage for Pynguin
FROM python:3.10.13-slim-bullseye AS execute
FROM python:3.10.14-slim-bullseye AS execute

# Set environment variables
# Set the Pynguin version
ENV PYNGUIN_VERSION "0.36.0.dev0"
ENV PYNGUIN_VERSION "0.36.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 All @@ -57,19 +52,14 @@ ENV PYTHONUNBUFFERED 1
# Disable random hash seeding for reproducible runs
ENV PYTHONHASHSEED 0

# Install git to pull in the latest version of the bytecode library from GitHub
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /pynguin

COPY --from=build /pynguin-build/dist/pynguin-${PYNGUIN_VERSION}-py3-none-any.whl .
COPY --from=build /pynguin-build/pynguin-docker.sh .

RUN pip install /pynguin/pynguin-${PYNGUIN_VERSION}-py3-none-any.whl \
typing-extensions==4.8.0 \
mypy==1.6.0
typing-extensions==4.10.0 \
mypy==1.9.0

ENTRYPOINT ["/pynguin/pynguin-docker.sh"]
CMD []
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.36.0.dev"
version = "0.36.0"
description = "Pynguin is a tool for automated unit test generation for Python"
authors = ["Stephan Lukasczyk <stephan@pynguin.eu>"]
license = "MIT"
Expand Down

0 comments on commit c7e4419

Please sign in to comment.