Skip to content

Commit

Permalink
Make version 0.0.3 for python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
soloman1124 committed Apr 28, 2023
1 parent 6afbb25 commit 9559f4e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6-alpine
FROM python:3.7-alpine

MAINTAINER Soloman Weng "soloman.weng@intellihr.com.au"
ENV REFRESHED_AT 2018-02-14
Expand Down
2 changes: 1 addition & 1 deletion event_bus/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _jwt_token(self):
'exp': exp
},
self.jwt_secret,
algorithm='HS256').decode()
algorithm='HS256')


class APIError(Exception):
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
flake8==3.5.0
ptpython==0.41
PyJWT==1.5.3
PyJWT==2.4.0
pytest-freezegun==0.2.0
pytest==3.4.0
python-dateutil==2.6.1
python-dateutil==2.7.0
requests-mock==1.4.0
requests==2.18.4
six==1.11.0
snapshottest==0.5.0
attrs==19.1.0
14 changes: 4 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
install_requires = [
"requests>=2.18,<3.0",
"six>=1.11",
"PyJWT>=1.5.3",
"PyJWT>=2.0.0",
"python-dateutil>=2.6"
]

Expand All @@ -34,14 +34,8 @@
description='intellihr event bus client for python applications',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
)

0 comments on commit 9559f4e

Please sign in to comment.