Skip to content

Commit

Permalink
Merge pull request #62 from bgreen-litl/v1.7.0
Browse files Browse the repository at this point in the history
Prepare v1.7.0 release
  • Loading branch information
bgreen-litl authored Nov 23, 2018
2 parents dd23fbf + c1a5d27 commit 7dc2537
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 58 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ build/
dist/
.cache/
*.egg-info
poetry.lock
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ matrix:
env: PYTHONASYNCIODEBUG=x
dist: xenial
sudo: true
before_install:
- pip install poetry
install:
- pip install -r requirements.txt
- pip install coveralls
script: make check
- poetry install
script: poetry run make check
after_success: coveralls
notifications:
email: false
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,12 @@

- Change default log level from ERROR to INFO
- Log retries on exception as INFO

## [v1.7.0] - 2018-11-23
### Changed

- Support Python 3.7
- Drop support for async in Python 3.4
- Drop support for Python 2.6
- Update development dependencies
- Use poetry for dependencies and packaging
2 changes: 1 addition & 1 deletion backoff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
'random_jitter'
]

__version__ = '1.6.0'
__version__ = '1.7.0'
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[tool.poetry]
name = "backoff"
version = "1.7.0"
description = "Function decoration for backoff and retry"
authors = ["Bob Green <[email protected]>"]
readme = "README.rst"
repository = "https://github.com/litl/backoff"
license = "MIT"
keywords = "python retry backoff asyncio asychnronous synchronous exceptions retrying decorators exponential"
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities']
packages = [
{ include = "backoff" },
{ include = "README.rst" },
{ include = "LICENSE" },
]

[tool.poetry.dependencies]
python = "^2.7 || ^3.4"

[tool.poetry.dev-dependencies]
flake8 = "^3.6"
pytest = "^4.0"
pytest-cov = "^2.6"
pytest-asyncio = {version = "^0.9.0",python = "^3.5"}

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

50 changes: 0 additions & 50 deletions setup.py

This file was deleted.

0 comments on commit 7dc2537

Please sign in to comment.