Version 4.1.0 (also fix the way we release)
This commit is contained in:
parent
98f67019de
commit
3dce929a77
|
@ -3,6 +3,9 @@ Changelog
|
|||
|
||||
Unreleased
|
||||
-----------
|
||||
|
||||
4.1.0
|
||||
-----------
|
||||
- `when` and `then` steps now can provide a `target_fixture`, just like `given` does. Discussion at https://github.com/pytest-dev/pytest-bdd/issues/402.
|
||||
- Drop compatibility for python 2 and officially support only python >= 3.6.
|
||||
- Fix error when using `--cucumber-json-expanded` in combination with `example_converters` (marcbrossaissogeti).
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# How to make a release
|
||||
|
||||
```shell
|
||||
python -m pip install --upgrade build twine
|
||||
|
||||
# cleanup the ./dist folder
|
||||
rm -rf ./dist
|
||||
|
||||
# Build the distributions
|
||||
python -m build
|
||||
|
||||
# Upload them
|
||||
|
||||
twine upload dist/*
|
||||
```
|
|
@ -1,3 +1,7 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=42", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
target-version = ['py36', 'py37', 'py38']
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
from pytest_bdd.steps import given, when, then
|
||||
from pytest_bdd.scenario import scenario, scenarios
|
||||
|
||||
__version__ = "4.0.2"
|
||||
__version__ = "4.1.0"
|
||||
|
||||
__all__ = [given.__name__, when.__name__, then.__name__, scenario.__name__, scenarios.__name__]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[metadata]
|
||||
name = pytest-bdd
|
||||
description = BDD for pytest
|
||||
long_description = file: README.rst, AUTHORS.rst, CHANGES.rst
|
||||
long_description = file: README.rst, AUTHORS.rst
|
||||
long_description_content_type = text/x-rst
|
||||
author = Oleg Pidsadnyi, Anatoly Bubenkov and others
|
||||
license = MIT license
|
||||
|
@ -43,6 +43,3 @@ pytest11 =
|
|||
pytest-bdd = pytest_bdd.plugin
|
||||
console_scripts =
|
||||
pytest-bdd = pytest_bdd.scripts:main
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
|
Loading…
Reference in New Issue