mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
ci(s3tests): install libxml2/libxslt dev headers before pip install
ceph/s3-tests pins lxml without an upper bound. When pip picks a release whose prebuilt wheel isn't published for Python 3.9 on the runner, it falls back to sdist and fails without libxml2-dev / libxslt1-dev.
This commit is contained in:
@@ -37,6 +37,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ceph/s3-tests.git
|
git clone https://github.com/ceph/s3-tests.git
|
||||||
cd s3-tests
|
cd s3-tests
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y -qq libxml2-dev libxslt1-dev zlib1g-dev
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install tox
|
pip install tox
|
||||||
pip install -e .
|
pip install -e .
|
||||||
@@ -339,6 +341,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ceph/s3-tests.git
|
git clone https://github.com/ceph/s3-tests.git
|
||||||
cd s3-tests
|
cd s3-tests
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y -qq libxml2-dev libxslt1-dev zlib1g-dev
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install tox
|
pip install tox
|
||||||
pip install -e .
|
pip install -e .
|
||||||
@@ -507,6 +511,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ceph/s3-tests.git
|
git clone https://github.com/ceph/s3-tests.git
|
||||||
cd s3-tests
|
cd s3-tests
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y -qq libxml2-dev libxslt1-dev zlib1g-dev
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install tox
|
pip install tox
|
||||||
pip install -e .
|
pip install -e .
|
||||||
@@ -730,6 +736,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/ceph/s3-tests.git
|
git clone https://github.com/ceph/s3-tests.git
|
||||||
cd s3-tests
|
cd s3-tests
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y -qq libxml2-dev libxslt1-dev zlib1g-dev
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install tox
|
pip install tox
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|||||||
Reference in New Issue
Block a user