瀏覽代碼

unpin olddeps build from py36

tags/v1.32.0rc1
Richard van der Hoff 3 年之前
父節點
當前提交
906065c75b
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. +3
    -3
      .buildkite/scripts/test_old_deps.sh
  2. +2
    -2
      tox.ini

+ 3
- 3
.buildkite/scripts/test_old_deps.sh 查看文件

@@ -1,16 +1,16 @@
#!/usr/bin/env bash

# this script is run by buildkite in a plain `xenial` container; it installs the
# minimal requirements for tox and hands over to the py35-old tox environment.
# minimal requirements for tox and hands over to the py3-old tox environment.

set -ex

apt-get update
apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox
apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox

export LANG="C.UTF-8"

# Prevent virtualenv from auto-updating pip to an incompatible version
export VIRTUALENV_NO_DOWNLOAD=1

exec tox -e py35-old,combine
exec tox -e py3-old,combine

+ 2
- 2
tox.ini 查看文件

@@ -74,7 +74,7 @@ commands =
# we use "env" rather than putting a value in `setenv` so that it is not
# inherited by other tox environments.
#
# keep this in sync with the copy in `testenv:py35-old`.
# keep this in sync with the copy in `testenv:py3-old`.
#
/usr/bin/env COVERAGE_PROCESS_START={toxinidir}/.coveragerc "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}

@@ -103,7 +103,7 @@ usedevelop=true

# A test suite for the oldest supported versions of Python libraries, to catch
# any uses of APIs not available in them.
[testenv:py35-old]
[testenv:py3-old]
skip_install = true
usedevelop = false
deps =


Loading…
取消
儲存