diff --git a/Dockerfile b/Dockerfile index ff3c601..1a951e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM python:alpine WORKDIR /usr/src/app COPY requirements.txt ./ -RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo +RUN apk add --no-cache git gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo COPY . . diff --git a/poetry.lock b/poetry.lock index a5a49d8..7ccfbd2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -179,6 +179,18 @@ category = "main" optional = false python-versions = "*" +[[package]] +name = "pillow" +version = "9.2.0" +description = "Python Imaging Library (Fork)" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-issues (>=3.0.1)", "sphinx-removed-in", "sphinxext-opengraph"] +tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"] + [[package]] name = "pycparser" version = "2.21" @@ -246,7 +258,7 @@ multidict = ">=4.0" [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "49ed992ab33dd193bc4082fdadb8eee63c11b288fa9c9e8f2eabe315b56cdf07" +content-hash = "b395f5892a2891d8c3057f280bc38cb8eef4006f3667743e27b25eaf0d79b56d" [metadata.files] aiohttp = [ @@ -411,6 +423,7 @@ parsedatetime = [ {file = "parsedatetime-2.6-py3-none-any.whl", hash = "sha256:cb96edd7016872f58479e35879294258c71437195760746faffedb692aef000b"}, {file = "parsedatetime-2.6.tar.gz", hash = "sha256:4cb368fbb18a0b7231f4d76119165451c8d2e35951455dfee97c62a87b04d455"}, ] +pillow = [] pycparser = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, diff --git a/pyproject.toml b/pyproject.toml index d4a108a..baa96c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ humanize = "^3.3.0" parsedatetime = "^2.6" aiohttp = "^3.7.4" gidgethub = "^5.0.1" +Pillow = "^9.2.0" [tool.poetry.dev-dependencies] diff --git a/requirements.txt b/requirements.txt index e107484..8b47ecb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,7 @@ humanize==3.14.0; python_version >= "3.6" idna==3.3; python_version >= "3.7" and python_full_version >= "3.8.0" multidict==6.0.2; python_version >= "3.7" and python_full_version >= "3.8.0" parsedatetime==2.6 +pillow==9.2.0; python_version >= "3.7" pycparser==2.21; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0" pyjwt==2.4.0; python_version >= "3.6" python-dateutil==2.8.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0")