Skip to content

Commit 30c3aeb

Browse files
authored
Merge pull request #79 from pybuilder/release_0.13.3
Release 0.13.3
2 parents 7d01b80 + df49d51 commit 30c3aeb

File tree

3 files changed

+55
-3
lines changed

3 files changed

+55
-3
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: post
3+
title: "New Features in 0.13.3"
4+
categories: news
5+
tags: [v0.13.x, release]
6+
excerpt_separator: <!--more-->
7+
author: arcivanov
8+
---
9+
PyBuilder 0.13.3 introduced two new features:
10+
11+
* Resettable integration test Python virtual environment.
12+
* The activated build environments can now be introspected from the project.
13+
14+
<!--more-->
15+
16+
### Resettable Integration Test Environment
17+
18+
Sometimes an integration test modifies its virtual environment by, for example, installing or upgrading packages. This,
19+
naturally, has potential to affect other tests running after it, compromising repeatability.
20+
21+
Setting `integrationtest_python_env_recreate` property to `True` will ensure that the integration test virtual
22+
environment is recreated and repopulated by the PyBuilder prior to every test.
23+
24+
PyBuilder uses this feature
25+
[here](https://github.com/pybuilder/pybuilder/blob/de74b167c6c8ef679ed1f1a1ff79349d004c5785/build.py#L157)
26+
to test itself.
27+
28+
### Build Environment Introspection
29+
30+
PyBuilder allows specifying an environment option (using `-E`) to modify build behavior based on the external
31+
environment in which the build is running. This is most useful when activating plugins that are only useable in the CI
32+
or other special-purpose environments
33+
(
34+
e.g. [coveralls](https://github.com/pybuilder/pybuilder/blob/de74b167c6c8ef679ed1f1a1ff79349d004c5785/src/main/python/pybuilder/plugins/python/coveralls_plugin.py#L32))
35+
.
36+
37+
Now PyBuilder also allows users to introspect activated environments by retrieving `project.environments`.
38+
39+
For more details please see the [v0.13.3 release notes](/release-notes/v0.13.x#version-0133).

articles/_release-notes/v0.13.x.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ list_title: Versions 0.13.x
66

77
# Release Notes - Versions 0.13.x
88

9+
## Version 0.13.3
10+
11+
### New Features
12+
13+
* [#825 Make environment option's content available in tasks as a Project property](https://github.com/pybuilder/pybuilder/issues/825)
14+
15+
### Bugs Fixed
16+
17+
* [#828 Make sure PIP install fails fast and dump logs on failure](https://github.com/pybuilder/pybuilder/issues/828)
18+
* [#822 Unittests get stuck silently if there are non-daemon threads in the test](https://github.com/pybuilder/pybuilder/issues/822)
19+
* [#818 Mix packages and modules in command line parameters for Pylint](https://github.com/pybuilder/pybuilder/issues/818)
20+
921
## Version 0.13.2
1022

1123
### New Features

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ <h1>
1717
</p>
1818
<p>
1919
<em>PyBuilder</em> runs on Python <strong>3.6 to 3.10 and PyPy</strong>.
20-
Every commit is tested on CPython 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy on Linux, MacOS
21-
(with and without Homebrew) and Windows via
22-
<a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">GitHub Actions</a>.
20+
Every commit is tested via
21+
<a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">GitHub Actions</a>
22+
on CPython 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy on Linux, MacOS
23+
(with and without Homebrew) and Windows.
2324
</p>
2425
<p>
2526
<small>v0.12.x still supports Python 2.7, and 3.5 but is no longer maintained, except for critical fixes.</small>

0 commit comments

Comments
 (0)