From 7957807f3559881af10db308434dbc6bae8d7190 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:31:38 +0200 Subject: [PATCH 01/22] update python version --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 27c93cf..2355053 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,7 +11,7 @@ jobs: lang: ['eng'] steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5.0.0 with: python-version: 3.7.7 - name: Install dependencies From 4e2f8ac370e210bd9c3a2c3f9872d34057876719 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:41:50 +0200 Subject: [PATCH 02/22] update requirements file --- requirements.txt | 138 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 79af674..7702285 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,138 @@ +absl-py==0.9.0 +aiofiles==0.5.0 +aiohttp==3.6.2 +APScheduler==3.6.3 +astor==0.8.1 +async-generator==1.10 +async-lru==1.0.2 +async-timeout==3.0.1 +asyncpg==0.21.0 +attrs==19.3.0 +boto3==1.13.11 +botocore==1.16.11 +cachetools==4.1.0 +certifi==2020.4.5.1 +cffi==1.14.0 +chardet==3.0.4 +cloudpickle==1.3.0 +colorclass==2.2.0 +coloredlogs==10.0 +colorhash==1.0.2 +cryptography==2.9.2 +cycler==0.10.0 +decorator==4.4.2 +dnspython==1.16.0 +docopt==0.6.2 +docutils==0.15.2 +fbmessenger==6.0.0 +future==0.18.2 +gast==0.2.2 +gevent==1.5.0 +google-auth==1.14.3 +google-auth-oauthlib==0.4.1 +google-pasta==0.2.0 +greenlet==0.4.15 +grpcio==1.29.0 +h11==0.8.1 +h2==3.2.0 +h5py==2.10.0 +hpack==3.0.0 +hstspreload==2020.5.16 +httplib2==0.17.3 +httptools==0.1.1 +httpx==0.9.3 +humanfriendly==8.2 +hyperframe==5.2.0 +idna==2.8 +importlib-metadata==1.6.0 +ipaddress==1.0.23 +iso6709==0.1.5 +jmespath==0.10.0 +joblib==0.15.1 +jsonpickle==1.4.1 +jsonschema==3.2.0 +kafka-python==1.4.7 +Keras-Applications==1.0.8 +Keras-Preprocessing==1.1.2 +kiwisolver==1.2.0 +Markdown==3.2.2 +matplotlib==3.2.1 +mattermostwrapper==2.2 +multidict==4.7.6 +networkx==2.4 +numpy==1.18.4 +oauth2client==4.1.3 +oauthlib==3.1.0 +opt-einsum==3.2.1 +packaging==20.3 +pika==1.1.0 +prompt-toolkit==2.0.10 +protobuf==3.12.0 +psycopg2-binary==2.8.5 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +pycparser==2.21 +pydot==1.4.1 +PyJWT==1.7.1 +pykwalify==1.7.0 +pymongo==3.8.0 +pyparsing==2.4.7 +pyrsistent==0.16.0 +PySocks==1.7.1 +python-crfsuite==0.9.7 +python-dateutil==2.8.1 +python-engineio==3.12.1 +python-socketio==4.5.1 +python-telegram-bot==12.7 +pytz==2019.3 +PyYAML==5.3.1 +questionary==1.5.2 rasa==1.10.2 -greenlet==0.4.16 +rasa-sdk==1.10.1 +redis==3.5.2 +requests==2.23.0 +requests-oauthlib==1.3.0 +requests-toolbelt==0.9.1 +rfc3986==1.4.0 +rocketchat-API==1.3.1 +rsa==4.0 +ruamel.yaml==0.16.10 +ruamel.yaml.clib==0.2.0 +s3transfer==0.3.3 +sanic==19.12.2 +Sanic-Cors==0.10.0.post3 +sanic-jwt==1.4.1 +Sanic-Plugins-Framework==0.9.2 +scikit-learn==0.22.2.post1 +scipy==1.4.1 +sentry-sdk==0.15.1 +six==1.14.0 +sklearn-crfsuite==0.3.6 +slackclient==2.5.0 +sniffio==1.1.0 +SQLAlchemy==1.3.17 +tabulate==0.8.7 +tensorboard==2.1.1 +tensorflow==2.1.0 +tensorflow-addons==0.7.1 +tensorflow-estimator==2.1.0 +tensorflow-hub==0.8.0 +tensorflow-probability==0.9.0 +termcolor==1.1.0 +terminaltables==3.1.0 +tornado==6.0.4 +tqdm==4.45.0 +# Editable install with no version control (turn-rasa-connector==0.0.1) +-e /turn-rasa-connector +twilio==6.26.3 +tzlocal==2.1 +ujson==2.0.3 +urllib3==1.25.9 +uvloop==0.14.0 +wcwidth==0.1.9 +webexteamssdk==1.3 +websockets==8.0.2 +Werkzeug==1.0.1 +wrapt==1.12.1 +yarl==1.4.2 +zipp==3.1.0 \ No newline at end of file From 2abd221951edd2fabad480f4dbb002fe0adef469 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:43:46 +0200 Subject: [PATCH 03/22] update requirements file --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7702285..c34228e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -123,7 +123,6 @@ terminaltables==3.1.0 tornado==6.0.4 tqdm==4.45.0 # Editable install with no version control (turn-rasa-connector==0.0.1) --e /turn-rasa-connector twilio==6.26.3 tzlocal==2.1 ujson==2.0.3 From 3f3c9a4046b7b0ee6d8eb84c0edd1d3583a68bf9 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:46:37 +0200 Subject: [PATCH 04/22] update requirements file --- requirements-actions.txt | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/requirements-actions.txt b/requirements-actions.txt index 9590228..b550d05 100644 --- a/requirements-actions.txt +++ b/requirements-actions.txt @@ -1,5 +1,28 @@ -sentry-sdk==0.15.1 aiocontextvars==0.2.2 -Whoosh==2.7.4 -ruamel.yaml==0.16.10 -phonenumberslite==8.12.11 +aiofiles==0.5.0 +certifi==2020.4.5.1 +chardet==3.0.4 +coloredlogs==14.0 +h11==0.8.1 +h2==3.2.0 +hpack==3.0.0 +hstspreload==2020.4.14 +httptools==0.1.1 +httpx==0.9.3 +humanfriendly==8.2 +hyperframe==5.2.0 +idna==2.9 +iso6709==0.1.5 +multidict==4.7.5 +requests==2.23.0 +rfc3986==1.4.0 +sanic==19.12.2 +Sanic-Cors==0.10.0.post3 +Sanic-Plugins-Framework==0.9.2 +sentry-sdk==0.15.1 +sniffio==1.1.0 +ujson==2.0.3 +urllib3==1.25.9 +uvloop==0.14.0 +websockets==8.0.2 +Whoosh==2.7.4 \ No newline at end of file From 4930cdeec9b25a02a70b532d2ca8cfcfb8554607 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:49:04 +0200 Subject: [PATCH 05/22] update requirements file --- requirements-actions.txt | 31 ++++--------------------------- requirements-dev.txt | 1 + 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/requirements-actions.txt b/requirements-actions.txt index b550d05..9590228 100644 --- a/requirements-actions.txt +++ b/requirements-actions.txt @@ -1,28 +1,5 @@ -aiocontextvars==0.2.2 -aiofiles==0.5.0 -certifi==2020.4.5.1 -chardet==3.0.4 -coloredlogs==14.0 -h11==0.8.1 -h2==3.2.0 -hpack==3.0.0 -hstspreload==2020.4.14 -httptools==0.1.1 -httpx==0.9.3 -humanfriendly==8.2 -hyperframe==5.2.0 -idna==2.9 -iso6709==0.1.5 -multidict==4.7.5 -requests==2.23.0 -rfc3986==1.4.0 -sanic==19.12.2 -Sanic-Cors==0.10.0.post3 -Sanic-Plugins-Framework==0.9.2 sentry-sdk==0.15.1 -sniffio==1.1.0 -ujson==2.0.3 -urllib3==1.25.9 -uvloop==0.14.0 -websockets==8.0.2 -Whoosh==2.7.4 \ No newline at end of file +aiocontextvars==0.2.2 +Whoosh==2.7.4 +ruamel.yaml==0.16.10 +phonenumberslite==8.12.11 diff --git a/requirements-dev.txt b/requirements-dev.txt index 63a58e1..99642d4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ black==19.10b0 +click==8.0.2 isort==4.3.21 mypy==0.780 flake8==3.8.3 From 1d28afe9019708cc27c88f10392a8e75019bc00a Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:57:03 +0200 Subject: [PATCH 06/22] update requirements file --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2355053..862b9f8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: [pull_request] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: bot: ['base', 'hh'] From c6939c05c49abe5024b1b5bc28944fcf87373684 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 09:58:25 +0200 Subject: [PATCH 07/22] update requirements file --- .github/workflows/build.yaml | 2 +- .github/workflows/test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5a0362d..9a37c41 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ on: jobs: build-model: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: test strategy: matrix: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 862b9f8..2355053 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: [pull_request] jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: bot: ['base', 'hh'] From 32a881317e6d077b969b72cb4af63a9c7b8fd086 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 10:38:26 +0200 Subject: [PATCH 08/22] update requirements file --- .github/workflows/build.yaml | 2 +- .github/workflows/test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9a37c41..867259e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ on: jobs: build-model: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: test strategy: matrix: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2355053..48e204f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: [pull_request] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: bot: ['base', 'hh'] From ddef6c5bc2052e08371b50c0deb054b9aea1676f Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 11:50:03 +0200 Subject: [PATCH 09/22] instal postgres 14 in test workflow --- .github/workflows/build.yaml | 2 +- .github/workflows/test.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 867259e..9a37c41 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ on: jobs: build-model: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 needs: test strategy: matrix: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 48e204f..bdb1737 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: [pull_request] jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: bot: ['base', 'hh'] @@ -16,6 +16,10 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | + sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - + apt-get update + apt-get -y install postgresql-14 python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-dev.txt From f23f6e6be197e5f44746b417327391d3da2bed9b Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 12:04:14 +0200 Subject: [PATCH 10/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bdb1737..613c825 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt-get update apt-get -y install postgresql-14 From 834d9c84224fdf30b7ea41cfddf61bf0ea9b74c5 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 13:49:06 +0200 Subject: [PATCH 11/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 613c825..d242367 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,7 +17,8 @@ jobs: - name: Install dependencies run: | sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc + apt-key add - apt-get update apt-get -y install postgresql-14 python -m pip install --upgrade pip From 2375674f350aa2f9d2bb03aaa98fa404a6184215 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 14:54:08 +0200 Subject: [PATCH 12/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d242367..a410a51 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,8 +17,8 @@ jobs: - name: Install dependencies run: | sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc - apt-key add - + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgresql-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] https://www.postgresql.org/download/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list > /dev/null apt-get update apt-get -y install postgresql-14 python -m pip install --upgrade pip From db0c4a1d2220521825ef243be447d9d374d99ef5 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 14:57:31 +0200 Subject: [PATCH 13/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a410a51..175579b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,7 +18,7 @@ jobs: run: | sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgresql-archive-keyring.gpg - echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] https://www.postgresql.org/download/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list > /dev/null + sudo echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] https://www.postgresql.org/download/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list > /dev/null apt-get update apt-get -y install postgresql-14 python -m pip install --upgrade pip From e45345d36ddf8adf3e162d6cfaad61e24637f095 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:03:48 +0200 Subject: [PATCH 14/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 175579b..d584c50 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,9 +16,9 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgresql-archive-keyring.gpg - sudo echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] https://www.postgresql.org/download/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list > /dev/null + sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc + echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" > /etc/apt/sources.list.d/pgdg.gpg apt-get update apt-get -y install postgresql-14 python -m pip install --upgrade pip From 33f94140d5462b4df547bd1bfb99ce1c85bab6f7 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:06:14 +0200 Subject: [PATCH 15/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d584c50..dae7290 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" > /etc/apt/sources.list.d/pgdg.gpg apt-get update From 649540b1058581239d6ad51e3055ad93c8a9526a Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:08:39 +0200 Subject: [PATCH 16/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dae7290..008d3f7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,11 +16,11 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc - echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" > /etc/apt/sources.list.d/pgdg.gpg - apt-get update - apt-get -y install postgresql-14 + sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc + echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null + sudo apt-get update + sudo apt-get -y install postgresql-14 python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-dev.txt From 276f2510d22bc965ef1166d4975fa908e43f560b Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:11:04 +0200 Subject: [PATCH 17/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 008d3f7..a12433d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null sudo apt-get update From 249b4436cf6fc86807e514389f87070a99f00807 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:13:48 +0200 Subject: [PATCH 18/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a12433d..5b5d54b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,6 +19,7 @@ jobs: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null + gpg --no-default-keyring --keyring /usr/share/keyrings/postgresql-archive-keyring.gpg --import /usr/share/keyrings/postgresql-archive-keyring.gpg sudo apt-get update sudo apt-get -y install postgresql-14 python -m pip install --upgrade pip From 5e02b01149e1856c1ecb1949828feeffdcc7bf9f Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:22:02 +0200 Subject: [PATCH 19/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5b5d54b..3ac4069 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,7 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | + sudo rm /usr/share/keyrings/postgresql-archive-keyring.gpg sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null From 13c2164a3a84082bf6f6601b0533514ff127436a Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:27:11 +0200 Subject: [PATCH 20/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3ac4069..e2c0787 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,11 +16,6 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | - sudo rm /usr/share/keyrings/postgresql-archive-keyring.gpg - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc - echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null - gpg --no-default-keyring --keyring /usr/share/keyrings/postgresql-archive-keyring.gpg --import /usr/share/keyrings/postgresql-archive-keyring.gpg sudo apt-get update sudo apt-get -y install postgresql-14 python -m pip install --upgrade pip From d79915b23a871977c71f609cc1ae18d9cc0a715c Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:36:21 +0200 Subject: [PATCH 21/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e2c0787..40d5ce6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,8 @@ jobs: python-version: 3.7.7 - name: Install dependencies run: | + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - sudo apt-get update sudo apt-get -y install postgresql-14 python -m pip install --upgrade pip From 662e46c7512fe4348b9e5a9025aab4fca01443d2 Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Thu, 11 Jan 2024 15:38:55 +0200 Subject: [PATCH 22/22] instal postgres 14 in test workflow --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 40d5ce6..9505f35 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc 2>/dev/null | sudo apt-key add - sudo apt-get update sudo apt-get -y install postgresql-14 python -m pip install --upgrade pip