Browse Source
* enable running lint with the upstream linters job; * Use numeric versions of OpenStack packages in the python-packages section of the openstack-projects part since the resolver change in recent versions of pip disallows for constraints dependencies of packages that come from a URL or a path. https://github.com/pypa/pip/issues/8210 * The newest released version of pip is always used during builds since snapcraft uses venv to set up virtual environments and the ensurepip package is invoked such that a pip version shipped with the distro version of python is upgraded: https://github.com/python/cpython/blob/3.8/Lib/venv/__init__.py#L282-L289 cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade', '--default-pip'] * Environment variables are ignored when pip is installed in the venv: https://docs.python.org/3/using/cmdline.html#id2 (-I option) So there is no way to use the old pip version resolver. Change-Id: Id97dc7f14301ed0f6aed3e10f5c00e6dd7ac93d2 Co-Authored-By: Dmitrii Shcherbakov <dmitrii.shcherbakov@canonical.com>changes/64/770564/13
5 changed files with 46 additions and 24 deletions
@ -1,15 +1,7 @@
|
||||
- job: |
||||
name: microstack-tox-snap-with-sudo |
||||
parent: openstack-tox-snap-with-sudo |
||||
timeout: 7200 |
||||
nodeset: ubuntu-bionic |
||||
vars: |
||||
tox_envlist: snap |
||||
|
||||
- project: |
||||
check: |
||||
jobs: |
||||
- microstack-tox-snap-with-sudo |
||||
- openstack-tox-linters |
||||
gate: |
||||
jobs: |
||||
- microstack-tox-snap-with-sudo |
||||
- openstack-tox-linters |
||||
|
@ -0,0 +1,26 @@
|
||||
- job: |
||||
name: microstack-bionic |
||||
parent: openstack-tox-snap-with-sudo |
||||
timeout: 7200 |
||||
nodeset: |
||||
nodes: |
||||
- name: bionic-brown |
||||
label: bionic-brown |
||||
vars: |
||||
tox_envlist: snap |
||||
- job: |
||||
name: microstack-focal |
||||
parent: openstack-tox-snap-with-sudo |
||||
timeout: 7200 |
||||
nodeset: |
||||
nodes: |
||||
- name: focal-brown |
||||
label: focal-brown |
||||
vars: |
||||
tox_envlist: snap |
||||
|
||||
- project: |
||||
check: |
||||
jobs: |
||||
- microstack-bionic |
||||
- microstack-focal |
Loading…
Reference in new issue