From 5068d4a998f33587432a08c885f7e9ab001973d0 Mon Sep 17 00:00:00 2001 From: ymyzk Date: Fri, 11 Aug 2023 07:52:59 +0000 Subject: [PATCH] Add mypy 1.5.0 --- sandbox/cloud_functions/1.5.0/main.py | 1 + sandbox/cloud_functions/1.5.0/requirements.in | 2 ++ sandbox/cloud_functions/1.5.0/requirements.txt | 14 ++++++++++++++ sandbox/cloud_functions/latest | 2 +- sandbox/docker/1.5.0/Dockerfile | 11 +++++++++++ sandbox/docker/1.5.0/requirements.in | 2 ++ sandbox/docker/1.5.0/requirements.txt | 14 ++++++++++++++ sandbox/docker/latest | 2 +- 8 files changed, 46 insertions(+), 2 deletions(-) create mode 120000 sandbox/cloud_functions/1.5.0/main.py create mode 100644 sandbox/cloud_functions/1.5.0/requirements.in create mode 100644 sandbox/cloud_functions/1.5.0/requirements.txt create mode 100644 sandbox/docker/1.5.0/Dockerfile create mode 100644 sandbox/docker/1.5.0/requirements.in create mode 100644 sandbox/docker/1.5.0/requirements.txt diff --git a/sandbox/cloud_functions/1.5.0/main.py b/sandbox/cloud_functions/1.5.0/main.py new file mode 120000 index 00000000..f05f7527 --- /dev/null +++ b/sandbox/cloud_functions/1.5.0/main.py @@ -0,0 +1 @@ +../main.py \ No newline at end of file diff --git a/sandbox/cloud_functions/1.5.0/requirements.in b/sandbox/cloud_functions/1.5.0/requirements.in new file mode 100644 index 00000000..211233a3 --- /dev/null +++ b/sandbox/cloud_functions/1.5.0/requirements.in @@ -0,0 +1,2 @@ +mypy==1.5.0 +typing-extensions diff --git a/sandbox/cloud_functions/1.5.0/requirements.txt b/sandbox/cloud_functions/1.5.0/requirements.txt new file mode 100644 index 00000000..489db342 --- /dev/null +++ b/sandbox/cloud_functions/1.5.0/requirements.txt @@ -0,0 +1,14 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile +# +mypy==1.5.0 + # via -r requirements.in +mypy-extensions==1.0.0 + # via mypy +typing-extensions==4.7.1 + # via + # -r requirements.in + # mypy diff --git a/sandbox/cloud_functions/latest b/sandbox/cloud_functions/latest index 13175fdc..3e1ad720 120000 --- a/sandbox/cloud_functions/latest +++ b/sandbox/cloud_functions/latest @@ -1 +1 @@ -1.4.1 \ No newline at end of file +1.5.0 \ No newline at end of file diff --git a/sandbox/docker/1.5.0/Dockerfile b/sandbox/docker/1.5.0/Dockerfile new file mode 100644 index 00000000..4028b918 --- /dev/null +++ b/sandbox/docker/1.5.0/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.11-slim + +WORKDIR /tmp +COPY ./requirements.txt /tmp/ + +RUN pip install -r requirements.txt \ + && rm -rf /tmp/requirements.txt \ + && rm -rf /root/.cache + +USER nobody +CMD ["mypy"] diff --git a/sandbox/docker/1.5.0/requirements.in b/sandbox/docker/1.5.0/requirements.in new file mode 100644 index 00000000..211233a3 --- /dev/null +++ b/sandbox/docker/1.5.0/requirements.in @@ -0,0 +1,2 @@ +mypy==1.5.0 +typing-extensions diff --git a/sandbox/docker/1.5.0/requirements.txt b/sandbox/docker/1.5.0/requirements.txt new file mode 100644 index 00000000..489db342 --- /dev/null +++ b/sandbox/docker/1.5.0/requirements.txt @@ -0,0 +1,14 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile +# +mypy==1.5.0 + # via -r requirements.in +mypy-extensions==1.0.0 + # via mypy +typing-extensions==4.7.1 + # via + # -r requirements.in + # mypy diff --git a/sandbox/docker/latest b/sandbox/docker/latest index 13175fdc..3e1ad720 120000 --- a/sandbox/docker/latest +++ b/sandbox/docker/latest @@ -1 +1 @@ -1.4.1 \ No newline at end of file +1.5.0 \ No newline at end of file