From 617613dfed87c2d68c7027a3b2b30bee246726f4 Mon Sep 17 00:00:00 2001 From: ymyzk Date: Thu, 19 Oct 2023 13:07:35 +0000 Subject: [PATCH] Add mypy 1.6.1 --- sandbox/cloud_functions/1.6.1/main.py | 1 + sandbox/cloud_functions/1.6.1/requirements.in | 2 ++ sandbox/cloud_functions/1.6.1/requirements.txt | 14 ++++++++++++++ sandbox/cloud_functions/latest | 2 +- sandbox/docker/1.6.1/Dockerfile | 11 +++++++++++ sandbox/docker/1.6.1/requirements.in | 2 ++ sandbox/docker/1.6.1/requirements.txt | 14 ++++++++++++++ sandbox/docker/latest | 2 +- 8 files changed, 46 insertions(+), 2 deletions(-) create mode 120000 sandbox/cloud_functions/1.6.1/main.py create mode 100644 sandbox/cloud_functions/1.6.1/requirements.in create mode 100644 sandbox/cloud_functions/1.6.1/requirements.txt create mode 100644 sandbox/docker/1.6.1/Dockerfile create mode 100644 sandbox/docker/1.6.1/requirements.in create mode 100644 sandbox/docker/1.6.1/requirements.txt diff --git a/sandbox/cloud_functions/1.6.1/main.py b/sandbox/cloud_functions/1.6.1/main.py new file mode 120000 index 00000000..f05f7527 --- /dev/null +++ b/sandbox/cloud_functions/1.6.1/main.py @@ -0,0 +1 @@ +../main.py \ No newline at end of file diff --git a/sandbox/cloud_functions/1.6.1/requirements.in b/sandbox/cloud_functions/1.6.1/requirements.in new file mode 100644 index 00000000..409c814f --- /dev/null +++ b/sandbox/cloud_functions/1.6.1/requirements.in @@ -0,0 +1,2 @@ +mypy==1.6.1 +typing-extensions diff --git a/sandbox/cloud_functions/1.6.1/requirements.txt b/sandbox/cloud_functions/1.6.1/requirements.txt new file mode 100644 index 00000000..e775762b --- /dev/null +++ b/sandbox/cloud_functions/1.6.1/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.6.1 + # via -r requirements.in +mypy-extensions==1.0.0 + # via mypy +typing-extensions==4.8.0 + # via + # -r requirements.in + # mypy diff --git a/sandbox/cloud_functions/latest b/sandbox/cloud_functions/latest index ce6a70b9..2eda823f 120000 --- a/sandbox/cloud_functions/latest +++ b/sandbox/cloud_functions/latest @@ -1 +1 @@ -1.6.0 \ No newline at end of file +1.6.1 \ No newline at end of file diff --git a/sandbox/docker/1.6.1/Dockerfile b/sandbox/docker/1.6.1/Dockerfile new file mode 100644 index 00000000..4028b918 --- /dev/null +++ b/sandbox/docker/1.6.1/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.6.1/requirements.in b/sandbox/docker/1.6.1/requirements.in new file mode 100644 index 00000000..409c814f --- /dev/null +++ b/sandbox/docker/1.6.1/requirements.in @@ -0,0 +1,2 @@ +mypy==1.6.1 +typing-extensions diff --git a/sandbox/docker/1.6.1/requirements.txt b/sandbox/docker/1.6.1/requirements.txt new file mode 100644 index 00000000..e775762b --- /dev/null +++ b/sandbox/docker/1.6.1/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.6.1 + # via -r requirements.in +mypy-extensions==1.0.0 + # via mypy +typing-extensions==4.8.0 + # via + # -r requirements.in + # mypy diff --git a/sandbox/docker/latest b/sandbox/docker/latest index ce6a70b9..2eda823f 120000 --- a/sandbox/docker/latest +++ b/sandbox/docker/latest @@ -1 +1 @@ -1.6.0 \ No newline at end of file +1.6.1 \ No newline at end of file