Merge pull request #57 from enpaul/enp/meta

Update meta ahead of release
This commit is contained in:
Ethan Paul 2021-04-19 23:53:32 -04:00 committed by GitHub
commit e745c7684a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 11 deletions

View File

@ -40,7 +40,7 @@ jobs:
- name: Setup:env - name: Setup:env
run: .github/scripts/setup-env.sh run: .github/scripts/setup-env.sh
- name: Run:${{ matrix.python.toxenv }} - name: Run:${{ matrix.python.toxenv }}
run: $HOME/ci/bin/tox -e ${{ matrix.python.toxenv }} --require-poetry run: $HOME/ci/bin/tox -e ${{ matrix.python.toxenv }} --parallelize-locked-install=10
Check: Check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -63,8 +63,8 @@ jobs:
- name: Setup:env - name: Setup:env
run: .github/scripts/setup-env.sh run: .github/scripts/setup-env.sh
- name: Run:static - name: Run:static
run: $HOME/ci/bin/tox -e static --require-poetry run: $HOME/ci/bin/tox -e static --parallelize-locked-install=10
- name: Run:static-tests - name: Run:static-tests
run: $HOME/ci/bin/tox -e static-tests --require-poetry run: $HOME/ci/bin/tox -e static-tests --parallelize-locked-install=10
- name: Run:security - name: Run:security
run: $HOME/ci/bin/tox -e security --require-poetry run: $HOME/ci/bin/tox -e security --parallelize-locked-install=10

View File

@ -2,6 +2,21 @@
See also: [Github Release Page](https://github.com/enpaul/tox-poetry-installer/releases). See also: [Github Release Page](https://github.com/enpaul/tox-poetry-installer/releases).
## Version 0.7.0
View this release on:
[Github](https://github.com/enpaul/tox-poetry-installer/releases/tag/0.7.0),
[PyPI](https://pypi.org/project/tox-poetry-installer/0.7.0/)
- Add runtime option `--parallelize-locked-install` to support installing locked
dependencies in parallel to speed up test environment creation
- Add config option `require_poetry` to allow per-environment control over whether the
plugin should force an error
- Add unit tests for custom dependency processing and installation
- Update internal logging system to reduce code duplication
- Update documentation to improve readability
- Deprecate runtime option `--require-poetry`
## Version 0.6.4 ## Version 0.6.4
View this release on: View this release on:

View File

@ -1,9 +1,9 @@
[tool.poetry] [tool.poetry]
name = "tox-poetry-installer" name = "tox-poetry-installer"
version = "0.6.4" version = "0.7.0"
license = "MIT" license = "MIT"
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"] authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
description = "Tox plugin to install Tox environment dependencies using the Poetry backend and lockfile" description = "A plugin for Tox that lets you install test environment dependencies from the Poetry lockfile"
repository = "https://github.com/enpaul/tox-poetry-installer/" repository = "https://github.com/enpaul/tox-poetry-installer/"
packages = [ packages = [
{include = "tox_poetry_installer"}, {include = "tox_poetry_installer"},

View File

@ -6,6 +6,7 @@ skip_missing_interpreters = true
[testenv] [testenv]
description = Run the tests description = Run the tests
require_locked_deps = true require_locked_deps = true
require_poetry = true
extras = extras =
poetry poetry
locked_deps = locked_deps =
@ -20,7 +21,6 @@ description = Static formatting and quality enforcement
basepython = python3.8 basepython = python3.8
platform = linux platform = linux
ignore_errors = true ignore_errors = true
require_locked_deps = true
locked_deps = locked_deps =
black black
blacken-docs blacken-docs
@ -41,7 +41,6 @@ description = Static formatting and quality enforcement for the tests
basepython = python3.8 basepython = python3.8
platform = linux platform = linux
ignore_errors = true ignore_errors = true
require_locked_deps = true
locked_deps = locked_deps =
pylint pylint
pytest pytest
@ -55,7 +54,6 @@ description = Security checks
basepython = python3.8 basepython = python3.8
platform = linux platform = linux
ignore_errors = true ignore_errors = true
require_locked_deps = true
locked_deps = locked_deps =
bandit bandit
safety safety

View File

@ -1,7 +1,7 @@
# pylint: disable=missing-docstring # pylint: disable=missing-docstring
__title__ = "tox-poetry-installer" __title__ = "tox-poetry-installer"
__summary__ = "Tox plugin to install Tox environment dependencies using the Poetry backend and lockfile" __summary__ = "A plugin for Tox that lets you install test environment dependencies from the Poetry lockfile"
__version__ = "0.6.4" __version__ = "0.7.0"
__url__ = "https://github.com/enpaul/tox-poetry-installer/" __url__ = "https://github.com/enpaul/tox-poetry-installer/"
__license__ = "MIT" __license__ = "MIT"
__authors__ = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"] __authors__ = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]