From 4e9205a44b86b991f9a2332583033bfea1f56629 Mon Sep 17 00:00:00 2001 From: Spyros Date: Sat, 6 Jul 2024 12:39:46 +0100 Subject: [PATCH] pin pyyaml, try to fix incompatibility with cython --- .github/workflows/test.yml | 20 +++++++++++++------- requirements.txt | 3 ++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a64e772..d4a139ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,15 +7,21 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.11.4' - cache: 'pip' + python-version: '3.12.3' - name: Install python dependencies run: | - sudo apt-get update - sudo apt-get install -y python3-setuptools python3-virtualenv python3-pip - pip install --upgrade pip - make install-python + sudo apt-get update + sudo apt-get install -y \ + python3-setuptools \ + python3-virtualenv \ + python3-pip \ + libxml2-dev \ + libxslt-dev + + pip install --upgrade pip + pip install --upgrade setuptools + make install-python - name: Test run: make test diff --git a/requirements.txt b/requirements.txt index 095193da..fe5deb42 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,6 +18,7 @@ grpcio_status grpcio gspread gunicorn +lxml networkx nltk oauthlib @@ -80,7 +81,7 @@ python-dotenv python-frontmatter python-markdown-maker python-slugify -PyYAML +PyYAML==6.0.1 regex requests requests-oauthlib