summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R. Crusoe <1330696+mr-c@users.noreply.github.com>2021-10-17 19:29:05 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-11-01 10:48:37 +0100
commit557f431642b8338de34b6907b480f96ff8a2313d (patch)
tree314b768b00fcdae7bcd43e09fe79b339615e3545
parent3f77f6f04f7e0c086625c2ab674dfcfb709c0448 (diff)
downloadpython-lxml-557f431642b8338de34b6907b480f96ff8a2313d.tar.gz
GitHub Actions: "3.10" instead of 3.10-dev, pin rnc2rng to keep py2.7 compat (GH-328)
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.travis.yml2
2 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f8414495..4507429e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,14 +22,10 @@ jobs:
# Tests [amd64]
#
os: [ubuntu-18.04, macos-10.15]
- python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10-dev]
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"] # quotes to avoid being interpreted as the number 3.1
env: [{ STATIC_DEPS: true }, { STATIC_DEPS: false }]
include:
- # Temporary - Allow failure on all 3.10-dev jobs until beta comes out
- #- os: ubuntu-18.04
- # python-version: 3.10-dev
- # allowed_failure: true
# Coverage setup
- os: ubuntu-18.04
python-version: 3.9
diff --git a/.travis.yml b/.travis.yml
index e194553f..9d8a9f42 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,7 +73,7 @@ install:
then pip install --install-option=--no-cython-compile https://github.com/cython/cython/archive/master.zip;
else pip install -r requirements.txt;
fi
- - pip install -U beautifulsoup4 cssselect html5lib rnc2rng ${EXTRA_DEPS}
+ - pip install -U beautifulsoup4 cssselect html5lib rnc2rng==2.6.5 ${EXTRA_DEPS}
script:
- CFLAGS="-O0 -g -fPIC" python -u setup.py build_ext --inplace