Skip to content

Commit 7278e9a

Browse files
Bump version
Version
2 parents 20a48c0 + f209e6a commit 7278e9a

File tree

11 files changed

+14
-25
lines changed

11 files changed

+14
-25
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
[bumpversion]
2-
current_version = 0.1.0
2+
current_version = 0.0.115
33
commit = True
44
tag = True
55

66
[bumpversion:file:setup.py]
77
search = version={current_version}
88
replace = version={new_version}
99

10-
[bumpversion:file:README.rst]
11-
search = v{current_version}.
12-
replace = v{new_version}.
13-
1410
[bumpversion:file:docs/conf.py]
1511
search = version = release = {current_version}
1612
replace = version = release = {new_version}
1713

1814
[bumpversion:file:src/mario/__init__.py]
19-
search = __version__ = {current_version}
20-
replace = __version__ = {new_version}
15+
search = __version__ = "{current_version}"
16+
replace = __version__ = "{new_version}"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
year = "2019"
2929
author = "mario contributors"
3030
copyright = "{0}, {1}".format(year, author)
31-
version = release = "0.1.0"
31+
version = release = "version = release = 0.0.115"
3232

3333
pygments_style = "trac"
3434
templates_path = ["."]

setup.cfg

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
[bumpversion]
2-
current_version = 0.0.114
3-
commit = True
4-
tag = True
5-
6-
[bumpversion:file:src/mario/_version.py]
7-
8-
[bumpversion:file:setup.py]
91
[flake8]
102
max-line-length = 140
113
exclude = */migrations/*
@@ -35,7 +27,7 @@ default_section = THIRDPARTY
3527
forced_separate = test_mario
3628
not_skip = __init__.py
3729
skip = migrations
38-
known_third_party=aiohttp,appdirs,async_exit_stack,async_generator,async_timeout,attr,click,contextvars,hypothesis,lxml,marshmallow,parso,pkg_resources,pyrsistent,pytest,requests,setuptools,toml,toolz,trio,trio_typing
30+
known_third_party=aiohttp,appdirs,async_exit_stack,async_generator,async_timeout,attr,click,hypothesis,lxml,marshmallow,parso,pkg_resources,pyrsistent,pytest,requests,setuptools,toml,toolz,trio,trio_typing
3931
ignore =
4032
.flake8
4133
dev-requirements.in

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setuptools.setup(
1616
name="mario",
17-
version="0.0.114",
17+
version="version=0.0.115",
1818
description="Shell pipes for Python.",
1919
long_description=open(PROJECT_ROOT / "README.rst").read(),
2020
long_description_content_type="text/x-rst",

src/mario/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.0.115"

src/mario/_version.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/mario/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import pyrsistent
1515
import trio
1616

17-
from . import _version
1817
from . import asynch
1918
from . import config
2019
from . import interfaces

src/mario/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import attr
55
import click
66

7-
from . import _version
7+
import mario
8+
89
from . import aliasing
910
from . import app
1011
from . import config
@@ -55,7 +56,7 @@ def cli_main(pairs, **kwargs):
5556
def version_option(ctx, param, value):
5657
if not value:
5758
return
58-
click.echo("mario, version " + _version.__version__)
59+
click.echo("mario, version " + mario.__version__)
5960
sys.exit()
6061

6162

tests/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import asyncio
22
import contextlib
3+
import contextvars
34
import datetime
45
import itertools
56
import json
67
import sys
78

89
import attr
9-
import contextvars
1010
from aiohttp import web
1111

1212

tests/test_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from tests import helpers
2020

2121
import mario
22-
import mario._version
2322
import mario.app
2423
import mario.cli
2524
from mario import interpret
@@ -91,7 +90,7 @@ def test_cli_version(runner):
9190

9291
result = runner.invoke(mario.cli.cli, args)
9392

94-
assert result.output == f"mario, version {mario._version.__version__}\n"
93+
assert result.output == f"mario, version {mario.__version__}\n"
9594
assert result.output.rstrip()[-1].isdigit()
9695
assert not result.exception
9796
assert result.exit_code == 0

0 commit comments

Comments
 (0)