From 82618b1adaa05d1da17053006f9e4db9b0f326e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20Martins=20Guimar=C3=A3es?= Date: Sun, 2 Jun 2024 23:24:30 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20vers=C3=B5es=20de?= =?UTF-8?q?=20libs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index e07f6554..34c31e56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,8 +2,8 @@ signxml==2.9.0 ; python_version < '3.7' signxml ; python_version >= '3.7' lxml >= 4.2.1 -cryptography >= 3.4.8, <= 23.2.0 -pyOpenSSL >= 22.1.0 +cryptography == 38.0.4 +pyOpenSSL >= 23.1.1 certifi >= 2018.1.18 # XmlSec @@ -16,7 +16,7 @@ zeep reportlab urllib3 suds-community -suds-requests4 +suds-requests # Test dependencies coveralls From ed80e0c411313ef6f261208dfeb10147c39b32a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20Martins=20Guimar=C3=A3es?= Date: Sun, 2 Jun 2024 23:24:46 +0000 Subject: [PATCH 2/2] =?UTF-8?q?Configura=C3=A7=C3=B5es=20de=20Dev=20Contai?= =?UTF-8?q?ner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/Dockerfile | 9 +++++++++ .devcontainer/devcontainer.json | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..7c392d56 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.7 + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY requirements-dev.txt ./ +RUN pip install --no-cache-dir -r requirements-dev.txt diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..47385842 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "name": "PyTrustNFe", + "build": { + "context": "..", + "dockerfile": "./Dockerfile" + } +}