You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependencies resolver for multiple python environments as a separate set of dependencies versions (no need to find the max common between py2 and py3 versions)
Dependencies are locked with the special lock file which ensures 100% matching python environments installed in different systems and in different time
pyproject.toml support allows us to have all configurations just in one file (pytest, isort, black, ex setup.py) (with one exception - flake8 still not supports pyproject)
Some examples of workflows with the poetry:
$ poetry install # create virtual env and install project dependencies inside
$ poetry update # updates all dependencies inside all environment to the most recent available versions respecting the deps constraints
$ poetry env use 2.7 && poetry run pytest # run pytest in py2 environment
$ poetry env use 3.8 && poetry run pytest # run pytest in py3 environment
Example of the poetry setup inside pyproject.toml:
This patch introduces support for actors being able to let leapp skip
phases.
Phases can be skipped by an actor using leapp.messaging.commands.SkipPhasesUntilCommand
like this within the process method:
```python
self._messaging.command(SkipPhasesUntilCommand(until_phase='report'))
```
This will make leapp skip phases until it hits the 'report' phase.
Update(pstodulk): including the 'report' phase as well.
Signed-off-by: Vinzenz Feenstra <[email protected]>
Poetry (https://github.com/python-poetry/poetry) is python modern dependency management tool, which is compliant with PEP 517 (pyproject.toml).
Advantages of using poetry for our project:
Some examples of workflows with the poetry:
Example of the poetry setup inside pyproject.toml:
Under the scope:
resolves #504
The text was updated successfully, but these errors were encountered: