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" + } +} 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