From 088a0e2f7447060b871707e02ac3ba4424b3247e Mon Sep 17 00:00:00 2001 From: Renan Chagas Date: Mon, 16 Aug 2021 22:36:59 +0200 Subject: [PATCH] update dependencies 08-2021 (#17) * Updating library requirements * updates gitignore * bump version --- .gitignore | 311 +++++++++++++++++++++++------ requirements/dev-requirements.txt | 4 +- requirements/requirements.txt | 2 +- requirements/test-requirements.txt | 10 +- setup.py | 2 +- src/phoenix_letter/version.py | 2 +- 6 files changed, 262 insertions(+), 69 deletions(-) diff --git a/.gitignore b/.gitignore index f9c9e09..4514904 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,207 @@ -# Created by .ignore support plugin (hsz.mobi) -### Python template +# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig + +# Created by https://www.toptal.com/developers/gitignore/api/jetbrains,jetbrains+all,macos,python,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=jetbrains,jetbrains+all,macos,python,visualstudiocode + +### JetBrains ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### JetBrains Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/$CACHE_FILE$ + +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +### JetBrains+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff + +# AWS User-specific + +# Generated files + +# Sensitive or high-churn files + +# Gradle + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake + +# Mongo Explorer plugin + +# File-based project format + +# IntelliJ + +# mpeltonen/sbt-idea plugin + +# JIRA plugin + +# Cursive Clojure plugin + +# Crashlytics plugin (for Android Studio and IntelliJ) + +# Editor-based Rest Client + +# Android studio 3.1+ serialized cache file + +### JetBrains+all Patch ### +# Ignores the whole .idea folder and all .iml files +# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 + +.idea/ + +# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 + +*.iml +modules.xml +.idea/misc.xml +*.ipr + +# Sonarlint plugin +.idea/sonarlint + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Python ### # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -22,6 +224,7 @@ parts/ sdist/ var/ wheels/ +share/python-wheels/ *.egg-info/ .installed.cfg *.egg @@ -40,14 +243,17 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ +.nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover +*.py,cover .hypothesis/ .pytest_cache/ +cover/ # Translations *.mo @@ -57,6 +263,7 @@ coverage.xml *.log local_settings.py db.sqlite3 +db.sqlite3-journal # Flask stuff: instance/ @@ -69,16 +276,34 @@ instance/ docs/_build/ # PyBuilder +.pybuilder/ target/ # Jupyter Notebook .ipynb_checkpoints +# IPython +profile_default/ +ipython_config.py + # pyenv -.python-version +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ -# celery beat schedule file +# Celery stuff celerybeat-schedule +celerybeat.pid # SageMath parsed files *.sage.py @@ -104,67 +329,35 @@ venv.bak/ # mypy .mypy_cache/ -### JetBrains template -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf +.dmypy.json +dmypy.json -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/modules.xml -# .idea/*.iml -# .idea/modules - -# CMake -cmake-build-*/ +# Pyre type checker +.pyre/ -# Mongo Explorer plugin -.idea/**/mongoSettings.xml +# pytype static type analyzer +.pytype/ -# File-based project format -*.iws +# Cython debug symbols +cython_debug/ -# IntelliJ -out/ +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml +# Local History for Visual Studio Code +.history/ -# Cursive Clojure plugin -.idea/replstate.xml +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties +# End of https://www.toptal.com/developers/gitignore/api/jetbrains,jetbrains+all,macos,python,visualstudiocode -# Editor-based Rest Client -.idea/httpRequests -.idea/ +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) -out/ \ No newline at end of file diff --git a/requirements/dev-requirements.txt b/requirements/dev-requirements.txt index 4b07c2d..ab6feff 100644 --- a/requirements/dev-requirements.txt +++ b/requirements/dev-requirements.txt @@ -1,4 +1,4 @@ -setuptools==51.1.2 +setuptools==57.4.0 coverage-badge==1.0.1 -twine==3.3.0 +twine==3.4.2 -r test-requirements.txt diff --git a/requirements/requirements.txt b/requirements/requirements.txt index d7dd8e3..d416c2a 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1 +1 @@ -boto3==1.16.51 +boto3==1.18.21 diff --git a/requirements/test-requirements.txt b/requirements/test-requirements.txt index c107590..f71ae61 100644 --- a/requirements/test-requirements.txt +++ b/requirements/test-requirements.txt @@ -1,7 +1,7 @@ -moto==1.3.16 -mock==4.0.2 -coverage==5.3.1 +moto==2.2.2 +mock==4.0.3 +coverage==5.5 six -black==20.8b1 -isort==5.7.0 +black==21.7b0 +isort==5.9.3 -r requirements.txt diff --git a/setup.py b/setup.py index 169a614..bb99cfd 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def parse_requirements_file(req): long_description=parse_readme(), long_description_content_type="text/markdown", keywords=["AWS", "SQS", "Queue", "DLQ", "Dead", "Letter", "Queue"], - python_requires=">=2.7", + python_requires=">=3.7", zip_safe=False, entry_points={"console_scripts": ["phoenix_letter=phoenix_letter.main:main"]}, classifiers=[ diff --git a/src/phoenix_letter/version.py b/src/phoenix_letter/version.py index e19434e..334b899 100644 --- a/src/phoenix_letter/version.py +++ b/src/phoenix_letter/version.py @@ -1 +1 @@ -__version__ = "0.3.3" +__version__ = "0.3.4"