Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca783c1

Browse filesBrowse files
Various update and cleanup
1 parent 48d6888 commit ca783c1
Copy full SHA for ca783c1

13 files changed

+43
-16
lines changed

‎LICENSE

Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
3+
Copyright (c) 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Suppose your project directory is like this:
6868
│   │   ├── ... (package content of rx)
6969
...
7070
│   │   └── testscheduler.py
71-
│   └── Rx-1.2.3.dist-info
71+
│   └── Rx-1.6.1.dist-info
7272
│   ├── DESCRIPTION.rst
7373
│   ├── METADATA
7474
│   ├── metadata.json
@@ -147,7 +147,7 @@ Call a handler function `func` with given `event`, `context` and custom `environ
147147
1. Make sure the 3rd party libraries used in the AWS Lambda function can be imported.
148148

149149
``` bash
150-
pip install rx
150+
pip install rx==1.6.1
151151
```
152152

153153
2. To call the lambda function above with your python code:

‎README.rst

Copy file name to clipboardExpand all lines: README.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Suppose your project directory is like this:
7575
│   │   ├── ... (package content of rx)
7676
...
7777
│   │   └── testscheduler.py
78-
│   └── Rx-1.2.3.dist-info
78+
│   └── Rx-1.6.1.dist-info
7979
│   ├── DESCRIPTION.rst
8080
│   ├── METADATA
8181
│   ├── metadata.json
@@ -164,7 +164,7 @@ Sample
164164

165165
.. code:: bash
166166
167-
pip install rx
167+
pip install rx==1.6.1
168168
169169
2. To call the lambda function above with your python code:
170170

‎lambda_local/__init__.py

Copy file name to clipboardExpand all lines: lambda_local/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''
22
python-lambda-local: Main module
33
4-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
4+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
55
Licensed under MIT.
66
'''
77

‎lambda_local/context.py

Copy file name to clipboardExpand all lines: lambda_local/context.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55
from __future__ import print_function

‎lambda_local/event.py

Copy file name to clipboardExpand all lines: lambda_local/event.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

‎lambda_local/main.py

Copy file name to clipboardExpand all lines: lambda_local/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

‎lambda_local/timeout.py

Copy file name to clipboardExpand all lines: lambda_local/timeout.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''
22
python-lambda-local: Run lambda function in python on local machine.
33
4-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
4+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
55
Licensed under MIT.
66
'''
77
import io
@@ -26,8 +26,6 @@ def run_tests(self):
2626
version = "0.1.12"
2727

2828
TEST_REQUIRE = ['pytest']
29-
if sys.version_info[0] == 2:
30-
TEST_REQUIRE = ['pytest==4.6.3']
3129

3230
setup(name="python-lambda-local",
3331
version=version,
@@ -39,6 +37,7 @@ def run_tests(self):
3937
'Programming Language :: Python',
4038
'Programming Language :: Python :: 3.7',
4139
'Programming Language :: Python :: 3.8',
40+
'Programming Language :: Python :: 3.9',
4241
'License :: OSI Approved :: MIT License'
4342
],
4443
keywords="AWS Lambda",

‎tests/__init__.py

Copy file name to clipboardExpand all lines: tests/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
Organize tests into files, each named xxx_test.py
66
Read more here: http://pytest.org/
77
8-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
8+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
99
Licensed under MIT
1010
'''

‎tests/basic_test.py

Copy file name to clipboardExpand all lines: tests/basic_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Write each test as a function named test_<something>.
66
Read more here: http://pytest.org/
77
8-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
8+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
99
Licensed under MIT
1010
'''
1111

‎tests/test_direct_invocations.py

Copy file name to clipboardExpand all lines: tests/test_direct_invocations.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Meant for use with py.test.
66
7-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
7+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
88
Licensed under MIT
99
'''
1010
import json

‎wercker.yml

Copy file name to clipboardExpand all lines: wercker.yml
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,34 @@ build-py38:
5959
code: |
6060
python setup.py test
6161
62+
build-py39:
63+
box: python:3.9-slim
64+
steps:
65+
- script:
66+
name: virtualenv install
67+
code: |
68+
pip install virtualenv
69+
70+
- virtualenv:
71+
name: setup virtual environment
72+
install_wheel: true
73+
74+
- script:
75+
name: echo python information
76+
code: |
77+
echo "python version $(python --version) running"
78+
echo "pip version $(pip --version) running"
79+
80+
- script:
81+
name: build
82+
code: |
83+
python setup.py sdist bdist_wheel
84+
85+
- script:
86+
name: test
87+
code: |
88+
python setup.py test
89+
6290
deploy:
6391
steps:
6492
- script:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.