Skip to content

Commit 3e4ae1c

Browse files
authored
Merge pull request #23 from RazerM/release-1-0
Prepare for 1.0 release
2 parents c558b60 + 54c3b72 commit 3e4ae1c

File tree

9 files changed

+35
-19
lines changed

9 files changed

+35
-19
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ environment:
1212
- PYTHON: "C:\\Python35-x64"
1313
- PYTHON: "C:\\Python36"
1414
- PYTHON: "C:\\Python36-x64"
15+
- PYTHON: "C:\\Python37"
16+
- PYTHON: "C:\\Python37-x64"
1517

1618
build_script:
1719
- "git --no-pager log -n2"

.coveragerc

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/source/history.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ Release history
55

66
.. towncrier release notes start
77
8+
Outcome 1.0.0 (2018-09-12)
9+
--------------------------
10+
11+
Features
12+
~~~~~~~~
13+
14+
- On Python 3, the exception frame generated within :func:`capture` and
15+
:func:`acapture` has been removed from the traceback.
16+
(`#21 <https://github.com/python-trio/outcome/issues/21>`__)
17+
- Outcome is now tested using asyncio instead of trio, which outcome is a
18+
dependency of. This makes it easier for third parties to package up Outcome.
19+
(`#13 <https://github.com/python-trio/outcome/issues/13>`__)
20+
21+
822
Outcome 0.1.0 (2018-07-10)
923
--------------------------
1024

@@ -13,4 +27,5 @@ Features
1327

1428
- An Outcome may only be unwrapped or sent once.
1529

16-
Attempting to do so a second time will raise an :class:`AlreadyUsedError`. (`#7 <https://github.com/python-trio/outcome/issues/7>`__)
30+
Attempting to do so a second time will raise an :class:`AlreadyUsedError`.
31+
(`#7 <https://github.com/python-trio/outcome/issues/7>`__)

docs/source/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ which, like before, is the same as::
2525

2626
x = await f(*args, **kwargs)
2727

28-
An Outcome object may not be unwrapped twice. Attempting to do so will
29-
raise an :class:`AlreadyUsedError`.
28+
An Outcome object can only be unwrapped once. A second attempt would raise an
29+
:class:`AlreadyUsedError`.
3030

3131
See the :ref:`api-reference` for the types involved.

newsfragments/21.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,15 @@ skip = ./build, ./docs
77
not_skip = __init__.py
88
# ci/travis.sh installs outcome normally, so isort assumes it's third party
99
known_first_party = outcome
10+
11+
[coverage:run]
12+
branch = True
13+
source =
14+
outcome
15+
tests/
16+
17+
[coverage:report]
18+
precision = 1
19+
exclude_lines =
20+
pragma: no cover
21+
abc.abstractmethod

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3737
keywords='result',
3838
classifiers=[
39-
'Development Status :: 4 - Beta',
39+
'Development Status :: 5 - Production/Stable',
4040
'Framework :: Trio',
4141
'Intended Audience :: Developers',
4242
'License :: OSI Approved :: MIT License',

src/outcome/_util.py

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

77

88
class AlreadyUsedError(RuntimeError):
9-
"""An Outcome may not be unwrapped twice."""
9+
"""An Outcome can only be unwrapped once."""
1010
pass
1111

1212

src/outcome/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# coding: utf-8
22
# This file is imported from __init__.py and exec'd from setup.py
33

4-
__version__ = "0.1.0"
4+
__version__ = "1.0.0"

0 commit comments

Comments
 (0)