From 36d7d9557423cbaa0bdf0471a4528f8d3814cec4 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 | 11 +++++++++-- requirements.txt | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a64e772..b8d1951a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,12 +9,19 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: '3.11.4' + python-version: '3.12.3' cache: 'pip' - name: Install python dependencies run: | sudo apt-get update - sudo apt-get install -y python3-setuptools python3-virtualenv python3-pip + sudo apt-get install -y \ + python3-setuptools \ + python3-virtualenv \ + python3-pip \ + libxml2 \ + libxml2-dev \ + python3-lxml \ + libxslt-dev pip install --upgrade pip make install-python - name: Test diff --git a/requirements.txt b/requirements.txt index 095193da..5883a65b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -80,7 +80,7 @@ python-dotenv python-frontmatter python-markdown-maker python-slugify -PyYAML +PyYAML==6.0.1 regex requests requests-oauthlib