Skip to content

Commit 8d49126

Browse files
v1.1.5 🌷
1 parent bd20819 commit 8d49126

8 files changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-18.04
1919
strategy:
2020
matrix:
21-
python-version: [3.6, 3.7, 3.8, 3.9]
21+
python-version: [3.7, 3.8, 3.9, "3.10"]
2222

2323
steps:
2424
- uses: actions/checkout@v1

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.5] - 2022-03-14 :tulip:
9+
- Adds `py.typed` file
10+
- Adds `ConflictException`
11+
812
## [1.1.4] - 2020-11-08 :octocat:
913
- Completely migrates to GitHub Workflows
1014
- Improves build to test Python 3.6 and 3.9

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include README.md
2-
include LICENSE
2+
include LICENSE
3+
include essentials/py.typed

essentials/decorators/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def async_wrapper(*args, **kwargs):
3636
raise
3737

3838
if delay is not None:
39-
await asyncio.sleep(delay, loop=loop)
39+
await asyncio.sleep(delay)
4040

4141
return async_wrapper
4242

essentials/exceptions.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, param_name: str):
1616

1717
class AcceptedException(Exception):
1818
"""
19-
Exception risen when an operation cannot be fully completed,
19+
Exception raised when an operation cannot be fully completed,
2020
but doesn't imply failure.
2121
"""
2222

@@ -28,6 +28,10 @@ def __init__(
2828
super().__init__(message)
2929

3030

31+
class ConflictException(Exception):
32+
"""Common exception for conflict scenarios."""
33+
34+
3135
class ObjectNotFound(Exception):
3236
"""
3337
Exception risen when an object that is necessary to complete

essentials/py.typed

Whitespace-only changes.

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
markers =
33
cqa: Code Quality Assurance
44
junit_family=xunit1
5+
asyncio_mode=strict

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def readme():
88

99
setup(
1010
name="essentials",
11-
version="1.1.4",
11+
version="1.1.5",
1212
description="General purpose classes and functions, "
1313
"reusable in any kind of Python application",
1414
long_description=readme(),

0 commit comments

Comments
 (0)