From fce3991ab5a041182322c78266b53b5109b37045 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Fri, 3 Nov 2023 13:18:17 +0000 Subject: [PATCH] Install pinned requirements on env creation --- pyproject.toml | 4 + requirements.txt | 255 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 259 insertions(+) create mode 100644 requirements.txt diff --git a/pyproject.toml b/pyproject.toml index 19cfa46c73..2a009054b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,6 +56,9 @@ dsh = "data_safe_haven.cli:main" [tool.hatch.version] path = "data_safe_haven/version.py" +[tool.hatch.envs.default] +pre-install-commands = ["pip install -r requirements.txt"] + [tool.hatch.envs.lint] detached = true dependencies = [ @@ -90,6 +93,7 @@ all = [ dependencies = [ "pytest~=7.4" ] +pre-install-commands = ["pip install -r requirements.txt"] [tool.hatch.envs.test.scripts] test = "pytest {args:-vvv tests_}" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000..7f8c7ed687 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,255 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile pyproject.toml +# +acme==2.6.0 + # via simple-acme-dns +appdirs==1.4.4 + # via data-safe-haven (pyproject.toml) +arpeggio==2.0.2 + # via parver +attrs==23.1.0 + # via parver +azure-common==1.1.28 + # via + # azure-keyvault-certificates + # azure-keyvault-keys + # azure-keyvault-secrets + # azure-mgmt-automation + # azure-mgmt-compute + # azure-mgmt-containerinstance + # azure-mgmt-dns + # azure-mgmt-keyvault + # azure-mgmt-msi + # azure-mgmt-network + # azure-mgmt-rdbms + # azure-mgmt-resource + # azure-mgmt-storage +azure-core==1.29.5 + # via + # azure-identity + # azure-keyvault-certificates + # azure-keyvault-keys + # azure-keyvault-secrets + # azure-mgmt-core + # azure-storage-blob + # azure-storage-file-datalake + # azure-storage-file-share + # data-safe-haven (pyproject.toml) + # msrest +azure-identity==1.15.0 + # via data-safe-haven (pyproject.toml) +azure-keyvault-certificates==4.7.0 + # via data-safe-haven (pyproject.toml) +azure-keyvault-keys==4.8.0 + # via data-safe-haven (pyproject.toml) +azure-keyvault-secrets==4.7.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-automation==1.0.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-compute==30.3.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-containerinstance==10.1.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-core==1.4.0 + # via + # azure-mgmt-automation + # azure-mgmt-compute + # azure-mgmt-containerinstance + # azure-mgmt-dns + # azure-mgmt-keyvault + # azure-mgmt-msi + # azure-mgmt-network + # azure-mgmt-rdbms + # azure-mgmt-resource + # azure-mgmt-storage +azure-mgmt-dns==8.1.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-keyvault==10.3.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-msi==7.0.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-network==25.1.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-rdbms==10.1.0 + # via data-safe-haven (pyproject.toml) +azure-mgmt-resource==23.0.1 + # via data-safe-haven (pyproject.toml) +azure-mgmt-storage==21.1.0 + # via data-safe-haven (pyproject.toml) +azure-storage-blob==12.18.3 + # via + # azure-storage-file-datalake + # data-safe-haven (pyproject.toml) +azure-storage-file-datalake==12.13.2 + # via data-safe-haven (pyproject.toml) +azure-storage-file-share==12.14.2 + # via data-safe-haven (pyproject.toml) +bcrypt==4.0.1 + # via data-safe-haven (pyproject.toml) +certifi==2023.7.22 + # via + # msrest + # requests +cffi==1.16.0 + # via cryptography +charset-normalizer==3.3.2 + # via requests +chevron==0.14.0 + # via data-safe-haven (pyproject.toml) +chili==2.5.0 + # via data-safe-haven (pyproject.toml) +click==8.1.7 + # via typer +contextlib2==21.6.0 + # via schema +cryptography==41.0.5 + # via + # acme + # azure-identity + # azure-keyvault-keys + # azure-storage-blob + # azure-storage-file-share + # data-safe-haven (pyproject.toml) + # josepy + # msal + # pyjwt + # pyopenssl +dill==0.3.7 + # via pulumi +dnspython==2.4.2 + # via + # data-safe-haven (pyproject.toml) + # simple-acme-dns +gaffe==0.2.2 + # via chili +grpcio==1.59.2 + # via pulumi +idna==3.4 + # via requests +isodate==0.6.1 + # via + # azure-keyvault-certificates + # azure-keyvault-keys + # azure-keyvault-secrets + # azure-mgmt-compute + # azure-mgmt-containerinstance + # azure-mgmt-dns + # azure-mgmt-keyvault + # azure-mgmt-network + # azure-mgmt-resource + # azure-mgmt-storage + # azure-storage-blob + # azure-storage-file-datalake + # azure-storage-file-share + # msrest +josepy==1.14.0 + # via acme +markdown-it-py==3.0.0 + # via rich +mdurl==0.1.2 + # via markdown-it-py +msal==1.24.1 + # via + # azure-identity + # data-safe-haven (pyproject.toml) + # msal-extensions +msal-extensions==1.0.0 + # via azure-identity +msrest==0.7.1 + # via + # azure-mgmt-automation + # azure-mgmt-msi + # azure-mgmt-rdbms +oauthlib==3.2.2 + # via requests-oauthlib +parver==0.5 + # via + # pulumi-azure-native + # pulumi-random +portalocker==2.8.2 + # via msal-extensions +protobuf==4.25.0 + # via pulumi +psycopg==3.1.12 + # via data-safe-haven (pyproject.toml) +pulumi==3.91.1 + # via + # data-safe-haven (pyproject.toml) + # pulumi-azure-native + # pulumi-random +pulumi-azure-native==2.14.1 + # via data-safe-haven (pyproject.toml) +pulumi-random==4.14.0 + # via data-safe-haven (pyproject.toml) +pycparser==2.21 + # via cffi +pygments==2.16.1 + # via rich +pyjwt[crypto]==2.8.0 + # via msal +pyopenssl==23.3.0 + # via + # acme + # josepy +pyrfc3339==1.1 + # via acme +pytz==2023.3.post1 + # via + # acme + # data-safe-haven (pyproject.toml) + # pyrfc3339 +pyyaml==6.0.1 + # via + # data-safe-haven (pyproject.toml) + # pulumi +requests==2.31.0 + # via + # acme + # azure-core + # msal + # msrest + # requests-oauthlib +requests-oauthlib==1.3.1 + # via msrest +rich==13.6.0 + # via data-safe-haven (pyproject.toml) +schema==0.7.5 + # via data-safe-haven (pyproject.toml) +semver==2.13.0 + # via + # pulumi + # pulumi-azure-native + # pulumi-random +simple-acme-dns==3.0.0 + # via data-safe-haven (pyproject.toml) +six==1.16.0 + # via + # azure-core + # isodate + # pulumi +typer==0.9.0 + # via data-safe-haven (pyproject.toml) +typing-extensions==4.8.0 + # via + # azure-core + # azure-keyvault-certificates + # azure-keyvault-keys + # azure-keyvault-secrets + # azure-storage-blob + # azure-storage-file-datalake + # azure-storage-file-share + # chili + # psycopg + # typer +urllib3==2.0.7 + # via requests +validators==0.22.0 + # via simple-acme-dns +websocket-client==1.6.4 + # via data-safe-haven (pyproject.toml) + +# The following packages are considered to be unsafe in a requirements file: +# setuptools