2020-09-23 06:16:20 +00:00
# tox-poetry-installer
2021-04-17 02:52:30 +00:00
A plugin for [Tox ](https://tox.readthedocs.io/en/latest/ ) that lets you install test
environment dependencies from the [Poetry ](https://python-poetry.org/ ) lockfile.
2020-09-24 01:42:41 +00:00
2021-02-10 05:28:56 +00:00
[![CI Status ](https://github.com/enpaul/tox-poetry-installer/workflows/CI/badge.svg?event=push )](https://github.com/enpaul/tox-poetry-installer/actions)
2021-04-20 03:29:16 +00:00
[![PyPI Version ](https://img.shields.io/pypi/v/tox-poetry-installer )](https://pypi.org/project/tox-poetry-installer/)
[![PyPI Downloads ](https://img.shields.io/pypi/dm/tox-poetry-installer )](https://libraries.io/pypi/tox-poetry-installer)
[![License ](https://img.shields.io/pypi/l/tox-poetry-installer )](https://opensource.org/licenses/MIT)
2021-02-10 05:28:56 +00:00
[![Python Supported Versions ](https://img.shields.io/pypi/pyversions/tox-poetry-installer )](https://www.python.org)
2020-09-28 00:59:41 +00:00
[![Code style: black ](https://img.shields.io/badge/code%20style-black-000000.svg )](https://github.com/psf/black)
2020-09-24 00:42:27 +00:00
2021-04-17 02:52:30 +00:00
⚠️ **This project is beta software and is under active development** ⚠️
## Documentation
- [Feature Overview ](#feature-overview )
- [Using the Plugin ](#user-documentation )
- [Installing ](#installing )
- [Quick Start ](#quick-start )
- [References ](#references )
- [Config Options ](#configuration-options )
- [Runtime Options ](#runtime-options )
- [Errors ](#errors )
- [Other Notes ](#other-notes )
- [Unsupported Tox config options ](#unsupported-tox-config-options )
- [Updating locked dependencies in a testenv ](#updating-locked-dependencies-in-a-testenv )
- [Using with an unmanaged Poetry installation ](#using-with-an-unmanaged-poetry-installation )
- [Developing the Plugin ](#developer-documentation )
- [Road Map ](#road-map )
2021-04-16 05:22:18 +00:00
See the
[Changelog ](https://github.com/enpaul/tox-poetry-installer/blob/devel/CHANGELOG.md ) for
release history.
2021-01-17 02:39:34 +00:00
2023-03-29 23:16:33 +00:00
*See also: [official Tox plugins ](https://tox.readthedocs.io/en/latest/plugins.html ) and [the official Poetry documentation on using Tox ](https://python-poetry.org/docs/faq/#is-tox-supported )*
2020-09-24 01:42:41 +00:00
2021-04-17 02:52:30 +00:00
## Feature Overview
- Manage package versions in exactly one place and with exactly one tool: Poetry.
- Ensure CI/CD and other automation tools are using the same package versions that you are
in your local development environment.
2022-10-03 21:57:42 +00:00
- Add only the packages or custom groups you need to a Tox test environment, instead of
everything in your lockfile.
- Directly integrate with Poetry, re-using your existing package indexes and credentials,
2021-04-17 02:52:30 +00:00
with no additional configuration.
- Wherever possible, built-in Tox config options are always respected and their behavior
kept consistent.
- Extremely configurable. Every feature can be disabled or enabled for any given Tox test
environment.
- Friendly to other Tox plugins and supports a wide range of environments.
## User Documentation
*This section is for users looking to integrate the plugin with their project or CI system. For information on contributing to the plugin please see the [Developer Docs ](#developer-documentation )*
### Installing
The recommended way to install the plugin is to add it to a project using Poetry:
2020-12-05 22:49:06 +00:00
```bash
2023-03-29 23:16:33 +00:00
poetry add -G dev tox-poetry-installer[poetry]
2020-09-24 00:42:27 +00:00
```
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** Always install the plugin with the `[poetry]` extra, unless you are
2021-04-17 02:52:30 +00:00
> [managing the Poetry installation yourself](#externally-managed-poetry-installation).
2020-12-05 22:49:06 +00:00
2021-04-17 02:52:30 +00:00
Alternatively, it can be installed directly to a virtual environment using Pip, though
this is not recommended:
2020-09-27 01:25:59 +00:00
2020-12-05 22:49:06 +00:00
```bash
2021-04-17 02:52:30 +00:00
source somevenv/bin/activate
pip install tox-poetry-installer
2020-09-27 01:25:59 +00:00
```
2020-12-05 22:49:06 +00:00
2021-04-17 02:52:30 +00:00
Alternatively alternatively, it can be installed using the Tox
[`requires` ](https://tox.readthedocs.io/en/latest/config.html#conf-requires ) option by
adding the below to `tox.ini` , though this is also not recommended:
2020-12-05 22:49:06 +00:00
```ini
2021-04-17 02:52:30 +00:00
requires =
2023-03-29 23:16:33 +00:00
tox-poetry-installer[poetry] == 0.10.2
2020-09-27 01:25:59 +00:00
```
2021-04-17 02:52:30 +00:00
After installing, check that Tox recognizes the plugin by running
`poetry run tox --version` . The command should give output similar to below:
2020-09-27 01:25:59 +00:00
```
2023-03-29 23:16:33 +00:00
3.20.0 imported from .venv/lib64/python3.10/site-packages/tox/__init__.py
2020-12-05 22:49:06 +00:00
registered plugins:
2023-03-29 23:16:33 +00:00
tox-poetry-installer-0.10.2 at .venv/lib64/python3.10/site-packages/tox_poetry_installer/__init__.py
2020-09-27 01:25:59 +00:00
```
2020-12-05 22:49:06 +00:00
### Quick Start
2020-09-27 18:51:12 +00:00
2021-04-17 02:52:30 +00:00
Congratulations! 🎉 Just by installing the plugin your Tox config is already using locked
dependencies: when Tox builds and installs your project package to a test environment,
your project package's dependencies will be installed from the lockfile.
2020-09-27 18:51:12 +00:00
2021-04-17 02:52:30 +00:00
Now lets update an example `tox.ini` to install the other test environment dependencies
from the lockfile.
A `testenv` from the example `tox.ini` we're starting with is below:
2020-09-27 18:51:12 +00:00
```ini
[testenv]
2020-11-12 23:45:02 +00:00
description = Some very cool tests
2021-04-17 02:52:30 +00:00
deps =
black == 20.8b1
pylint >=2.4.4,< 2.7.0
mypy < 0.800
2020-09-27 18:51:12 +00:00
commands = ...
```
2021-04-17 02:52:30 +00:00
To update the config so that the testenv dependencies are installed from the lockfile, we
can replace the built-in
[`deps` ](https://tox.readthedocs.io/en/latest/config.html#conf-deps ) option with the
`locked_deps` option provided by the plugin, and then remove the inline version
specifiers. With these changes the three testenv dependencies (as well as all of their
dependencies) will be installed from the lockfile when the test environment is recreated:
2020-09-27 18:51:12 +00:00
```ini
[testenv]
2020-11-12 23:45:02 +00:00
description = Some very cool tests
locked_deps =
black
pylint
mypy
2020-09-27 18:51:12 +00:00
commands = ...
```
2021-04-17 02:52:30 +00:00
We can also add the `require_locked_deps` option to the test environment. This will both
block any other install tools (another plugin or Tox itself) from installing dependencies
to the Tox environment and also cause Tox to fail if the test environment also uses the
built-in [`deps` ](https://tox.readthedocs.io/en/latest/config.html#conf-deps ) option:
2020-12-05 22:49:06 +00:00
```ini
[testenv]
description = Some very cool tests
2021-04-17 02:52:30 +00:00
require_locked_deps = true
locked_deps =
black
pylint
mypy
commands = ...
2020-12-05 22:49:06 +00:00
```
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** Settings configured on the main `testenv` environment are inherited by child
2021-04-17 02:52:30 +00:00
> test environments (for example, `testenv:foo`). To override this, specify the setting in
> the child environment with a different value.
2020-12-05 22:49:06 +00:00
2021-04-17 02:52:30 +00:00
Alternatively, we can skip specifying all of our dependencies for a test environment in
2022-10-03 22:02:11 +00:00
the Tox config and install Poetry dependency groups directly:
2020-12-05 22:49:06 +00:00
```ini
[testenv]
description = Some very cool tests
2021-04-17 02:52:30 +00:00
require_locked_deps = true
2022-10-03 22:02:11 +00:00
poetry_dep_groups =
dev
2021-04-17 02:52:30 +00:00
commands = ...
2020-12-05 22:49:06 +00:00
```
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The `install_dev_deps` configuration option is deprecated. See [Configuration
2023-03-01 21:55:21 +00:00
> Options](#configuration-options) for more information.
2022-10-03 22:02:11 +00:00
2021-04-17 02:52:30 +00:00
Finally, we can also install an unlocked dependency (a dependency which doesn't take its
version from the Poetry lockfile) into the test environment alongside the locked ones. We
need to remove the `require_locked_deps = true` option, otherwise the environment will
error, and then we can add the unlocked dependency using the built-in
[`deps` ](https://tox.readthedocs.io/en/latest/config.html#conf-deps ) option:
2020-12-05 22:49:06 +00:00
```ini
[testenv]
description = Some very cool tests
2021-04-17 02:52:30 +00:00
deps =
pytest >= 5.6.0,< 6.0.0
2020-12-05 22:49:06 +00:00
locked_deps =
2021-04-17 02:52:30 +00:00
black
pylint
mypy
commands = ...
2020-12-05 22:49:06 +00:00
```
2020-10-28 20:26:31 +00:00
2021-04-17 02:52:30 +00:00
## References
2020-09-27 01:25:59 +00:00
2020-12-05 20:41:34 +00:00
### Configuration Options
2020-09-27 01:25:59 +00:00
2020-11-12 23:58:50 +00:00
All options listed below are Tox environment options and can be applied to one or more
environment sections of the `tox.ini` file. They cannot be applied to the global Tox
configuration section.
2020-09-27 01:25:59 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** Settings configured on the main `testenv` environment are inherited by child
2021-04-17 02:52:30 +00:00
> test environments (for example, `testenv:foo`). To override this, specify the setting in
> the child environment with a different value.
2020-09-27 01:25:59 +00:00
2021-05-05 20:37:10 +00:00
| Option | Type | Default | Description |
| :--------------------- | :-----: | :-----: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `locked_deps` | List | `[]` | Names of packages to install to the test environment from the Poetry lockfile. Transient dependencies (packages required by these dependencies) are automatically included. |
| `require_locked_deps` | Boolean | False | Whether the plugin should block attempts to install unlocked dependencies to the test environment. If enabled, then the [`tox_testenv_install_deps` ](https://tox.readthedocs.io/en/latest/plugins.html#tox.hookspecs.tox_testenv_install_deps ) plugin hook will be intercepted and an error will be raised if the test environment has the `deps` option configured. |
| `install_project_deps` | Boolean | True | Whether all of the Poetry primary dependencies for the project package should be installed to the test environment. |
| `require_poetry` | Boolean | False | Whether Tox should be forced to fail if the plugin cannot import Poetry locally. If `False` then the plugin will be skipped for the test environment if Poetry cannot be imported. If `True` then the plugin will force the environment to error and the Tox run to fail. |
2022-09-15 11:17:45 +00:00
| `poetry_dep_groups` | List | `[]` | Names of Poetry dependency groups specified in `pyproject.toml` to install to the test environment. |
2020-09-27 01:25:59 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The `install_dev_deps` configuration option is deprecated and will be removed
> in version 1.0.0. Please set `poetry_dep_groups = [dev]` in `tox.ini` for environments
> that install the development dependencies.
2022-10-03 21:57:42 +00:00
2021-04-17 02:52:30 +00:00
### Runtime Options
2020-09-27 01:25:59 +00:00
2021-04-17 02:52:30 +00:00
All arguments listed below can be passed to the `tox` command to modify runtime behavior
of the plugin.
2020-09-27 01:25:59 +00:00
2021-05-05 20:26:36 +00:00
| Argument | Type | Default | Description |
| :--------------------------- | :-----: | :-----: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--parallel-install-threads` | Integer | `10` | Number of worker threads to use to install dependencies in parallel. Installing in parallel with more threads can greatly speed up the install process, but can cause race conditions during install. Pass this option with the value `0` to entirely disable parallel installation. |
2020-12-05 20:41:34 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The `--require-poetry` runtime option is deprecated and will be removed in
2021-04-20 03:17:20 +00:00
> version 1.0.0. Please set `require_poetry = true` in `tox.ini` for environments that
> should fail if Poetry is not available.
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The `--parallelize-locked-install` option is deprecated and will be removed
> in version 1.0.0. Please use the `--parallel-install-threads` option.
2021-05-05 20:26:36 +00:00
2021-04-17 02:52:30 +00:00
### Errors
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
There are several errors that the plugin can encounter for a test environment when Tox is
run. If an error is encountered then the status of the test environment that caused the
error will be set to one of the "Status" values below to indicate what the error was.
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
| Status/Name | Cause |
| :------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `ExtraNotFoundError` | Indicates that the [`extras` ](https://tox.readthedocs.io/en/latest/config.html#conf-extras ) config option specified an extra that is not configured by Poetry in `pyproject.toml` . |
| `LockedDepVersionConflictError` | Indicates that an item in the `locked_deps` config option includes a [PEP-508 version specifier ](https://www.python.org/dev/peps/pep-0508/#grammar ) (ex: `pytest >=6.0, <6.1` ). |
| `LockedDepNotFoundError` | Indicates that an item specified in the `locked_deps` config option does not match the name of a package in the Poetry lockfile. |
| `LockedDepsRequiredError` | Indicates that a test environment with the `require_locked_deps` config option set to `true` also specified unlocked dependencies using the [`deps` ](https://tox.readthedocs.io/en/latest/config.html#conf-deps ) config option. |
2022-05-21 16:57:36 +00:00
| `PoetryNotInstalledError` | Indicates that the `poetry` module could not be imported under the current runtime environment, and `require_poetry = true` was specified. |
2021-10-29 00:21:03 +00:00
| `RequiresUnsafeDepError` | Indicates that the package-under-test depends on a package that Poetry has classified as unsafe and cannot be installed. |
2020-12-05 20:41:34 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** One or more of these errors can be caused by the `pyproject.toml` being out
> of sync with the Poetry lockfile. If this is the case, than a warning will be logged when
> Tox is run.
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
### Other Notes
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
#### Unsupported Tox config options
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
Below are the built-in Tox config options that are not respected by this plugin. All of
these options are made obsolete by the Poetry lockfile: either they aren't needed or their
equivalent functionality is instead taken directly from the package details Poetry stores
in its lockfile.
2020-12-05 20:41:34 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The unsupported Tox config options will still apply to unlocked dependencies
2021-04-17 02:52:30 +00:00
> being installed with the default Tox installation backend.
2020-09-24 01:42:41 +00:00
2021-04-16 05:22:18 +00:00
- [`install_command` ](https://tox.readthedocs.io/en/latest/config.html#conf-install_command )
- [`pip_pre` ](https://tox.readthedocs.io/en/latest/config.html#conf-pip_pre )
- [`download` ](https://tox.readthedocs.io/en/latest/config.html#conf-download )
- [`indexserver` ](https://tox.readthedocs.io/en/latest/config.html#conf-indexserver )
- [`usedevelop` ](https://tox.readthedocs.io/en/latest/config.html#conf-indexserver )
2020-09-24 01:42:41 +00:00
2021-04-17 02:52:30 +00:00
#### Updating locked dependencies in a testenv
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
When Poetry updates the version of a package in the lockfile (using either `poetry lock`
or `poetry update` ) then the plugin will automatically use this new version to install the
package to a test environment; there is no need to manually update `tox.ini` after
updating the Poetry lockfile.
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
However, the plugin cannot determine when the lockfile is updated. If a Tox test
environment has already been created then it will need to be recreated (using Tox's
built-in
[`--recreate` ](https://tox.readthedocs.io/en/latest/example/basic.html#forcing-re-creation-of-virtual-environments )
option) for the new version to be found and installed.
2020-12-05 20:41:34 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** To force Tox to always recreate a test environment the
2021-04-17 02:52:30 +00:00
> [`recreate`](https://tox.readthedocs.io/en/latest/config.html#conf-recreate) config option
> can be set.
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
#### Using with an unmanaged Poetry installation
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
In CI/CD systems, automation environments, or other Python environments where the loaded
site packages are not managed by Poetry, it can be useful to manage the local installation
of Poetry externally. This also helps to avoid problems that can be caused by the
2023-03-29 23:16:33 +00:00
`--no-root` , `--without dev` , or `--sync` arguments to the `poetry install` command which,
in some situations, can cause Poetry to uninstall itself if Poetry is specified as a
dependency of one of the packages it is managing (like this plugin). To support these use
cases, this plugin specifies the `poetry` package as an optional dependency that can be
installed using a setuptools extra also named `poetry` .
2020-12-05 20:41:34 +00:00
2023-03-29 23:16:33 +00:00
> ⚠️ **Warning:** This plugin requires Poetry to function. If the plugin is installed
> without the `poetry` setuptools extra then Poetry must be installed independently for the
> plugin to function properly.
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
To skip installing the `poetry` package as a dependency of `tox-poetry-installer` , do not
specify the `poetry` extra when adding the plugin:
2020-12-05 20:41:34 +00:00
```bash
2021-04-17 02:52:30 +00:00
# Adding the package without the "[poetry]" extra specifier so that
# Poetry is not added as a transient dev-dependency:
2023-03-29 23:16:33 +00:00
poetry add -G dev tox-poetry-installer
2020-12-05 20:41:34 +00:00
2021-04-17 02:52:30 +00:00
# Adding the package with the "[poetry]" extra specifier, so the Poetry
# package will be added to the environment and tracked in the lockfile:
2023-03-29 23:16:33 +00:00
poetry add -G dev tox-poetry-installer[poetry]
2020-12-05 20:41:34 +00:00
```
2021-04-17 02:52:30 +00:00
Once the plugin is installed- either with or without the Poetry extra- you can validate
that the plugin will run correctly with the following command. This command checks that
all three required components (Tox, Poetry, and the plugin itself) are available in the
current Python environment:
2020-12-05 20:41:34 +00:00
```bash
python -c '\
import tox;\
import tox_poetry_installer;\
from poetry.poetry import Poetry;\
'
```
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** To force Tox to fail if Poetry is not installed, add the
> `require_poetry = true` option to the tox `[testenv]` configuration. See the
2021-12-04 16:33:24 +00:00
> [Config Options](#configuration-options) for more information.
2020-09-24 02:05:32 +00:00
2021-04-17 02:52:30 +00:00
## Developer Documentation
2020-09-24 01:42:41 +00:00
2021-04-17 02:52:30 +00:00
All project contributors and participants are expected to adhere to the
[Contributor Covenant Code of Conduct, v2 ](CODE_OF_CONDUCT.md ) ([external link](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)).
2021-04-16 05:22:18 +00:00
2021-04-17 02:52:30 +00:00
The `devel` branch has the latest (and potentially unstable) changes. The stable releases
are tracked on [Github ](https://github.com/enpaul/tox-poetry-installer/releases ),
[PyPi ](https://pypi.org/project/tox-poetry-installer/#history ), and in the
[Changelog ](CHANGELOG.md ).
2020-09-24 01:42:41 +00:00
2021-04-17 02:52:30 +00:00
- To report a bug, request a feature, or ask for assistance, please
[open an issue on the Github repository ](https://github.com/enpaul/tox-poetry-installer/issues/new ).
- To report a security concern or code of conduct violation, please contact the project
author directly at ** me \[at \] enp dot one** .
- To submit an update, please
[fork the repository ](https://docs.github.com/en/enterprise/2.20/user/github/getting-started-with-github/fork-a-repo )
and [open a pull request ](https://github.com/enpaul/tox-poetry-installer/compare ).
2023-03-29 23:16:33 +00:00
Developing this project requires [Python 3.10+ ](https://www.python.org/downloads/ ) and
[Poetry 1.4 ](https://python-poetry.org/docs/#installation ) or later. GNU Make can
2021-04-17 02:52:30 +00:00
optionally be used to quickly setup a local development environment, but this is not
required.
To setup a local development environment:
2020-12-05 23:04:14 +00:00
2020-09-24 01:42:41 +00:00
```bash
# Clone the repository...
# ...over HTTPS
git clone https://github.com/enpaul/tox-poetry-installer.git
# ...over SSH
git clone git@github.com:enpaul/tox-poetry-installer.git
2020-09-23 06:50:51 +00:00
2021-01-27 23:00:24 +00:00
cd tox-poetry-installer/
2020-09-24 01:42:41 +00:00
2022-09-07 19:45:55 +00:00
# Create and configure the local development environment
2021-01-27 23:00:24 +00:00
make dev
2020-09-24 01:42:41 +00:00
2022-09-07 19:45:55 +00:00
# Run tests and CI locally
2021-01-27 23:00:24 +00:00
make test
2021-04-17 02:52:30 +00:00
# See additional make targets
2021-01-27 23:00:24 +00:00
make help
2020-09-24 01:42:41 +00:00
```
2020-09-24 01:59:01 +00:00
2023-03-29 23:16:33 +00:00
> ℹ ️ **Note:** The pre-commit hooks require dependencies in the Poetry environment to run.
> To make a commit with the pre-commit hooks, you will need to run `poetry run git commit`
> or, alternatively,
> [launch an environment shell](https://python-poetry.org/docs/cli/#shell).
2020-09-24 02:05:32 +00:00
2021-04-17 02:52:30 +00:00
## Road Map
2020-09-24 02:05:32 +00:00
2020-12-05 23:09:01 +00:00
This project is under active development and is classified as beta software, ready for
production environments on a provisional basis only.
2020-09-24 02:05:32 +00:00
2021-04-16 05:22:18 +00:00
- Beta classification was assigned with
[v0.6.0 ](https://github.com/enpaul/tox-poetry-installer/releases/tag/0.6.0 )
- Stable classification will be assigned when the test suite covers an acceptable number of
2020-09-24 02:05:32 +00:00
use cases
### Path to Beta
2021-04-16 05:22:18 +00:00
- [x] Verify that primary package dependencies (from the `.package` env) are installed
correctly using the Poetry backend.
- [x] Support the [`extras` ](https://tox.readthedocs.io/en/latest/config.html#conf-extras ) Tox
configuration option ([#4](https://github.com/enpaul/tox-poetry-installer/issues/4))
- [x] Add per-environment Tox configuration option to fall back to default installation
backend.
2020-12-05 23:04:14 +00:00
- [ ] ~Add warnings when an unsupported Tox configuration option is detected while using the
2021-04-16 05:22:18 +00:00
Poetry backend.~ ([#5](https://github.com/enpaul/tox-poetry-installer/issues/5))
- [x] Add trivial tests to ensure the project metadata is consistent between the pyproject.toml
and the module constants.
- [x] Update to use [poetry-core ](https://github.com/python-poetry/poetry-core ) and improve
robustness of the Tox and Poetry module imports to avoid potentially breaking API changes
in upstream packages. ([#2](https://github.com/enpaul/tox-poetry-installer/issues/2))
- [ ] ~Find and implement a way to mitigate the
[UNSAFE_DEPENDENCIES issue ](https://github.com/python-poetry/poetry/issues/1584 ) in
Poetry.~ ([#6](https://github.com/enpaul/tox-poetry-installer/issues/6))
- [x] Fix logging to make proper use of Tox's logging reporter infrastructure ([#3](https://github.com/enpaul/tox-poetry-installer/issues/3))
- [x] Add configuration option for installing all dev-dependencies to a testenv ([#14](https://github.com/enpaul/tox-poetry-installer/issues/14))
2020-09-24 02:05:32 +00:00
### Path to Stable
Everything in Beta plus...
2021-01-27 23:05:58 +00:00
- [ ] Fully replace dependency on `poetry` with dependency on `poetry-core` ([#2](https://github.com/enpaul/tox-poetry-installer/issues/2))
2021-04-17 02:52:30 +00:00
- [x] Add comprehensive unit tests
2022-01-05 06:41:43 +00:00
- [ ] ~Add tests for each feature version of Tox between 3.8 and 3.20~
2021-04-16 05:22:18 +00:00
- [x] Add tests for Python-3.6, 3.7, 3.8, and 3.9
- [x] Add Github Actions based CI