Skip to content

Commit

Permalink
v1.1.5 🌷
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoPrevato authored Mar 14, 2022
1 parent bd20819 commit 8d49126
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.5] - 2022-03-14 :tulip:
- Adds `py.typed` file
- Adds `ConflictException`

## [1.1.4] - 2020-11-08 :octocat:
- Completely migrates to GitHub Workflows
- Improves build to test Python 3.6 and 3.9
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include README.md
include LICENSE
include LICENSE
include essentials/py.typed
2 changes: 1 addition & 1 deletion essentials/decorators/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def async_wrapper(*args, **kwargs):
raise

if delay is not None:
await asyncio.sleep(delay, loop=loop)
await asyncio.sleep(delay)

return async_wrapper

Expand Down
6 changes: 5 additions & 1 deletion essentials/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, param_name: str):

class AcceptedException(Exception):
"""
Exception risen when an operation cannot be fully completed,
Exception raised when an operation cannot be fully completed,
but doesn't imply failure.
"""

Expand All @@ -28,6 +28,10 @@ def __init__(
super().__init__(message)


class ConflictException(Exception):
"""Common exception for conflict scenarios."""


class ObjectNotFound(Exception):
"""
Exception risen when an object that is necessary to complete
Expand Down
Empty file added essentials/py.typed
Empty file.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
markers =
cqa: Code Quality Assurance
junit_family=xunit1
asyncio_mode=strict
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def readme():

setup(
name="essentials",
version="1.1.4",
version="1.1.5",
description="General purpose classes and functions, "
"reusable in any kind of Python application",
long_description=readme(),
Expand Down

0 comments on commit 8d49126

Please sign in to comment.