Skip to content

Commit 1a307f6

Browse files
committed
Remove Python 2.7 support
1 parent 0378be6 commit 1a307f6

File tree

3 files changed

+14
-514
lines changed

3 files changed

+14
-514
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, windows-latest, macOS-latest]
12-
python-version: [2.7, 3.6]
12+
python-version: [3.6]
1313
steps:
1414
- uses: actions/checkout@v2
1515

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,18 @@
88
A Serverless v1.x plugin to automatically bundle dependencies from
99
`requirements.txt` and make them available in your `PYTHONPATH`.
1010

11-
## Requires Serverless >= v1.34
11+
## Requirements
12+
13+
* Serverless >= v1.34
14+
* Python >= 3.6
15+
16+
### Python 2.7 note
17+
18+
As of 6.0.0, Python 2.7 is no longer supported. This plugin delegates most work out to `pip`
19+
directly or indirectly, so it may continue to work, but:
20+
21+
* The test suite no longer includes 2.7 specific tests.
22+
* Fixes for 2.7 specific bugs that require code branching by Python version will not be accepted.
1223

1324
## Install
1425

@@ -383,8 +394,7 @@ Quick notes on the config file:
383394

384395
### Customize Python executable
385396

386-
Sometimes your Python executable isn't available on your `$PATH` as `python2.7`
387-
or `python3.6` (for example, windows or using pyenv).
397+
Sometimes your Python executable isn't available on your `$PATH` as `python3.6`, possibly for example, on Windows or using pyenv.
388398
To support this, this plugin has the following option:
389399

390400
```yaml

0 commit comments

Comments
 (0)