Skip to content

Commit

Permalink
updates for release 1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-luminal committed Apr 4, 2020
1 parent 09d4900 commit f910770
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.16.2
current_version = 1.17.0
commit = False
tag = False

Expand Down
4 changes: 2 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## 1.17.0
* New: add `--kms-region` argument to set the KMS region independently from the DDB region. This allows the use of DDB tables in multiple regions with the same KMS key, for example, with DDB Global Tables
* New: `get_session()` now supports passing in only the `profile_name` without AKIDs or SAKs
* Bugfix: #273 #274 Disable logging when `credstash` is imported as a library. This allows `credstash` to be used in contexts where writing to the local disk is not allowed
* New: `get_session()` now supports passing in only the `profile_name` without AKIDs or SAKs (@eisjcormier)
* Bugfix: #273 #274 Disable logging when `credstash` is imported as a library. This allows `credstash` to be used in contexts where writing to the local disk is not allowed, such as AWS Lambda
* Bugfix: #269 Remove incompatible Python 3 code to ensure compatibility with Python 2
* Bugfix: #276 Do not catch errors when `credstash` is imported as a library

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup

name = 'credstash'
version = '1.16.2'
version = '1.17.0'

setup(
name=name,
Expand Down Expand Up @@ -32,6 +32,6 @@
]
},
setup_requires=[
'nose>=1.3.6',
'pytest>=5.4.1'
],
)
2 changes: 1 addition & 1 deletion tests/get_session_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_get_session_no_params(self, mock_session):
mock_session.return_value = 'defaultsession'
self.assertEqual(get_session(), 'defaultsession')
self.assertEqual(get_session(), 'defaultsession')
mock_session.assert_called_once_with()
mock_session.assert_called_once_with(profile_name=None)

@patch('boto3.Session')
def test_get_session_specify_profile(self, mock_session):
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ envlist = py36, lint

[testenv]
commands =
python setup.py nosetests --with-coverage --cover-package=openapi --cover-erase --cover-html
python -m pytest
python setup.py sdist bdist_wheel
deps =
pytest>=5.4.1
setuptools>=17.1

[testenv:lint]
Expand Down

0 comments on commit f910770

Please sign in to comment.