Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions articles/_posts/2021-10-14-version-0.13.3-new-features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
layout: post
title: "New Features in 0.13.3"
categories: news
tags: [v0.13.x, release]
excerpt_separator: <!--more-->
author: arcivanov
---
PyBuilder 0.13.3 introduced two new features:

* Resettable integration test Python virtual environment.
* The activated build environments can now be introspected from the project.

<!--more-->

### Resettable Integration Test Environment

Sometimes an integration test modifies its virtual environment by, for example, installing or upgrading packages. This,
naturally, has potential to affect other tests running after it, compromising repeatability.

Setting `integrationtest_python_env_recreate` property to `True` will ensure that the integration test virtual
environment is recreated and repopulated by the PyBuilder prior to every test.

PyBuilder uses this feature
[here](https://github.com/pybuilder/pybuilder/blob/de74b167c6c8ef679ed1f1a1ff79349d004c5785/build.py#L157)
to test itself.

### Build Environment Introspection

PyBuilder allows specifying an environment option (using `-E`) to modify build behavior based on the external
environment in which the build is running. This is most useful when activating plugins that are only useable in the CI
or other special-purpose environments
(
e.g. [coveralls](https://github.com/pybuilder/pybuilder/blob/de74b167c6c8ef679ed1f1a1ff79349d004c5785/src/main/python/pybuilder/plugins/python/coveralls_plugin.py#L32))
.

Now PyBuilder also allows users to introspect activated environments by retrieving `project.environments`.

For more details please see the [v0.13.3 release notes](/release-notes/v0.13.x#version-0133).
12 changes: 12 additions & 0 deletions articles/_release-notes/v0.13.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ list_title: Versions 0.13.x

# Release Notes - Versions 0.13.x

## Version 0.13.3

### New Features

* [#825 Make environment option's content available in tasks as a Project property](https://github.com/pybuilder/pybuilder/issues/825)

### Bugs Fixed

* [#828 Make sure PIP install fails fast and dump logs on failure](https://github.com/pybuilder/pybuilder/issues/828)
* [#822 Unittests get stuck silently if there are non-daemon threads in the test](https://github.com/pybuilder/pybuilder/issues/822)
* [#818 Mix packages and modules in command line parameters for Pylint](https://github.com/pybuilder/pybuilder/issues/818)

## Version 0.13.2

### New Features
Expand Down
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ <h1>
</p>
<p>
<em>PyBuilder</em> runs on Python <strong>3.6 to 3.10 and PyPy</strong>.
Every commit is tested on CPython 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy on Linux, MacOS
(with and without Homebrew) and Windows via
<a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">GitHub Actions</a>.
Every commit is tested via
<a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">GitHub Actions</a>
on CPython 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy on Linux, MacOS
(with and without Homebrew) and Windows.
</p>
<p>
<small>v0.12.x still supports Python 2.7, and 3.5 but is no longer maintained, except for critical fixes.</small>
Expand Down