Content-Length: 435805 | pFad | http://github.com/HDE/python-lambda-local/pull/71/files

63 Drop support of Python 2.7 by suzil · Pull Request #71 · HDE/python-lambda-local · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support of Python 2.7 #71

Merged
merged 2 commits into from
Nov 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ target/

# Vitual Environments
venv/
.env/

# direnv
.envrc
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Run lambda function on local machine

## Prepare development environment

Please use a newly created virtualenv of Python 2.7 or Python 3.7.
Please use a newly created virtualenv of Python 3.7+.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Run lambda function on local machine
Prepare development environment
-------------------------------

Please use a newly created virtualenv of Python 2.7 or Python 3.7.
Please use a newly created virtualenv of Python 3.7+.

Installation
------------
Expand Down
1 change: 0 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ EOF
pip install twine

mkdir dist
cp build-py2/dist/* dist/
cp build-py37/dist/* dist/
cp build-py38/dist/* dist/

Expand Down
2 changes: 1 addition & 1 deletion lambda_local/timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import signal
import threading
from contextlib import contextmanager
from six.moves import _thread
import _thread


class TimeoutException(Exception):
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run_tests(self):
'Development Status :: 3 - Alpha',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License'
Expand Down
30 changes: 1 addition & 29 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,6 @@ box: python:3-slim
build:
steps:

build-py2:
box: python:2.7-slim
steps:
- script:
name: virtualenv install
code: |
pip install virtualenv

- virtualenv:
name: setup virtual environment
install_wheel: true

- script:
name: echo python information
code: |
echo "python version $(python --version) running"
echo "pip version $(pip --version) running"

- script:
name: build
code: |
python setup.py sdist bdist_wheel

- script:
name: test
code: |
python setup.py test

build-py37:
box: python:3.7-slim
steps:
Expand Down Expand Up @@ -92,5 +64,5 @@ deploy:
- script:
name: deploy to pypi
code: |
cp build-py2/deploy.sh .
cp build-py37/deploy.sh .
sh deploy.sh








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/HDE/python-lambda-local/pull/71/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy