Skip to content

Commit 79113d2

Browse files
committed
Changes after release 0.10.0
- changed dev version to be PEP 440 conform
1 parent cc73c47 commit 79113d2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
## [Version 0.10.0](https://pypi.org/project/pytest-order/0.10.0/) (2021-03-18)
6+
Adds support for class-level relative markers and directory level scope.
7+
58
### New features
69
- added support for class level relative markers,
710
see [#7](https://github.com/pytest-dev/pytest-order/issues/7)

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
_pytest-order_ - a pytest plugin to order test execution
22
========================================================
33

4-
[![PyPI version](https://badge.fury.io/py/pytest-order.svg)](https://pypi
5-
.org/project/pytest-order) [![Testsuite](https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite) [![DocBuild](https://github.com/pytest-dev/pytest-order/workflows/DocBuild/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ADocBuild) [![codecov](https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU)](https://codecov.io/gh/pytest-dev/pytest-order) [![Python version](https://img.shields.io/pypi/pyversions/pytest-order.svg)](https://pypi.org/project/pytest-order)
4+
[![PyPI version](https://badge.fury.io/py/pytest-order.svg)](https://pypi.org/project/pytest-order) [![Testsuite](https://github.com/pytest-dev/pytest-order/workflows/Testsuite/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ATestsuite) [![DocBuild](https://github.com/pytest-dev/pytest-order/workflows/DocBuild/badge.svg)](https://github.com/pytest-dev/pytest-order/actions?query=workflow%3ADocBuild) [![codecov](https://codecov.io/gh/pytest-dev/pytest-order/branch/main/graph/badge.svg?token=M9PHWZSHUU)](https://codecov.io/gh/pytest-dev/pytest-order) [![Python version](https://img.shields.io/pypi/pyversions/pytest-order.svg)](https://pypi.org/project/pytest-order)
65

76
`pytest-order` is a pytest plugin that allows you to customize the order in which
87
your tests are run. It uses the marker `order` that defines when a specific

pytest_order/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0dev"
1+
__version__ = "1.0.dev0"

tests/test_misc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_version_exists():
1111

1212

1313
def test_version_valid():
14-
assert re.match(r"[0-9]+\.[0-9]+(\.[0-9]+)?(dev)?$",
14+
# check for PEP 440 conform version
15+
assert re.match(r"\d+(\.\d)*((a|b|rc)\d+)?(\.post\d)?(\.dev\d)$",
1516
pytest_order.__version__)
1617

1718

0 commit comments

Comments
 (0)