-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review/Cleanup of master for release prep (#1147)
* 🔧 update for case where expected metadata for given package does not contain 'releases' * :penicl: add warning for case where expected `package_version` is not found. * 🔧 change pipenv req to version greater than previously reported problem version. * 🙈 Add `Pipfile.lock` to `.gitignore` (When supporting multiple versions of python with pipenv don't include the lock file. * 🔧 fix pipenv version restriction. * 🎨 run black on `core.py` * 🎨 fix flake8, run black * 🔧 adjust caching (requirements.txt no longer used. * 🐛 fix Pipfile typo * 🔥 The python3.6 runtime is deprecated by aws (July 18, 2022 [phase-1], Aug 17, 2022 [phase-2]) remove from tests for next release candidate * 🎨 run black 🔧 update black check command. * 🎨 run isort * 📝 change version 0.54.1 -> 0.55.1 🔥 remove 3.6 from SUPPORTED_VERSIONS * 🔥 remove 3.6 support * 🔀 merge with `0.54.2-release` branch to apply 3.9 support documentation updates. 🔥 remove 3.6 support from README * 🔀 merge with `0.54.2-release` branch to apply 3.9 support documentation updates. * ⏪️revert __version__ back to available pypi version Without a pypi available release the `test_slim_handler` testcase fails. ``` ERROR: No matching distribution found for zappa==0.55.1 E................... ====================================================================== ERROR: test_slim_handler (tests.tests.TestZappa) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/work/Zappa/Zappa/tests/tests.py", line 2211, in test_slim_handler zappa_cli.create_package() File "/home/runner/work/Zappa/Zappa/zappa/cli.py", line 2430, in create_package venv=self.zappa.create_handler_venv(), File "/home/runner/work/Zappa/Zappa/zappa/core.py", line 494, in create_handler_venv raise EnvironmentError("Pypi lookup failed") OSError: Pypi lookup failed -------------------- >> begin captured stdout << --------------------- ``` * 📝 update CHANGELOG with committed changes since last release (5b6e241) * 🔥 remove 3.6 from docs * 🔧 address review comments * ✨ change release to 0.55.1 * ♻️ Update to allow specification of the latest pypi version for `test_slim_handler()` * ✅ update `test_slim_handler()` so that lastest pypi version is *not* hardcoded (get from "git tags" result) * 🎨 run black/isort * 🔧 attempt to update github action to retrieve the latest tags. * 🔧 fix bad ci command definition * 📝 created and added issue for python3.6 support removal. * ✨ add `python_requires` to setup(). * 📝 fix issue #900 * 📝 add link to https://slackautoinviter.herokuapp.com to join slack. (the zappateam.slack may be private?) * 🔥 remove `future` (past) requirements basestring usage, replacing with isinstance(x, str) 🔧 change usage of utcnow() -> datetime.datetime.now(datetime.timezone.utc) * 🔥 Remove 'futures' package requirement (#826) * 📝 fix issue #900 * 🔥 remove unnecessary __future__ import 🔧 Start versioning at 0; 0.55.1 -> 0.55.0 * 🎨 fix flake8 * 🐛 fix cd.yaml to only run on push of tag meeting the release tag criteria. (#1152) * 📝 add 1152 to CHANGELOG
- Loading branch information
Showing
33 changed files
with
602 additions
and
1,581 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*~ | ||
*.zip | ||
Pipfile.lock | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
from __future__ import print_function | ||
|
||
|
||
def handler_for_events(event, context): | ||
print("Event:", event) | ||
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.