Build: world-goblins
Name: python-apispec-6.0.2-5
maintainer: artist
email: artist at artixlinux.org
[1]https://orion.artixlinux.org/job/packages/job/python-apispec/job/mas
ter/9/
References
1. https://orion.artixlinux.org/job/packages/job/python-apispec/job/master/9/
-------------- next part --------------
Push event to branch master
Looking up repository packages/python-apispec
Querying the current revision of branch master...
Current revision of branch master is 9a892dfdbbbb7069d82434c198cd829fe1f9b48d
Obtained .artixlinux/Jenkinsfile from 9a892dfdbbbb7069d82434c198cd829fe1f9b48d
Loading library artix-ci at orion
Attempting to resolve orion from remote references...
> git --version # timeout=10
> git --version # 'git version 2.47.0'
using GIT_ASKPASS to set credentials jenkins gitea token
> git ls-remote -- https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Found match: refs/heads/orion revision 880bd3745db54fd7d2bc517b1ce67190bee429ae
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential jenkins-gotea-token
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-apispec_master at libs/d1b6e538991d6cf27c1f72e8cf4d6e290b22a9c93094b0e97e3a05b8d58db898/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitea.artixlinux.org/artix/pipeline-libs.git
> git --version # timeout=10
> git --version # 'git version 2.47.0'
using GIT_ASKPASS to set credentials jenkins gitea token
> git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/artix/pipeline-libs.git +refs/heads/orion:refs/remotes/origin/orion # timeout=10
Checking out Revision 880bd3745db54fd7d2bc517b1ce67190bee429ae (orion)
> git config core.sparsecheckout # timeout=10
> git checkout -f 880bd3745db54fd7d2bc517b1ce67190bee429ae # timeout=10
Commit message: "Merge pull request 'fix check args' (#69) from master into orion"
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] Start of Pipeline
[Pipeline] catchError
[Pipeline] {
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // catchError
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/packages_python-apispec_master
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[2024-11-23T18:48:25.425Z]
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
[2024-11-23T18:48:25.478Z] The recommended git tool is: NONE
[2024-11-23T18:48:25.479Z] using credential jenkins-gotea-token
[2024-11-23T18:48:25.579Z] > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-apispec_master/.git # timeout=10
[2024-11-23T18:48:25.585Z] Fetching changes from the remote Git repository
[2024-11-23T18:48:25.586Z] > git config remote.origin.url https://gitea.artixlinux.org/packages/python-apispec.git # timeout=10
[2024-11-23T18:48:25.592Z] Cleaning workspace
[2024-11-23T18:48:25.592Z] > git rev-parse --verify HEAD # timeout=10
[2024-11-23T18:48:25.598Z] Resetting working tree
[2024-11-23T18:48:25.598Z] > git reset --hard # timeout=10
[2024-11-23T18:48:25.603Z] > git clean -fdx # timeout=10
[2024-11-23T18:48:25.607Z] Fetching without tags
[2024-11-23T18:48:25.607Z] Fetching upstream changes from https://gitea.artixlinux.org/packages/python-apispec.git
[2024-11-23T18:48:25.607Z] > git --version # timeout=10
[2024-11-23T18:48:25.612Z] > git --version # 'git version 2.47.0'
[2024-11-23T18:48:25.612Z] using GIT_ASKPASS to set credentials jenkins gitea token
[2024-11-23T18:48:25.615Z] > git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/packages/python-apispec.git +refs/heads/master:refs/remotes/origin/master # timeout=10
[2024-11-23T18:48:25.787Z] Checking out Revision 9a892dfdbbbb7069d82434c198cd829fe1f9b48d (master)
[2024-11-23T18:48:25.787Z] > git config core.sparsecheckout # timeout=10
[2024-11-23T18:48:25.793Z] > git checkout -f 9a892dfdbbbb7069d82434c198cd829fe1f9b48d # timeout=10
[2024-11-23T18:48:25.804Z] Commit message: "[world-goblins] 'python-apispec-6.0.2-5' add"
[2024-11-23T18:48:25.805Z] > git rev-list --no-walk 599d7fddef81f27170e6380624feb8035dd10c5a # timeout=10
[2024-11-23T18:48:25.820Z] [Gitea] Notifying branch build status: PENDING Build started...
[2024-11-23T18:48:25.972Z] [Gitea] Notified
[Pipeline] readYaml
[Pipeline] sh
[2024-11-23T18:48:26.239Z] + git show -s --format=%an 9a892dfdbbbb7069d82434c198cd829fe1f9b48d
[Pipeline] sh
[2024-11-23T18:48:26.496Z] + git show -s --format=%ae 9a892dfdbbbb7069d82434c198cd829fe1f9b48d
[Pipeline] echo
[2024-11-23T18:48:26.520Z] addRepo=world-goblins
[Pipeline] echo
[2024-11-23T18:48:26.525Z] removeRepo=null
[Pipeline] echo
[2024-11-23T18:48:26.530Z] triggersBuild=true
[Pipeline] echo
[2024-11-23T18:48:26.535Z] triggersRebuild=false
[Pipeline] echo
[2024-11-23T18:48:26.539Z] triggersRepoAdd=true
[Pipeline] echo
[2024-11-23T18:48:26.544Z] triggersRepoRemove=false
[Pipeline] echo
[2024-11-23T18:48:26.549Z] triggersNoCheck=false
[Pipeline] echo
[2024-11-23T18:48:26.554Z] name=artist
[Pipeline] echo
[2024-11-23T18:48:26.559Z] email=artist at artixlinux.org
[Pipeline] echo
[2024-11-23T18:48:26.564Z] credentialsId=BUILDBOT_GPGP
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2024-11-23T18:48:26.881Z] + buildpkg -n -a x86_64 -d world-goblins -e 'artist <artist at artixlinux.org>'
[2024-11-23T18:48:31.003Z] :: Synchronizing package databases...
[2024-11-23T18:48:31.003Z] system-goblins downloading...
[2024-11-23T18:48:31.003Z] system-gremlins downloading...
[2024-11-23T18:48:31.003Z] system downloading...
[2024-11-23T18:48:31.003Z] world-goblins downloading...
[2024-11-23T18:48:31.003Z] world-gremlins downloading...
[2024-11-23T18:48:31.003Z] world downloading...
[2024-11-23T18:48:31.003Z] :: Starting full system upgrade...
[2024-11-23T18:48:31.003Z] there is nothing to do
[2024-11-23T18:48:33.486Z] ==> Building in chroot for [world-goblins] (x86_64)...
[2024-11-23T18:48:33.736Z] ==> Synchronizing chroot copy [/build/buildpkg/world-goblins-x86_64/root] -> [jenkins]...done
[2024-11-23T18:48:35.079Z] ==> Making package: python-apispec 6.0.2-5 (Sat Nov 23 19:48:34 2024)
[2024-11-23T18:48:35.079Z] ==> Retrieving sources...
[2024-11-23T18:48:35.079Z] -> Found python-apispec-6.0.2.tar.gz
[2024-11-23T18:48:35.079Z] ==> Validating source files with sha512sums...
[2024-11-23T18:48:35.079Z] python-apispec-6.0.2.tar.gz ... Passed
[2024-11-23T18:48:40.273Z] ==> Making package: python-apispec 6.0.2-5 (Sat Nov 23 18:48:40 2024)
[2024-11-23T18:48:40.273Z] ==> Checking runtime dependencies...
[2024-11-23T18:48:40.273Z] ==> Installing missing dependencies...
[2024-11-23T18:48:40.273Z] resolving dependencies...
[2024-11-23T18:48:40.523Z] looking for conflicting packages...
[2024-11-23T18:48:40.523Z]
[2024-11-23T18:48:40.523Z] Package (1) New Version Net Change
[2024-11-23T18:48:40.523Z]
[2024-11-23T18:48:40.523Z] world-goblins/python-packaging 24.2-3 0.66 MiB
[2024-11-23T18:48:40.523Z]
[2024-11-23T18:48:40.523Z] Total Installed Size: 0.66 MiB
[2024-11-23T18:48:40.523Z]
[2024-11-23T18:48:40.523Z] :: Proceed with installation? [Y/n]
[2024-11-23T18:48:40.523Z] checking keyring...
[2024-11-23T18:48:40.523Z] checking package integrity...
[2024-11-23T18:48:40.523Z] loading package files...
[2024-11-23T18:48:40.523Z] checking for file conflicts...
[2024-11-23T18:48:40.523Z] :: Processing package changes...
[2024-11-23T18:48:40.523Z] installing python-packaging...
[2024-11-23T18:48:40.523Z] ==> Checking buildtime dependencies...
[2024-11-23T18:48:40.523Z] ==> Installing missing dependencies...
[2024-11-23T18:48:40.774Z] resolving dependencies...
[2024-11-23T18:48:40.774Z] looking for conflicting packages...
[2024-11-23T18:48:40.774Z]
[2024-11-23T18:48:40.774Z] Package (48) New Version Net Change Download Size
[2024-11-23T18:48:40.774Z]
[2024-11-23T18:48:40.774Z] world/libyaml 0.2.5-3 0.18 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-attrs 23.2.0-4 0.54 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-autocommand 2.2.2-7 0.08 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-blinker 1.8.2-2 0.08 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-chardet 5.2.0-6 2.99 MiB
[2024-11-23T18:48:40.774Z] world/python-charset-normalizer 3.4.0-1 0.44 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-click 8.1.7-4 1.18 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-idna 3.10-2 0.88 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-iniconfig 2.0.0-6 0.04 MiB
[2024-11-23T18:48:40.774Z] world/python-itsdangerous 2.1.2-4 0.13 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-jaraco.collections 5.0.1-2 0.10 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-jaraco.context 5.3.0-2 0.04 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-jaraco.functools 4.0.2-2 0.07 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-jaraco.text 4.0.0-2 0.08 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-jinja 1:3.1.4-2 1.75 MiB
[2024-11-23T18:48:40.774Z] world/python-jsonschema 4.23.0-1 1.34 MiB
[2024-11-23T18:48:40.774Z] world/python-jsonschema-path 0.3.3-1 0.09 MiB
[2024-11-23T18:48:40.774Z] world/python-jsonschema-specifications 2023.12.1-2 0.05 MiB
[2024-11-23T18:48:40.774Z] world/python-lazy-object-proxy 1.10.0-3 0.18 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-markupsafe 2.1.5-3 0.08 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-more-itertools 10.3.0-2 0.62 MiB
[2024-11-23T18:48:40.774Z] world/python-openapi-schema-validator 0.6.2-2 0.06 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-pathable 0.4.3-4 0.06 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-platformdirs 4.3.6-2 0.24 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-pluggy 1.5.0-3 0.20 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-pyproject-hooks 1.2.0-3 0.10 MiB
[2024-11-23T18:48:40.774Z] world/python-referencing 0.35.1-1 0.38 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-requests 2.32.3-4 0.60 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-rfc3339-validator 0.1.4-7 0.01 MiB
[2024-11-23T18:48:40.774Z] world/python-rpds-py 0.19.0-1 0.69 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-ruamel-yaml 0.18.6-3 1.76 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-ruamel.yaml.clib 0.2.12-3 0.35 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-semver 3.0.2-4 0.15 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-six 1.16.0-10 0.12 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-urllib3 1.26.20-4 1.27 MiB
[2024-11-23T18:48:40.774Z] world/python-werkzeug 3.0.4-1 2.38 MiB
[2024-11-23T18:48:40.774Z] world/python-bottle 0.12.25-5 0.71 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-build 1.2.2-3 0.20 MiB
[2024-11-23T18:48:40.774Z] world/python-flask 2.3.3-2 0.99 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-installer 0.7.0-10 0.17 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-marshmallow 3.20.2-4 0.59 MiB 0.10 MiB
[2024-11-23T18:48:40.774Z] world/python-openapi-spec-validator 0.7.1-2 0.33 MiB
[2024-11-23T18:48:40.774Z] world/python-prance 0.22.11.04.0-4 0.28 MiB 0.06 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-pytest 1:8.3.3-2.1 3.91 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-setuptools 1:75.2.0-4 8.05 MiB
[2024-11-23T18:48:40.774Z] world/python-tornado 6.4.1-1 5.62 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-wheel 0.45.0-3 0.28 MiB
[2024-11-23T18:48:40.774Z] world-goblins/python-yaml 6.0.2-2 0.96 MiB
[2024-11-23T18:48:40.774Z]
[2024-11-23T18:48:40.774Z] Total Download Size: 0.16 MiB
[2024-11-23T18:48:40.774Z] Total Installed Size: 41.37 MiB
[2024-11-23T18:48:40.774Z]
[2024-11-23T18:48:40.774Z] :: Proceed with installation? [Y/n]
[2024-11-23T18:48:40.774Z] :: Retrieving packages...
[2024-11-23T18:48:40.774Z] python-marshmallow-3.20.2-4-any downloading...
[2024-11-23T18:48:40.774Z] python-prance-0.22.11.04.0-4-any downloading...
[2024-11-23T18:48:40.774Z] checking keyring...
[2024-11-23T18:48:40.774Z] checking package integrity...
[2024-11-23T18:48:42.635Z] loading package files...
[2024-11-23T18:48:42.635Z] checking for file conflicts...
[2024-11-23T18:48:42.635Z] :: Processing package changes...
[2024-11-23T18:48:42.635Z] installing python-more-itertools...
[2024-11-23T18:48:42.635Z] installing python-jaraco.functools...
[2024-11-23T18:48:42.635Z] installing python-jaraco.context...
[2024-11-23T18:48:42.635Z] installing python-autocommand...
[2024-11-23T18:48:42.635Z] installing python-jaraco.text...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-jaraco.text
[2024-11-23T18:48:42.635Z] python-inflect: for show-newlines script
[2024-11-23T18:48:42.635Z] installing python-jaraco.collections...
[2024-11-23T18:48:42.635Z] installing python-platformdirs...
[2024-11-23T18:48:42.635Z] installing python-wheel...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-wheel
[2024-11-23T18:48:42.635Z] python-keyring: for wheel.signatures
[2024-11-23T18:48:42.635Z] python-xdg: for wheel.signatures
[2024-11-23T18:48:42.635Z] python-setuptools: for legacy bdist_wheel subcommand [pending]
[2024-11-23T18:48:42.635Z] installing python-setuptools...
[2024-11-23T18:48:42.635Z] installing python-pyproject-hooks...
[2024-11-23T18:48:42.635Z] installing python-build...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-build
[2024-11-23T18:48:42.635Z] python-pip: to use as the Python package installer (default)
[2024-11-23T18:48:42.635Z] python-uv: to use as the Python package installer
[2024-11-23T18:48:42.635Z] python-virtualenv: to use virtualenv for build isolation
[2024-11-23T18:48:42.635Z] installing python-installer...
[2024-11-23T18:48:42.635Z] installing python-tornado...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-tornado
[2024-11-23T18:48:42.635Z] python-pycurl: for tornado.curl_httpclient
[2024-11-23T18:48:42.635Z] python-pycares: an alternative non-blocking DNS resolver
[2024-11-23T18:48:42.635Z] python-twisted: for tornado.platform.twisted
[2024-11-23T18:48:42.635Z] installing python-bottle...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-bottle
[2024-11-23T18:48:42.635Z] python-waitress: Waitress WSGI server
[2024-11-23T18:48:42.635Z] python-cherrypy: Cherrypy WSGI server
[2024-11-23T18:48:42.635Z] python-eventlet: Eventlet server support
[2024-11-23T18:48:42.635Z] installing python-marshmallow...
[2024-11-23T18:48:42.635Z] installing python-markupsafe...
[2024-11-23T18:48:42.635Z] installing python-werkzeug...
[2024-11-23T18:48:42.635Z] installing python-jinja...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-jinja
[2024-11-23T18:48:42.635Z] python-babel: for i18n support
[2024-11-23T18:48:42.635Z] installing python-itsdangerous...
[2024-11-23T18:48:42.635Z] installing python-click...
[2024-11-23T18:48:42.635Z] installing python-blinker...
[2024-11-23T18:48:42.635Z] installing python-flask...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-flask
[2024-11-23T18:48:42.635Z] python-asgiref: async functions and views
[2024-11-23T18:48:42.635Z] python-dotenv: loading env vars from files
[2024-11-23T18:48:42.635Z] installing python-chardet...
[2024-11-23T18:48:42.635Z] installing python-ruamel.yaml.clib...
[2024-11-23T18:48:42.635Z] installing python-ruamel-yaml...
[2024-11-23T18:48:42.635Z] installing python-charset-normalizer...
[2024-11-23T18:48:42.635Z] installing python-idna...
[2024-11-23T18:48:42.635Z] installing python-urllib3...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-urllib3
[2024-11-23T18:48:42.635Z] python-brotli: Brotli support
[2024-11-23T18:48:42.635Z] python-certifi: security support
[2024-11-23T18:48:42.635Z] python-cryptography: security support
[2024-11-23T18:48:42.635Z] python-idna: security support [installed]
[2024-11-23T18:48:42.635Z] python-pyopenssl: security support
[2024-11-23T18:48:42.635Z] python-pysocks: SOCKS support
[2024-11-23T18:48:42.635Z] installing python-requests...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-requests
[2024-11-23T18:48:42.635Z] python-chardet: alternative character encoding library [installed]
[2024-11-23T18:48:42.635Z] python-pysocks: SOCKS proxy support
[2024-11-23T18:48:42.635Z] installing python-six...
[2024-11-23T18:48:42.635Z] installing python-semver...
[2024-11-23T18:48:42.635Z] installing python-prance...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-prance
[2024-11-23T18:48:42.635Z] python-flex
[2024-11-23T18:48:42.635Z] python-click [installed]
[2024-11-23T18:48:42.635Z] python-pyicu
[2024-11-23T18:48:42.635Z] python-openapi-spec-validator [pending]
[2024-11-23T18:48:42.635Z] installing libyaml...
[2024-11-23T18:48:42.635Z] installing python-yaml...
[2024-11-23T18:48:42.635Z] installing python-attrs...
[2024-11-23T18:48:42.635Z] installing python-rpds-py...
[2024-11-23T18:48:42.635Z] installing python-referencing...
[2024-11-23T18:48:42.635Z] installing python-jsonschema-specifications...
[2024-11-23T18:48:42.635Z] installing python-jsonschema...
[2024-11-23T18:48:42.635Z] Optional dependencies for python-jsonschema
[2024-11-23T18:48:42.635Z] python-isoduration: for duration format
[2024-11-23T18:48:42.635Z] python-fqdn: for hostname format
[2024-11-23T18:48:42.635Z] python-idna: for idn-hostname format [installed]
[2024-11-23T18:48:42.635Z] python-jsonpointer: for json-pointer & relative-json-pointer format
[2024-11-23T18:48:42.635Z] python-rfc3339-validator: for date-time format [pending]
[2024-11-23T18:48:42.635Z] python-rfc3987: for iri, iri-reference, uri & uri-reference format
[2024-11-23T18:48:42.635Z] python-uri-template: for uri-template format
[2024-11-23T18:48:42.635Z] python-webcolors: for color format
[2024-11-23T18:48:42.635Z] installing python-rfc3339-validator...
[2024-11-23T18:48:42.635Z] installing python-openapi-schema-validator...
[2024-11-23T18:48:42.635Z] installing python-pathable...
[2024-11-23T18:48:42.635Z] installing python-jsonschema-path...
[2024-11-23T18:48:42.635Z] installing python-lazy-object-proxy...
[2024-11-23T18:48:42.635Z] installing python-openapi-spec-validator...
[2024-11-23T18:48:42.635Z] installing python-iniconfig...
[2024-11-23T18:48:42.635Z] installing python-pluggy...
[2024-11-23T18:48:42.635Z] installing python-pytest...
[2024-11-23T18:48:42.886Z] ==> Retrieving sources...
[2024-11-23T18:48:42.886Z] -> Found python-apispec-6.0.2.tar.gz
[2024-11-23T18:48:42.886Z] ==> WARNING: Skipping all source file integrity checks.
[2024-11-23T18:48:42.886Z] ==> Extracting sources...
[2024-11-23T18:48:42.886Z] -> Extracting python-apispec-6.0.2.tar.gz with bsdtar
[2024-11-23T18:48:42.886Z] ==> Starting build()...
[2024-11-23T18:48:43.136Z] * Getting build dependencies for wheel...
[2024-11-23T18:48:43.386Z] /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
[2024-11-23T18:48:43.386Z] warnings.warn(msg)
[2024-11-23T18:48:43.386Z] running egg_info
[2024-11-23T18:48:43.386Z] creating src/apispec.egg-info
[2024-11-23T18:48:43.386Z] writing src/apispec.egg-info/PKG-INFO
[2024-11-23T18:48:43.386Z] writing dependency_links to src/apispec.egg-info/dependency_links.txt
[2024-11-23T18:48:43.386Z] writing requirements to src/apispec.egg-info/requires.txt
[2024-11-23T18:48:43.386Z] writing top-level names to src/apispec.egg-info/top_level.txt
[2024-11-23T18:48:43.386Z] writing manifest file 'src/apispec.egg-info/SOURCES.txt'
[2024-11-23T18:48:43.386Z] reading manifest file 'src/apispec.egg-info/SOURCES.txt'
[2024-11-23T18:48:43.386Z] reading manifest template 'MANIFEST.in'
[2024-11-23T18:48:43.386Z] warning: no previously-included files matching '*.pyc' found under directory 'docs'
[2024-11-23T18:48:43.386Z] warning: no previously-included files matching '*.pyo' found under directory 'docs'
[2024-11-23T18:48:43.386Z] warning: no previously-included files matching '*.pyc' found under directory 'tests'
[2024-11-23T18:48:43.386Z] warning: no previously-included files matching '*.pyo' found under directory 'tests'
[2024-11-23T18:48:43.386Z] no previously-included directories found matching 'docs/_build'
[2024-11-23T18:48:43.386Z] adding license file 'LICENSE'
[2024-11-23T18:48:43.386Z] writing manifest file 'src/apispec.egg-info/SOURCES.txt'
[2024-11-23T18:48:43.386Z] * Building wheel...
[2024-11-23T18:48:43.636Z] /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
[2024-11-23T18:48:43.637Z] warnings.warn(msg)
[2024-11-23T18:48:43.637Z] running bdist_wheel
[2024-11-23T18:48:43.637Z] running build
[2024-11-23T18:48:43.637Z] running build_py
[2024-11-23T18:48:43.637Z] creating build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/__init__.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/core.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/exceptions.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/plugin.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/yaml_utils.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] copying src/apispec/utils.py -> build/lib/apispec
[2024-11-23T18:48:43.637Z] creating build/lib/apispec/ext
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/__init__.py -> build/lib/apispec/ext
[2024-11-23T18:48:43.637Z] creating build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/marshmallow/__init__.py -> build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/marshmallow/common.py -> build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/marshmallow/field_converter.py -> build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/marshmallow/schema_resolver.py -> build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying src/apispec/ext/marshmallow/openapi.py -> build/lib/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] running egg_info
[2024-11-23T18:48:43.637Z] writing src/apispec.egg-info/PKG-INFO
[2024-11-23T18:48:43.637Z] writing dependency_links to src/apispec.egg-info/dependency_links.txt
[2024-11-23T18:48:43.637Z] writing requirements to src/apispec.egg-info/requires.txt
[2024-11-23T18:48:43.637Z] writing top-level names to src/apispec.egg-info/top_level.txt
[2024-11-23T18:48:43.637Z] reading manifest file 'src/apispec.egg-info/SOURCES.txt'
[2024-11-23T18:48:43.637Z] reading manifest template 'MANIFEST.in'
[2024-11-23T18:48:43.637Z] warning: no previously-included files matching '*.pyc' found under directory 'docs'
[2024-11-23T18:48:43.637Z] warning: no previously-included files matching '*.pyo' found under directory 'docs'
[2024-11-23T18:48:43.637Z] warning: no previously-included files matching '*.pyc' found under directory 'tests'
[2024-11-23T18:48:43.637Z] warning: no previously-included files matching '*.pyo' found under directory 'tests'
[2024-11-23T18:48:43.637Z] no previously-included directories found matching 'docs/_build'
[2024-11-23T18:48:43.637Z] adding license file 'LICENSE'
[2024-11-23T18:48:43.637Z] writing manifest file 'src/apispec.egg-info/SOURCES.txt'
[2024-11-23T18:48:43.637Z] copying src/apispec/py.typed -> build/lib/apispec
[2024-11-23T18:48:43.637Z] installing to build/bdist.linux-x86_64/wheel
[2024-11-23T18:48:43.637Z] running install
[2024-11-23T18:48:43.637Z] running install_lib
[2024-11-23T18:48:43.637Z] creating build/bdist.linux-x86_64/wheel
[2024-11-23T18:48:43.637Z] creating build/bdist.linux-x86_64/wheel/apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/__init__.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/core.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/py.typed -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/exceptions.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/plugin.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/yaml_utils.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/utils.py -> build/bdist.linux-x86_64/wheel/./apispec
[2024-11-23T18:48:43.637Z] creating build/bdist.linux-x86_64/wheel/apispec/ext
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/__init__.py -> build/bdist.linux-x86_64/wheel/./apispec/ext
[2024-11-23T18:48:43.637Z] creating build/bdist.linux-x86_64/wheel/apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/marshmallow/__init__.py -> build/bdist.linux-x86_64/wheel/./apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/marshmallow/common.py -> build/bdist.linux-x86_64/wheel/./apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/marshmallow/field_converter.py -> build/bdist.linux-x86_64/wheel/./apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/marshmallow/schema_resolver.py -> build/bdist.linux-x86_64/wheel/./apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] copying build/lib/apispec/ext/marshmallow/openapi.py -> build/bdist.linux-x86_64/wheel/./apispec/ext/marshmallow
[2024-11-23T18:48:43.637Z] running install_egg_info
[2024-11-23T18:48:43.637Z] Copying src/apispec.egg-info to build/bdist.linux-x86_64/wheel/./apispec-6.0.2-py3.13.egg-info
[2024-11-23T18:48:43.637Z] running install_scripts
[2024-11-23T18:48:43.637Z] creating build/bdist.linux-x86_64/wheel/apispec-6.0.2.dist-info/WHEEL
[2024-11-23T18:48:43.637Z] creating '/build/python-apispec/src/apispec-6.0.2/dist/.tmp-_cb5qxu6/apispec-6.0.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
[2024-11-23T18:48:43.637Z] adding 'apispec/__init__.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/core.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/exceptions.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/plugin.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/py.typed'
[2024-11-23T18:48:43.637Z] adding 'apispec/utils.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/yaml_utils.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/__init__.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/marshmallow/__init__.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/marshmallow/common.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/marshmallow/field_converter.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/marshmallow/openapi.py'
[2024-11-23T18:48:43.637Z] adding 'apispec/ext/marshmallow/schema_resolver.py'
[2024-11-23T18:48:43.637Z] adding 'apispec-6.0.2.dist-info/LICENSE'
[2024-11-23T18:48:43.637Z] adding 'apispec-6.0.2.dist-info/METADATA'
[2024-11-23T18:48:43.637Z] adding 'apispec-6.0.2.dist-info/WHEEL'
[2024-11-23T18:48:43.637Z] adding 'apispec-6.0.2.dist-info/top_level.txt'
[2024-11-23T18:48:43.637Z] adding 'apispec-6.0.2.dist-info/RECORD'
[2024-11-23T18:48:43.637Z] removing build/bdist.linux-x86_64/wheel
[2024-11-23T18:48:43.887Z] Successfully built apispec-6.0.2-py3-none-any.whl
[2024-11-23T18:48:43.887Z] ==> Starting check()...
[2024-11-23T18:48:44.798Z] ============================= test session starts ==============================
[2024-11-23T18:48:44.798Z] platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
[2024-11-23T18:48:44.798Z] rootdir: /build/python-apispec/src/apispec-6.0.2
[2024-11-23T18:48:44.798Z] configfile: pyproject.toml
[2024-11-23T18:48:44.798Z] collected 520 items / 1 deselected / 519 selected
[2024-11-23T18:48:44.798Z]
[2024-11-23T18:48:44.798Z] tests/test_core.py ..................................................... [ 10%]
[2024-11-23T18:48:44.798Z] ........................................................................ [ 24%]
[2024-11-23T18:48:44.798Z] ......................... [ 28%]
[2024-11-23T18:48:44.798Z] tests/test_ext_marshmallow.py .......................................... [ 36%]
[2024-11-23T18:48:44.798Z] ........................................................................ [ 50%]
[2024-11-23T18:48:44.798Z] .. [ 51%]
[2024-11-23T18:48:45.048Z] tests/test_ext_marshmallow_common.py ............. [ 53%]
[2024-11-23T18:48:45.048Z] tests/test_ext_marshmallow_field.py .................................... [ 60%]
[2024-11-23T18:48:45.048Z] ........................................................................ [ 74%]
[2024-11-23T18:48:45.048Z] ........................ [ 79%]
[2024-11-23T18:48:45.048Z] tests/test_ext_marshmallow_openapi.py .................................. [ 85%]
[2024-11-23T18:48:45.298Z] ........................................FF..................... [ 97%]
[2024-11-23T18:48:45.298Z] tests/test_utils.py . [ 98%]
[2024-11-23T18:48:45.298Z] tests/test_yaml_utils.py .......... [100%]
[2024-11-23T18:48:45.298Z]
[2024-11-23T18:48:45.298Z] =================================== FAILURES ===================================
[2024-11-23T18:48:45.298Z] ________________________ test_openapi_tools_validate_v2 ________________________
[2024-11-23T18:48:45.298Z]
[2024-11-23T18:48:45.298Z] spec = <apispec.core.APISpec object at 0x7299b1040830>
[2024-11-23T18:48:45.298Z]
[2024-11-23T18:48:45.298Z] def validate_spec(spec: APISpec) -> bool:
[2024-11-23T18:48:45.298Z] """Validate the output of an :class:`APISpec` object against the
[2024-11-23T18:48:45.298Z] OpenAPI specification.
[2024-11-23T18:48:45.298Z]
[2024-11-23T18:48:45.298Z] Note: Requires installing apispec with the ``[validation]`` extras.
[2024-11-23T18:48:45.299Z] ::
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] pip install 'apispec[validation]'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] :raise: apispec.exceptions.OpenAPIError if validation fails.
[2024-11-23T18:48:45.299Z] """
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] > import prance
[2024-11-23T18:48:45.299Z] E ModuleNotFoundError: No module named 'prance'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] tests/utils.py:63: ModuleNotFoundError
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] The above exception was the direct cause of the following exception:
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] def test_openapi_tools_validate_v2():
[2024-11-23T18:48:45.299Z] ma_plugin = MarshmallowPlugin()
[2024-11-23T18:48:45.299Z] spec = APISpec(
[2024-11-23T18:48:45.299Z] title="Pets", version="0.1", plugins=(ma_plugin,), openapi_version="2.0"
[2024-11-23T18:48:45.299Z] )
[2024-11-23T18:48:45.299Z] openapi = ma_plugin.converter
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec.components.schema("Category", schema=CategorySchema)
[2024-11-23T18:48:45.299Z] spec.components.schema("Pet", {"discriminator": "name"}, schema=PetSchema)
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec.path(
[2024-11-23T18:48:45.299Z] view=None,
[2024-11-23T18:48:45.299Z] path="/category/{category_id}",
[2024-11-23T18:48:45.299Z] operations={
[2024-11-23T18:48:45.299Z] "get": {
[2024-11-23T18:48:45.299Z] "parameters": [
[2024-11-23T18:48:45.299Z] {"name": "q", "in": "query", "type": "string"},
[2024-11-23T18:48:45.299Z] {
[2024-11-23T18:48:45.299Z] "name": "category_id",
[2024-11-23T18:48:45.299Z] "in": "path",
[2024-11-23T18:48:45.299Z] "required": True,
[2024-11-23T18:48:45.299Z] "type": "string",
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] openapi._field2parameter(
[2024-11-23T18:48:45.299Z] field=fields.List(
[2024-11-23T18:48:45.299Z] fields.Str(),
[2024-11-23T18:48:45.299Z] validate=validate.OneOf(["freddie", "roger"]),
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] location="query",
[2024-11-23T18:48:45.299Z] name="body",
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] ]
[2024-11-23T18:48:45.299Z] + openapi.schema2parameters(PageSchema, location="query"),
[2024-11-23T18:48:45.299Z] "responses": {200: {"schema": PetSchema, "description": "A pet"}},
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] "post": {
[2024-11-23T18:48:45.299Z] "parameters": (
[2024-11-23T18:48:45.299Z] [
[2024-11-23T18:48:45.299Z] {
[2024-11-23T18:48:45.299Z] "name": "category_id",
[2024-11-23T18:48:45.299Z] "in": "path",
[2024-11-23T18:48:45.299Z] "required": True,
[2024-11-23T18:48:45.299Z] "type": "string",
[2024-11-23T18:48:45.299Z] }
[2024-11-23T18:48:45.299Z] ]
[2024-11-23T18:48:45.299Z] + openapi.schema2parameters(CategorySchema, location="body")
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] "responses": {201: {"schema": PetSchema, "description": "A pet"}},
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] )
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] > validate_spec(spec)
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] tests/test_ext_marshmallow_openapi.py:538:
[2024-11-23T18:48:45.299Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec = <apispec.core.APISpec object at 0x7299b1040830>
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] def validate_spec(spec: APISpec) -> bool:
[2024-11-23T18:48:45.299Z] """Validate the output of an :class:`APISpec` object against the
[2024-11-23T18:48:45.299Z] OpenAPI specification.
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] Note: Requires installing apispec with the ``[validation]`` extras.
[2024-11-23T18:48:45.299Z] ::
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] pip install 'apispec[validation]'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] :raise: apispec.exceptions.OpenAPIError if validation fails.
[2024-11-23T18:48:45.299Z] """
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] import prance
[2024-11-23T18:48:45.299Z] except ImportError as error: # re-raise with a more verbose message
[2024-11-23T18:48:45.299Z] exc_class = type(error)
[2024-11-23T18:48:45.299Z] > raise exc_class(
[2024-11-23T18:48:45.299Z] "validate_spec requires prance to be installed. "
[2024-11-23T18:48:45.299Z] "You can install all validation requirements using:\n"
[2024-11-23T18:48:45.299Z] " pip install 'apispec[validation]'"
[2024-11-23T18:48:45.299Z] ) from error
[2024-11-23T18:48:45.299Z] E ModuleNotFoundError: validate_spec requires prance to be installed. You can install all validation requirements using:
[2024-11-23T18:48:45.299Z] E pip install 'apispec[validation]'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] tests/utils.py:66: ModuleNotFoundError
[2024-11-23T18:48:45.299Z] ________________________ test_openapi_tools_validate_v3 ________________________
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec = <apispec.core.APISpec object at 0x7299b0675640>
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] def validate_spec(spec: APISpec) -> bool:
[2024-11-23T18:48:45.299Z] """Validate the output of an :class:`APISpec` object against the
[2024-11-23T18:48:45.299Z] OpenAPI specification.
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] Note: Requires installing apispec with the ``[validation]`` extras.
[2024-11-23T18:48:45.299Z] ::
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] pip install 'apispec[validation]'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] :raise: apispec.exceptions.OpenAPIError if validation fails.
[2024-11-23T18:48:45.299Z] """
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] > import prance
[2024-11-23T18:48:45.299Z] E ModuleNotFoundError: No module named 'prance'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] tests/utils.py:63: ModuleNotFoundError
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] The above exception was the direct cause of the following exception:
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] def test_openapi_tools_validate_v3():
[2024-11-23T18:48:45.299Z] ma_plugin = MarshmallowPlugin()
[2024-11-23T18:48:45.299Z] spec = APISpec(
[2024-11-23T18:48:45.299Z] title="Pets", version="0.1", plugins=(ma_plugin,), openapi_version="3.0.0"
[2024-11-23T18:48:45.299Z] )
[2024-11-23T18:48:45.299Z] openapi = ma_plugin.converter
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec.components.schema("Category", schema=CategorySchema)
[2024-11-23T18:48:45.299Z] spec.components.schema("Pet", schema=PetSchema)
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec.path(
[2024-11-23T18:48:45.299Z] view=None,
[2024-11-23T18:48:45.299Z] path="/category/{category_id}",
[2024-11-23T18:48:45.299Z] operations={
[2024-11-23T18:48:45.299Z] "get": {
[2024-11-23T18:48:45.299Z] "parameters": [
[2024-11-23T18:48:45.299Z] {"name": "q", "in": "query", "schema": {"type": "string"}},
[2024-11-23T18:48:45.299Z] {
[2024-11-23T18:48:45.299Z] "name": "category_id",
[2024-11-23T18:48:45.299Z] "in": "path",
[2024-11-23T18:48:45.299Z] "required": True,
[2024-11-23T18:48:45.299Z] "schema": {"type": "string"},
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] openapi._field2parameter(
[2024-11-23T18:48:45.299Z] field=fields.List(
[2024-11-23T18:48:45.299Z] fields.Str(),
[2024-11-23T18:48:45.299Z] validate=validate.OneOf(["freddie", "roger"]),
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] location="query",
[2024-11-23T18:48:45.299Z] name="body",
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] ]
[2024-11-23T18:48:45.299Z] + openapi.schema2parameters(PageSchema, location="query"),
[2024-11-23T18:48:45.299Z] "responses": {
[2024-11-23T18:48:45.299Z] 200: {
[2024-11-23T18:48:45.299Z] "description": "success",
[2024-11-23T18:48:45.299Z] "content": {"application/json": {"schema": PetSchema}},
[2024-11-23T18:48:45.299Z] }
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] "post": {
[2024-11-23T18:48:45.299Z] "parameters": (
[2024-11-23T18:48:45.299Z] [
[2024-11-23T18:48:45.299Z] {
[2024-11-23T18:48:45.299Z] "name": "category_id",
[2024-11-23T18:48:45.299Z] "in": "path",
[2024-11-23T18:48:45.299Z] "required": True,
[2024-11-23T18:48:45.299Z] "schema": {"type": "string"},
[2024-11-23T18:48:45.299Z] }
[2024-11-23T18:48:45.299Z] ]
[2024-11-23T18:48:45.299Z] ),
[2024-11-23T18:48:45.299Z] "requestBody": {
[2024-11-23T18:48:45.299Z] "content": {"application/json": {"schema": CategorySchema}}
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] "responses": {
[2024-11-23T18:48:45.299Z] 201: {
[2024-11-23T18:48:45.299Z] "description": "created",
[2024-11-23T18:48:45.299Z] "content": {"application/json": {"schema": PetSchema}},
[2024-11-23T18:48:45.299Z] }
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] },
[2024-11-23T18:48:45.299Z] )
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] > validate_spec(spec)
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] tests/test_ext_marshmallow_openapi.py:607:
[2024-11-23T18:48:45.299Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] spec = <apispec.core.APISpec object at 0x7299b0675640>
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] def validate_spec(spec: APISpec) -> bool:
[2024-11-23T18:48:45.299Z] """Validate the output of an :class:`APISpec` object against the
[2024-11-23T18:48:45.299Z] OpenAPI specification.
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] Note: Requires installing apispec with the ``[validation]`` extras.
[2024-11-23T18:48:45.299Z] ::
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] pip install 'apispec[validation]'
[2024-11-23T18:48:45.299Z]
[2024-11-23T18:48:45.299Z] :raise: apispec.exceptions.OpenAPIError if validation fails.
[2024-11-23T18:48:45.299Z] """
[2024-11-23T18:48:45.299Z] try:
[2024-11-23T18:48:45.299Z] import prance
[2024-11-23T18:48:45.299Z] except ImportError as error: # re-raise with a more verbose message
[2024-11-23T18:48:45.299Z] exc_class = type(error)
[2024-11-23T18:48:45.299Z] > raise exc_class(
[2024-11-23T18:48:45.299Z] "validate_spec requires prance to be installed. "
[2024-11-23T18:48:45.299Z] "You can install all validation requirements using:\n"
[2024-11-23T18:48:45.300Z] " pip install 'apispec[validation]'"
[2024-11-23T18:48:45.300Z] ) from error
[2024-11-23T18:48:45.300Z] E ModuleNotFoundError: validate_spec requires prance to be installed. You can install all validation requirements using:
[2024-11-23T18:48:45.300Z] E pip install 'apispec[validation]'
[2024-11-23T18:48:45.300Z]
[2024-11-23T18:48:45.300Z] tests/utils.py:66: ModuleNotFoundError
[2024-11-23T18:48:45.300Z] =============================== warnings summary ===============================
[2024-11-23T18:48:45.300Z] tests/test_core.py::TestPlugins::test_plugin_factory
[2024-11-23T18:48:45.300Z] /usr/lib/python3.13/site-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tests/test_core.py::TestPlugins::test_plugin_factory returned <tests.test_core.TestPlugins.test_plugin_factory.<locals>.TestPlugin object at 0x7299b10a9010>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
[2024-11-23T18:48:45.300Z] warnings.warn(
[2024-11-23T18:48:45.300Z]
[2024-11-23T18:48:45.300Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[2024-11-23T18:48:45.300Z] =========================== short test summary info ============================
[2024-11-23T18:48:45.300Z] FAILED tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
[2024-11-23T18:48:45.300Z] FAILED tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
[2024-11-23T18:48:45.300Z] ============ 2 failed, 517 passed, 1 deselected, 1 warning in 1.21s ============
[2024-11-23T18:48:45.300Z] ==> ERROR: A failure occurred in check().
[2024-11-23T18:48:45.300Z] Aborting...
[2024-11-23T18:48:47.782Z] ==> ERROR: Build failed, check /build/buildpkg/world-goblins-x86_64/jenkins/build
[Pipeline] }
[2024-11-23T18:48:47.784Z] ERROR: Failed to build source
[2024-11-23T18:48:47.784Z] ERROR: script returned exit code 255
[2024-11-23T18:48:47.784Z] Setting overall build result to FAILURE
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check)
Stage "Check" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Sign)
Stage "Sign" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Add)
Stage "Add" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Remove)
Stage "Remove" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] emailext
[2024-11-23T18:48:47.963Z] Sending email to: artix-build-failures at artixlinux.org
More information about the artix-build-failures
mailing list