diff --git a/articles/_posts/2021-10-14-version-0.13.3-new-features.md b/articles/_posts/2021-10-14-version-0.13.3-new-features.md new file mode 100644 index 0000000..d5ab83f --- /dev/null +++ b/articles/_posts/2021-10-14-version-0.13.3-new-features.md @@ -0,0 +1,39 @@ +--- +layout: post +title: "New Features in 0.13.3" +categories: news +tags: [v0.13.x, release] +excerpt_separator: +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. + + + +### 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). diff --git a/articles/_release-notes/v0.13.x.md b/articles/_release-notes/v0.13.x.md index c5fd5cf..ff1e043 100644 --- a/articles/_release-notes/v0.13.x.md +++ b/articles/_release-notes/v0.13.x.md @@ -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 diff --git a/index.html b/index.html index 3cfa48c..929dc67 100644 --- a/index.html +++ b/index.html @@ -17,9 +17,10 @@

PyBuilder runs on Python 3.6 to 3.10 and PyPy. - 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 - GitHub Actions. + Every commit is tested via + GitHub Actions + on CPython 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy on Linux, MacOS + (with and without Homebrew) and Windows.

v0.12.x still supports Python 2.7, and 3.5 but is no longer maintained, except for critical fixes.