releases/.zuul.yaml
Előd Illés e83bb1f69a Uncap jsonschema
With the latest upper constraints updating generated patch [1] the
openstack-tox-docs job started to fail, due to conflict:

ERROR: Cannot install jsonschema<4.0.0 and >=3.2.0 because these
package versions have conflicting dependencies.

The conflict is caused by:
    The user requested jsonschema<4.0.0 and >=3.2.0
    The user requested (constraint) jsonschema===4.7.2

This is because we have jsonschema<4.0.0 in our requirements.txt.
By uncapping the constraint the docs job is passing.

Date validation needed to be updated as well, because a deprecated
usage of validator extending method was used in the code, which was
removed [2] from jsonschema with the 4.0.0 release. This patch replaces
that with adding a TYPE_CHECKER instead.

With the new jsonschema constraint openstack-tox-py36 job does not pass
anymore, but py36 is dropped from zed anyway. That job is pulled in by
an old job template, which needs to be replaced to the new zed job
templates, too.

[1] I89576353371aa87d181610eb6242cbe961487af6
[2] d9f6384060

Closes-Bug: #1982757
Change-Id: Ida6310dd822e587ce9c424a228fdff5192ba0476
2022-07-26 12:24:11 +02:00

75 lines
1.9 KiB
YAML

- job:
name: releases-tox-list-changes
parent: openstack-tox
timeout: 3600
vars:
tox_envlist: list-changes
irrelevant-files:
- ^data/.*$
- ^doc/.*$
- project:
templates:
- openstack-python3-zed-jobs
- build-openstack-docs-pti
check:
jobs:
- openstack-tox-validate:
timeout: 3600
irrelevant-files:
- ^doc/.*$
- releases-tox-list-changes
- openstack-tox-py38:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-py39:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-py310:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-pep8:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-bashate:
files:
- ^.*\.sh$
release-approval:
jobs:
- check-release-approval
gate:
jobs:
- openstack-tox-validate:
timeout: 10800
irrelevant-files:
- ^doc/.*$
- openstack-tox-py38:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-py39:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
- openstack-tox-py310:
irrelevant-files:
- ^data/.*$
- ^deliverables/.*$
- ^doc/.*$
release-post:
jobs:
- tag-releases
- publish-tox-docs-releases:
dependencies:
- tag-releases