[artix-build-failures] [galaxy] Failure: python-jsonpickle

jenkins at artixlinux.org jenkins at artixlinux.org
Sun Oct 11 18:41:33 CEST 2020


   Failure

   Build: x86_64/community

   Packages:

   python-jsonpickle-1.4.1-2-any.pkg.tar.zst

   author: alium

   email: alium at artixlinux.org

   [1]https://orion.artixlinux.org/job/packagesPython/job/python-jsonpickl
   e/job/master/2/

References

   1. https://orion.artixlinux.org/job/packagesPython/job/python-jsonpickle/job/master/2/
-------------- next part --------------
Push event to branch master
Querying the current revision of branch master...
Current revision of branch master is 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f
Obtained Jenkinsfile from 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f
Running in Durability level: PERFORMANCE_OPTIMIZED
Loading library artix-ci at master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.27.0'
 > git ls-remote -- https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Found match: refs/heads/master revision 63982f52a13081d21ce5a9e2e2b5a16634730d63
The recommended git tool is: NONE
Warning: CredentialId "jenkins-gotea-token" could not be found.
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitea.artixlinux.org/artix/pipeline-libs.git
 > git init /var/lib/jenkins/workspace/sPython_python-jsonpickle_master at libs/artix-ci # timeout=10
Fetching upstream changes from https://gitea.artixlinux.org/artix/pipeline-libs.git
 > git --version # timeout=10
 > git --version # 'git version 2.27.0'
 > git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/artix/pipeline-libs.git +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision 63982f52a13081d21ce5a9e2e2b5a16634730d63 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 63982f52a13081d21ce5a9e2e2b5a16634730d63 # timeout=10
Commit message: "rm obsolete layout bool"
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/sPython_python-jsonpickle_master
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] catchError
[Pipeline] {
[Pipeline] checkout
[2020-10-11T16:40:48.404Z] The recommended git tool is: NONE
[2020-10-11T16:40:48.404Z] Warning: CredentialId "jenkins-gotea-token" could not be found.
[2020-10-11T16:40:48.405Z] Cloning the remote Git repository
[2020-10-11T16:40:48.405Z] Cloning with configured refspecs honoured and without tags
[2020-10-11T16:40:48.405Z] Cloning repository https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-jsonpickle.git
[2020-10-11T16:40:48.405Z]  > git init /var/lib/jenkins/workspace/sPython_python-jsonpickle_master # timeout=10
[2020-10-11T16:40:48.412Z] Fetching upstream changes from https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-jsonpickle.git
[2020-10-11T16:40:48.412Z]  > git --version # timeout=10
[2020-10-11T16:40:48.417Z]  > git --version # 'git version 2.27.0'
[2020-10-11T16:40:48.417Z]  > git fetch --no-tags --force --progress -- https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-jsonpickle.git +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-10-11T16:40:48.599Z]  > git config remote.origin.url https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-jsonpickle.git # timeout=10
[2020-10-11T16:40:48.604Z]  > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-10-11T16:40:48.608Z] Avoid second fetch
[2020-10-11T16:40:48.609Z] Checking out Revision 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f (master)
[2020-10-11T16:40:48.609Z]  > git config core.sparsecheckout # timeout=10
[2020-10-11T16:40:48.614Z]  > git checkout -f 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f # timeout=10
[2020-10-11T16:40:48.624Z] Commit message: "[trunk] -> [community] 'python-jsonpickle-1.4.1-2' add"
[2020-10-11T16:40:48.624Z]  > git rev-list --no-walk e5a9052b8947d9887b8e71e1ce5cf1cc3cf8995d # timeout=10
[2020-10-11T16:40:48.636Z] Cleaning workspace
[2020-10-11T16:40:48.636Z]  > git rev-parse --verify HEAD # timeout=10
[2020-10-11T16:40:48.641Z] Resetting working tree
[2020-10-11T16:40:48.641Z]  > git reset --hard # timeout=10
[2020-10-11T16:40:48.647Z]  > git clean -fdx # timeout=10
[2020-10-11T16:40:48.653Z] [Gitea] Notifying branch build status: PENDING Build started...
[2020-10-11T16:40:48.871Z] [Gitea] Notified
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] sh
[2020-10-11T16:40:49.149Z] + git show -s --format=%an 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f
[Pipeline] sh
[2020-10-11T16:40:49.406Z] + git show -s --format=%ae 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f
[Pipeline] sh
[2020-10-11T16:40:49.664Z] + git show --pretty=format: --name-status 16cd5adb0c3cbc37fe6c65a104bb0f1d597c2b0f
[Pipeline] fileExists
[Pipeline] sh
[2020-10-11T16:40:49.938Z] + pkg2yaml -d x86_64/community
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] withCredentials
[2020-10-11T16:40:50.138Z] Masking supported pattern matches of $BUILDBOT_GPGP
[Pipeline] {
[Pipeline] echo
[2020-10-11T16:40:50.177Z] isLibBump: false
[Pipeline] dir
[2020-10-11T16:40:50.183Z] Running in /var/lib/jenkins/workspace/sPython_python-jsonpickle_master/x86_64/community
[Pipeline] {
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2020-10-11T16:40:50.451Z] + buildpkg -C -d galaxy
[2020-10-11T16:40:53.680Z] :: Synchronizing package databases...
[2020-10-11T16:40:53.680Z]  system is up to date
[2020-10-11T16:40:53.680Z]  world is up to date
[2020-10-11T16:40:53.680Z] downloading galaxy.db...
[2020-10-11T16:40:53.680Z]  extra is up to date
[2020-10-11T16:40:53.680Z] downloading community.db...
[2020-10-11T16:40:53.930Z] :: Starting full system upgrade...
[2020-10-11T16:40:54.180Z]  there is nothing to do
[2020-10-11T16:40:55.091Z] ==> Building in chroot for [default] (x86_64)...
[2020-10-11T16:40:56.002Z] ==> Synchronizing chroot copy [/build/buildpkg/default-x86_64/root] -> [jenkins]...done
[2020-10-11T16:40:56.913Z] ==> Making package: python-jsonpickle 1.4.1-2 (Sun Oct 11 18:40:56 2020)
[2020-10-11T16:40:56.913Z] ==> Retrieving sources...
[2020-10-11T16:40:56.913Z]   -> Downloading python-jsonpickle-1.4.1.tar.gz...
[2020-10-11T16:40:56.913Z]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[2020-10-11T16:40:56.913Z]                                  Dload  Upload   Total   Spent    Left  Speed
[2020-10-11T16:40:57.164Z] 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   129  100   129    0     0    563      0 --:--:-- --:--:-- --:--:--   565
[2020-10-11T16:40:57.414Z] 
100 99033    0 99033    0     0   178k      0 --:--:-- --:--:-- --:--:--  178k
[2020-10-11T16:40:57.414Z]   -> Found fix-importlib_metadata-dependency.patch
[2020-10-11T16:40:57.414Z] ==> Validating source files with sha512sums...
[2020-10-11T16:40:57.414Z]     python-jsonpickle-1.4.1.tar.gz ... Passed
[2020-10-11T16:40:57.414Z]     fix-importlib_metadata-dependency.patch ... Passed
[2020-10-11T16:41:02.608Z] ==> Making package: python-jsonpickle 1.4.1-2 (Sun 11 Oct 2020 04:41:01 PM UTC)
[2020-10-11T16:41:02.608Z] ==> Checking runtime dependencies...
[2020-10-11T16:41:02.608Z] ==> Installing missing dependencies...
[2020-10-11T16:41:02.608Z] resolving dependencies...
[2020-10-11T16:41:02.608Z] looking for conflicting packages...
[2020-10-11T16:41:02.608Z] 
[2020-10-11T16:41:02.608Z] Package (2)    New Version  Net Change
[2020-10-11T16:41:02.608Z] 
[2020-10-11T16:41:02.608Z] system/libnsl  1.3.0-1        0.19 MiB
[2020-10-11T16:41:02.608Z] world/python   3.8.6-1       77.86 MiB
[2020-10-11T16:41:02.608Z] 
[2020-10-11T16:41:02.608Z] Total Installed Size:  78.06 MiB
[2020-10-11T16:41:02.608Z] 
[2020-10-11T16:41:02.608Z] :: Proceed with installation? [Y/n] 
[2020-10-11T16:41:02.608Z] checking keyring...
[2020-10-11T16:41:02.608Z] checking package integrity...
[2020-10-11T16:41:02.858Z] loading package files...
[2020-10-11T16:41:02.858Z] checking for file conflicts...
[2020-10-11T16:41:02.858Z] checking available disk space...
[2020-10-11T16:41:02.858Z] :: Processing package changes...
[2020-10-11T16:41:02.858Z] installing libnsl...
[2020-10-11T16:41:02.858Z] installing python...
[2020-10-11T16:41:03.109Z] Optional dependencies for python
[2020-10-11T16:41:03.109Z]     python-setuptools
[2020-10-11T16:41:03.109Z]     python-pip
[2020-10-11T16:41:03.109Z]     sqlite [installed]
[2020-10-11T16:41:03.109Z]     mpdecimal: for decimal
[2020-10-11T16:41:03.109Z]     xz: for lzma [installed]
[2020-10-11T16:41:03.109Z]     tk: for tkinter
[2020-10-11T16:41:03.359Z] ==> Checking buildtime dependencies...
[2020-10-11T16:41:03.359Z] ==> Installing missing dependencies...
[2020-10-11T16:41:03.609Z] resolving dependencies...
[2020-10-11T16:41:03.609Z] looking for conflicting packages...
[2020-10-11T16:41:03.609Z] 
[2020-10-11T16:41:03.609Z] Package (39)                      New Version  Net Change  Download Size
[2020-10-11T16:41:03.609Z] 
[2020-10-11T16:41:03.609Z] world/blas                        3.9.0-3        0.33 MiB               
[2020-10-11T16:41:03.609Z] world/cblas                       3.9.0-3        0.17 MiB               
[2020-10-11T16:41:03.609Z] world/lapack                      3.9.0-3        7.02 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-apipkg              1.5-3          0.02 MiB               
[2020-10-11T16:41:03.609Z] world/python-appdirs              1.4.4-1        0.07 MiB               
[2020-10-11T16:41:03.609Z] world/python-attrs                20.2.0-1       0.36 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-black               20.8b1-2       0.95 MiB       0.19 MiB
[2020-10-11T16:41:03.609Z] galaxy/python-click               7.1.2-1        0.72 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-dateutil            2.8.1-3        0.79 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-importlib-metadata  1.6.1-1        0.19 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-iniconfig           1.0.1-1        0.02 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-more-itertools      8.5.0-1        0.27 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-mypy_extensions     0.4.3-1        0.02 MiB       0.01 MiB
[2020-10-11T16:41:03.609Z] world/python-ordered-set          4.0.2-1        0.06 MiB               
[2020-10-11T16:41:03.609Z] world/python-packaging            20.4-1         0.17 MiB               
[2020-10-11T16:41:03.609Z] galaxy/python-pathspec            0.8.0-1        0.19 MiB       0.04 MiB
[2020-10-11T16:41:03.609Z] galaxy/python-pluggy              0.13.1-2       0.12 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-py                  1.9.0-1        0.72 MiB               
[2020-10-11T16:41:03.610Z] world/python-pyparsing            2.4.7-1        0.73 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-pytest              6.1.1-1        3.02 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-pytz                2020.1-2       0.15 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-regex               2020.7.14-2    1.64 MiB       0.32 MiB
[2020-10-11T16:41:03.610Z] world/python-setuptools           1:50.3.0-1     2.98 MiB               
[2020-10-11T16:41:03.610Z] world/python-sgmllib              5.2.1-6        0.03 MiB       0.01 MiB
[2020-10-11T16:41:03.610Z] world/python-six                  1.15.0-1       0.09 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-toml                0.10.1-2       0.13 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-typed-ast           1.4.1-1        0.60 MiB       0.15 MiB
[2020-10-11T16:41:03.610Z] galaxy/python-typing_extensions   3.7.4.3-1      0.22 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-zipp                3.3.0-1        0.03 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-coverage            5.2.1-1        1.28 MiB               
[2020-10-11T16:41:03.610Z] world/python-feedparser           5.2.1-6        0.40 MiB       0.09 MiB
[2020-10-11T16:41:03.610Z] world/python-numpy                1.19.2-1      26.00 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-pandas              1.1.3-1       52.47 MiB       8.82 MiB
[2020-10-11T16:41:03.610Z] galaxy/python-pymongo             3.11.0-1       3.36 MiB       0.48 MiB
[2020-10-11T16:41:03.610Z] galaxy/python-pytest-black        0.3.12-1       0.02 MiB       0.01 MiB
[2020-10-11T16:41:03.610Z] galaxy/python-pytest-cov          2.10.1-1       0.11 MiB       0.03 MiB
[2020-10-11T16:41:03.610Z] galaxy/python-setuptools-scm      4.1.2-1        0.11 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-simplejson          3.17.2-1       0.35 MiB               
[2020-10-11T16:41:03.610Z] galaxy/python-ujson               3.2.0-2        0.11 MiB               
[2020-10-11T16:41:03.610Z] 
[2020-10-11T16:41:03.610Z] Total Download Size:    10.13 MiB
[2020-10-11T16:41:03.610Z] Total Installed Size:  106.01 MiB
[2020-10-11T16:41:03.610Z] 
[2020-10-11T16:41:03.610Z] :: Proceed with installation? [Y/n] 
[2020-10-11T16:41:03.610Z] :: Retrieving packages...
[2020-10-11T16:41:03.610Z] downloading python-sgmllib-5.2.1-6-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-feedparser-5.2.1-6-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-mypy_extensions-0.4.3-1-any.pkg.tar.xz...
[2020-10-11T16:41:03.610Z] downloading python-pathspec-0.8.0-1-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-regex-2020.7.14-2-x86_64.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-typed-ast-1.4.1-1-x86_64.pkg.tar.xz...
[2020-10-11T16:41:03.610Z] downloading python-black-20.8b1-2-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-pytest-black-0.3.12-1-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-pytest-cov-2.10.1-1-any.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-pymongo-3.11.0-1-x86_64.pkg.tar.zst...
[2020-10-11T16:41:03.610Z] downloading python-pandas-1.1.3-1-x86_64.pkg.tar.zst...
[2020-10-11T16:41:03.860Z] checking keyring...
[2020-10-11T16:41:03.860Z] checking package integrity...
[2020-10-11T16:41:05.721Z] loading package files...
[2020-10-11T16:41:05.721Z] checking for file conflicts...
[2020-10-11T16:41:05.721Z] checking available disk space...
[2020-10-11T16:41:05.721Z] :: Processing package changes...
[2020-10-11T16:41:05.721Z] installing python-appdirs...
[2020-10-11T16:41:05.721Z] installing python-pyparsing...
[2020-10-11T16:41:05.721Z] installing python-six...
[2020-10-11T16:41:05.721Z] installing python-packaging...
[2020-10-11T16:41:05.721Z] installing python-ordered-set...
[2020-10-11T16:41:05.721Z] installing python-setuptools...
[2020-10-11T16:41:05.721Z] installing python-setuptools-scm...
[2020-10-11T16:41:05.721Z] installing python-click...
[2020-10-11T16:41:05.721Z] installing python-mypy_extensions...
[2020-10-11T16:41:05.721Z] installing python-pathspec...
[2020-10-11T16:41:05.721Z] installing python-regex...
[2020-10-11T16:41:05.721Z] installing python-toml...
[2020-10-11T16:41:05.721Z] installing python-typed-ast...
[2020-10-11T16:41:05.972Z] installing python-typing_extensions...
[2020-10-11T16:41:05.972Z] installing python-black...
[2020-10-11T16:41:05.972Z] Optional dependencies for python-black
[2020-10-11T16:41:05.972Z]     python-aiohttp: for the blackd HTTP server
[2020-10-11T16:41:05.972Z]     python-aiohttp-cors: for the blackd HTTP server
[2020-10-11T16:41:05.972Z]     python-colorama: for colored diffs
[2020-10-11T16:41:05.972Z] installing python-attrs...
[2020-10-11T16:41:05.972Z] installing python-iniconfig...
[2020-10-11T16:41:05.972Z] installing python-more-itertools...
[2020-10-11T16:41:05.972Z] installing python-zipp...
[2020-10-11T16:41:05.972Z] installing python-importlib-metadata...
[2020-10-11T16:41:05.972Z] installing python-pluggy...
[2020-10-11T16:41:05.972Z] installing python-apipkg...
[2020-10-11T16:41:05.972Z] installing python-py...
[2020-10-11T16:41:05.972Z] installing python-pytest...
[2020-10-11T16:41:05.972Z] installing python-pytest-black...
[2020-10-11T16:41:05.972Z] installing python-coverage...
[2020-10-11T16:41:05.972Z] Optional dependencies for python-coverage
[2020-10-11T16:41:05.972Z]     python-toml: for pyproject.toml support [installed]
[2020-10-11T16:41:05.972Z] installing python-pytest-cov...
[2020-10-11T16:41:05.972Z] installing blas...
[2020-10-11T16:41:05.972Z] installing cblas...
[2020-10-11T16:41:05.972Z] installing lapack...
[2020-10-11T16:41:05.972Z] installing python-numpy...
[2020-10-11T16:41:05.972Z] Optional dependencies for python-numpy
[2020-10-11T16:41:05.972Z]     python-nose: testsuite
[2020-10-11T16:41:05.972Z]     openblas: faster linear algebra
[2020-10-11T16:41:05.972Z] installing python-sgmllib...
[2020-10-11T16:41:05.972Z] installing python-feedparser...
[2020-10-11T16:41:05.972Z] installing python-simplejson...
[2020-10-11T16:41:05.972Z] installing python-pymongo...
[2020-10-11T16:41:06.222Z] installing python-ujson...
[2020-10-11T16:41:06.222Z] installing python-dateutil...
[2020-10-11T16:41:06.222Z] installing python-pytz...
[2020-10-11T16:41:06.222Z] installing python-pandas...
[2020-10-11T16:41:06.473Z] Optional dependencies for python-pandas
[2020-10-11T16:41:06.473Z]     python-pandas-datareader: pandas.io.data replacement (recommended)
[2020-10-11T16:41:06.473Z]     python-numexpr: needed for accelerating certain numerical operations (recommended)
[2020-10-11T16:41:06.473Z]     python-bottleneck: needed for accelerating certain types of nan evaluations (recommended)
[2020-10-11T16:41:06.473Z]     python-beautifulsoup4: needed for read_html function
[2020-10-11T16:41:06.473Z]     python-jinja: needed for conditional HTML formatting
[2020-10-11T16:41:06.473Z]     python-pyqt5: needed for read_clipboard function (only one needed)
[2020-10-11T16:41:06.473Z]     python-pytables: needed for HDF5-based storage
[2020-10-11T16:41:06.473Z]     python-sqlalchemy: needed for SQL database support
[2020-10-11T16:41:06.473Z]     python-scipy: needed for miscellaneous statistical functions
[2020-10-11T16:41:06.473Z]     python-xlsxwriter: alternative Excel XLSX output
[2020-10-11T16:41:06.473Z]     python-blosc: for msgpack compression using blosc
[2020-10-11T16:41:06.473Z]     python-html5lib: needed for read_hmlt function (and/or python-lxml)
[2020-10-11T16:41:06.473Z]     python-lxml: needed for read_html function (and/or python-html5lib)
[2020-10-11T16:41:06.473Z]     python-matplotlib: needed for plotting
[2020-10-11T16:41:06.473Z]     python-openpyxl: needed for Excel XLSX input/output
[2020-10-11T16:41:06.473Z]     python-psycopg2: needed for PostgreSQL engine for sqlalchemy
[2020-10-11T16:41:06.473Z]     python-pymysql: needed for MySQL engine for sqlalchemy
[2020-10-11T16:41:06.473Z]     python-qtpy: needed for read_clipboard function (only one needed)
[2020-10-11T16:41:06.473Z]     python-tabulate: needed for printing in Markdown-friendly format
[2020-10-11T16:41:06.473Z]     python-fsspec: needed for handling files aside from local and HTTP
[2020-10-11T16:41:06.473Z]     xclip: needed for read_clipboard function (only one needed)
[2020-10-11T16:41:06.473Z]     python-xlrd: needed for Excel XLS input
[2020-10-11T16:41:06.473Z]     python-xlwt: needed for Excel XLS output
[2020-10-11T16:41:06.473Z]     xsel: needed for read_clipboard function (only one needed)
[2020-10-11T16:41:06.473Z]     zlib: needed for compression for msgpack [installed]
[2020-10-11T16:41:06.473Z] ==> Retrieving sources...
[2020-10-11T16:41:06.473Z]   -> Found python-jsonpickle-1.4.1.tar.gz
[2020-10-11T16:41:06.473Z]   -> Found fix-importlib_metadata-dependency.patch
[2020-10-11T16:41:06.473Z] ==> WARNING: Skipping all source file integrity checks.
[2020-10-11T16:41:06.473Z] ==> Extracting sources...
[2020-10-11T16:41:06.723Z]   -> Extracting python-jsonpickle-1.4.1.tar.gz with bsdtar
[2020-10-11T16:41:06.723Z] ==> Starting prepare()...
[2020-10-11T16:41:06.723Z] patching file jsonpickle/version.py
[2020-10-11T16:41:06.723Z] patching file setup.cfg
[2020-10-11T16:41:06.723Z] ==> Starting build()...
[2020-10-11T16:41:06.974Z] running build
[2020-10-11T16:41:06.974Z] running build_py
[2020-10-11T16:41:06.974Z] creating build
[2020-10-11T16:41:06.974Z] creating build/lib
[2020-10-11T16:41:06.974Z] creating build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/__init__.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/tags.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/handlers.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/util.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/compat.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/backend.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/pickler.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/version.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] copying jsonpickle/unpickler.py -> build/lib/jsonpickle
[2020-10-11T16:41:06.974Z] creating build/lib/jsonpickle/ext
[2020-10-11T16:41:06.974Z] copying jsonpickle/ext/__init__.py -> build/lib/jsonpickle/ext
[2020-10-11T16:41:06.974Z] copying jsonpickle/ext/numpy.py -> build/lib/jsonpickle/ext
[2020-10-11T16:41:06.974Z] copying jsonpickle/ext/pandas.py -> build/lib/jsonpickle/ext
[2020-10-11T16:41:06.974Z] running egg_info
[2020-10-11T16:41:06.974Z] creating jsonpickle.egg-info
[2020-10-11T16:41:06.974Z] writing jsonpickle.egg-info/PKG-INFO
[2020-10-11T16:41:06.974Z] writing dependency_links to jsonpickle.egg-info/dependency_links.txt
[2020-10-11T16:41:06.974Z] writing requirements to jsonpickle.egg-info/requires.txt
[2020-10-11T16:41:06.974Z] writing top-level names to jsonpickle.egg-info/top_level.txt
[2020-10-11T16:41:06.974Z] writing manifest file 'jsonpickle.egg-info/SOURCES.txt'
[2020-10-11T16:41:06.974Z] reading manifest file 'jsonpickle.egg-info/SOURCES.txt'
[2020-10-11T16:41:06.974Z] reading manifest template 'MANIFEST.in'
[2020-10-11T16:41:06.974Z] warning: no files found matching 'COPYING'
[2020-10-11T16:41:06.974Z] warning: no files found matching 'Rakefile'
[2020-10-11T16:41:06.974Z] warning: no files found matching 'docs/source/**'
[2020-10-11T16:41:06.974Z] writing manifest file 'jsonpickle.egg-info/SOURCES.txt'
[2020-10-11T16:41:06.974Z] ==> Starting check()...
[2020-10-11T16:41:08.317Z] ============================= test session starts ==============================
[2020-10-11T16:41:08.317Z] platform linux -- Python 3.8.6, pytest-6.1.1, py-1.9.0, pluggy-0.13.1
[2020-10-11T16:41:08.317Z] rootdir: /build/python-jsonpickle/src/jsonpickle-1.4.1, configfile: pytest.ini
[2020-10-11T16:41:08.317Z] plugins: cov-2.10.1, black-0.3.12
[2020-10-11T16:41:08.317Z] collected 370 items
[2020-10-11T16:41:08.317Z] 
[2020-10-11T16:41:08.867Z] conftest.py .                                                            [  0%]
[2020-10-11T16:41:09.118Z] setup.py .                                                               [  0%]
[2020-10-11T16:41:09.668Z] docs/conf.py .                                                           [  0%]
[2020-10-11T16:41:09.918Z] jsonpickle/__init__.py .                                                 [  1%]
[2020-10-11T16:41:10.469Z] jsonpickle/backend.py .                                                  [  1%]
[2020-10-11T16:41:11.019Z] jsonpickle/compat.py .                                                   [  1%]
[2020-10-11T16:41:11.570Z] jsonpickle/handlers.py .                                                 [  1%]
[2020-10-11T16:41:12.912Z] jsonpickle/pickler.py F...                                               [  2%]
[2020-10-11T16:41:13.163Z] jsonpickle/tags.py .                                                     [  3%]
[2020-10-11T16:41:15.024Z] jsonpickle/unpickler.py F......                                          [  5%]
[2020-10-11T16:41:15.574Z] jsonpickle/util.py ..................                                    [ 10%]
[2020-10-11T16:41:15.825Z] jsonpickle/version.py .                                                  [ 10%]
[2020-10-11T16:41:16.375Z] jsonpickle/ext/__init__.py .                                             [ 10%]
[2020-10-11T16:41:17.286Z] jsonpickle/ext/numpy.py F                                                [ 10%]
[2020-10-11T16:41:17.836Z] jsonpickle/ext/pandas.py .                                               [ 11%]
[2020-10-11T16:41:18.387Z] tests/backend_test.py ..........ssss.s.sss...                            [ 17%]
[2020-10-11T16:41:18.937Z] tests/benchmark.py .                                                     [ 17%]
[2020-10-11T16:41:19.188Z] tests/bson_test.py .......                                               [ 19%]
[2020-10-11T16:41:19.989Z] tests/datetime_test.py .................                                 [ 24%]
[2020-10-11T16:41:20.489Z] tests/document_test.py ..                                                [ 24%]
[2020-10-11T16:41:20.739Z] tests/ecdsa_test.py .s                                                   [ 25%]
[2020-10-11T16:41:21.290Z] tests/feedparser_test.py ..                                              [ 25%]
[2020-10-11T16:41:21.841Z] tests/handler_test.py .......                                            [ 27%]
[2020-10-11T16:41:22.391Z] tests/helper.py .                                                        [ 27%]
[2020-10-11T16:41:26.513Z] tests/jsonpickle_test.py Fss.................s.......................... [ 40%]
[2020-10-11T16:41:26.513Z] .............................s....s........................              [ 56%]
[2020-10-11T16:41:27.063Z] tests/numpy_test.py .....................                                [ 62%]
[2020-10-11T16:41:28.656Z] tests/object_test.py ....................X....................X......... [ 75%]
[2020-10-11T16:41:28.656Z] ............X.....                                                       [ 80%]
[2020-10-11T16:41:29.567Z] tests/pandas_test.py .......................                             [ 87%]
[2020-10-11T16:41:29.817Z] tests/runtests.py .                                                      [ 87%]
[2020-10-11T16:41:30.368Z] tests/sqlalchemy_test.py .sss                                            [ 88%]
[2020-10-11T16:41:30.918Z] tests/stdlib_test.py ....                                                [ 89%]
[2020-10-11T16:41:31.469Z] tests/util_test.py .ss.................................                  [ 99%]
[2020-10-11T16:41:32.270Z] tests/wizard_test.py ...                                                 [100%]
[2020-10-11T16:41:32.270Z] 
[2020-10-11T16:41:32.270Z] =================================== FAILURES ===================================
[2020-10-11T16:41:32.270Z] ______________________________ Black format check ______________________________
[2020-10-11T16:41:32.270Z] --- /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/pickler.py	2020-10-11 16:40:54 +0000
[2020-10-11T16:41:32.270Z] +++ /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/pickler.py	2020-10-11 16:41:12.683857 +0000
[2020-10-11T16:41:32.270Z] @@ -179,12 +179,11 @@
[2020-10-11T16:41:32.270Z]          self._objs = {}
[2020-10-11T16:41:32.270Z]          self._depth = -1
[2020-10-11T16:41:32.270Z]          self._seen = []
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _push(self):
[2020-10-11T16:41:32.270Z] -        """Steps down one level in the namespace.
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Steps down one level in the namespace."""
[2020-10-11T16:41:32.270Z]          self._depth += 1
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _pop(self, value):
[2020-10-11T16:41:32.270Z]          """Step up one level in the namespace and return the value.
[2020-10-11T16:41:32.270Z]          If we're at the root, reset the pickler's state.
[2020-10-11T16:41:32.270Z] @@ -345,12 +344,11 @@
[2020-10-11T16:41:32.270Z]          # instance methods, lambdas, old style classes...
[2020-10-11T16:41:32.270Z]          self._pickle_warning(obj)
[2020-10-11T16:41:32.270Z]          return None
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _ref_obj_instance(self, obj):
[2020-10-11T16:41:32.270Z] -        """Reference an existing object or flatten if new
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Reference an existing object or flatten if new"""
[2020-10-11T16:41:32.270Z]          if self.unpicklable:
[2020-10-11T16:41:32.270Z]              if self._mkref(obj):
[2020-10-11T16:41:32.270Z]                  # We've never seen this object so return its
[2020-10-11T16:41:32.270Z]                  # json representation.
[2020-10-11T16:41:32.270Z]                  return self._flatten_obj_instance(obj)
[2020-10-11T16:41:32.270Z] @@ -382,12 +380,11 @@
[2020-10-11T16:41:32.270Z]              except UnicodeDecodeError:
[2020-10-11T16:41:32.270Z]                  pass
[2020-10-11T16:41:32.270Z]          return {self._bytes_tag: self._bytes_encoder(obj)}
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _flatten_obj_instance(self, obj):
[2020-10-11T16:41:32.270Z] -        """Recursively flatten an instance and return a json-friendly dict
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Recursively flatten an instance and return a json-friendly dict"""
[2020-10-11T16:41:32.270Z]          data = {}
[2020-10-11T16:41:32.270Z]          has_class = hasattr(obj, '__class__')
[2020-10-11T16:41:32.270Z]          has_dict = hasattr(obj, '__dict__')
[2020-10-11T16:41:32.270Z]          has_slots = not has_dict and hasattr(obj, '__slots__')
[2020-10-11T16:41:32.270Z]          has_getnewargs = util.has_method(obj, '__getnewargs__')
[2020-10-11T16:41:32.270Z] @@ -556,12 +553,11 @@
[2020-10-11T16:41:32.270Z]              data = None
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]          return data
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _flatten_dict_obj(self, obj, data=None):
[2020-10-11T16:41:32.270Z] -        """Recursively call flatten() and return json-friendly dict
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Recursively call flatten() and return json-friendly dict"""
[2020-10-11T16:41:32.270Z]          if data is None:
[2020-10-11T16:41:32.270Z]              data = obj.__class__()
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]          # If we allow non-string keys then we have to do a two-phase
[2020-10-11T16:41:32.270Z]          # encoding to ensure that the reference IDs are deterministic.
[2020-10-11T16:41:32.270Z] @@ -621,12 +617,11 @@
[2020-10-11T16:41:32.270Z]                  continue
[2020-10-11T16:41:32.270Z]              ok = True
[2020-10-11T16:41:32.270Z]          return ok
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def _flatten_newstyle_with_slots(self, obj, data):
[2020-10-11T16:41:32.270Z] -        """Return a json-friendly dict for new-style objects with __slots__.
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Return a json-friendly dict for new-style objects with __slots__."""
[2020-10-11T16:41:32.270Z]          allslots = [
[2020-10-11T16:41:32.270Z]              _wrap_string_slot(getattr(cls, '__slots__', tuple()))
[2020-10-11T16:41:32.270Z]              for cls in obj.__class__.mro()
[2020-10-11T16:41:32.270Z]          ]
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z] @@ -740,10 +735,9 @@
[2020-10-11T16:41:32.270Z]      """
[2020-10-11T16:41:32.270Z]      return {tags.TYPE: util.importable_name(obj)}
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]  def _wrap_string_slot(string):
[2020-10-11T16:41:32.270Z] -    """Converts __slots__ = 'a' into __slots__ = ('a',)
[2020-10-11T16:41:32.270Z] -    """
[2020-10-11T16:41:32.270Z] +    """Converts __slots__ = 'a' into __slots__ = ('a',)"""
[2020-10-11T16:41:32.270Z]      if isinstance(string, string_types):
[2020-10-11T16:41:32.270Z]          return (string,)
[2020-10-11T16:41:32.270Z]      return string
[2020-10-11T16:41:32.270Z] 
[2020-10-11T16:41:32.270Z] ______________________________ Black format check ______________________________
[2020-10-11T16:41:32.270Z] --- /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/unpickler.py	2020-10-11 16:40:54 +0000
[2020-10-11T16:41:32.270Z] +++ /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/unpickler.py	2020-10-11 16:41:14.632894 +0000
[2020-10-11T16:41:32.270Z] @@ -119,12 +119,11 @@
[2020-10-11T16:41:32.270Z]          self.safe = safe
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]          self.reset()
[2020-10-11T16:41:32.270Z]  
[2020-10-11T16:41:32.270Z]      def reset(self):
[2020-10-11T16:41:32.270Z] -        """Resets the object's internal state.
[2020-10-11T16:41:32.270Z] -        """
[2020-10-11T16:41:32.270Z] +        """Resets the object's internal state."""
[2020-10-11T16:41:32.271Z]          # Map reference names to object instances
[2020-10-11T16:41:32.271Z]          self._namedict = {}
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]          # The stack of names traversed for child objects
[2020-10-11T16:41:32.271Z]          self._namestack = []
[2020-10-11T16:41:32.271Z] 
[2020-10-11T16:41:32.271Z] ______________________________ Black format check ______________________________
[2020-10-11T16:41:32.271Z] --- /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/ext/numpy.py	2020-10-11 16:40:54 +0000
[2020-10-11T16:41:32.271Z] +++ /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/ext/numpy.py	2020-10-11 16:41:17.016261 +0000
[2020-10-11T16:41:32.271Z] @@ -61,12 +61,11 @@
[2020-10-11T16:41:32.271Z]          value = self.context.restore(data['value'], reset=False)
[2020-10-11T16:41:32.271Z]          return self.restore_dtype(data).type(value)
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]  class NumpyNDArrayHandler(NumpyBaseHandler):
[2020-10-11T16:41:32.271Z] -    """Stores arrays as text representation, without regard for views
[2020-10-11T16:41:32.271Z] -    """
[2020-10-11T16:41:32.271Z] +    """Stores arrays as text representation, without regard for views"""
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def flatten_flags(self, obj, data):
[2020-10-11T16:41:32.271Z]          if obj.flags.writeable is False:
[2020-10-11T16:41:32.271Z]              data['writeable'] = False
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z] 
[2020-10-11T16:41:32.271Z] ______________________________ Black format check ______________________________
[2020-10-11T16:41:32.271Z] --- /build/python-jsonpickle/src/jsonpickle-1.4.1/tests/jsonpickle_test.py	2020-10-11 16:40:54 +0000
[2020-10-11T16:41:32.271Z] +++ /build/python-jsonpickle/src/jsonpickle-1.4.1/tests/jsonpickle_test.py	2020-10-11 16:41:25.707493 +0000
[2020-10-11T16:41:32.271Z] @@ -280,12 +280,11 @@
[2020-10-11T16:41:32.271Z]          self.assertEqual('two', inflated['k2'].name)
[2020-10-11T16:41:32.271Z]          self.assertTrue(type(inflated['k2']) is Thing)
[2020-10-11T16:41:32.271Z]          self.assertEqual(3, inflated['k3'])
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_recursive(self):
[2020-10-11T16:41:32.271Z] -        """create a recursive structure and test that we can handle it
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """create a recursive structure and test that we can handle it"""
[2020-10-11T16:41:32.271Z]          parent = Thing('parent')
[2020-10-11T16:41:32.271Z]          child = Thing('child')
[2020-10-11T16:41:32.271Z]          child.sibling = Thing('sibling')
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]          parent.self = parent
[2020-10-11T16:41:32.271Z] @@ -344,12 +343,11 @@
[2020-10-11T16:41:32.271Z]          flattened = self.pickler.flatten(obj)
[2020-10-11T16:41:32.271Z]          inflated = self.unpickler.restore(flattened)
[2020-10-11T16:41:32.271Z]          self.assertEqual(inflated.submodule, sysconfig)
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_type_reference(self):
[2020-10-11T16:41:32.271Z] -        """This test ensures that users can store references to types.
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """This test ensures that users can store references to types."""
[2020-10-11T16:41:32.271Z]          obj = Thing('object-with-type-reference')
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]          # reference the built-in 'object' type
[2020-10-11T16:41:32.271Z]          obj.typeref = object
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z] @@ -358,12 +356,11 @@
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]          inflated = self.unpickler.restore(flattened)
[2020-10-11T16:41:32.271Z]          self.assertEqual(inflated.typeref, object)
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_class_reference(self):
[2020-10-11T16:41:32.271Z] -        """This test ensures that users can store references to classes.
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """This test ensures that users can store references to classes."""
[2020-10-11T16:41:32.271Z]          obj = Thing('object-with-class-reference')
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]          # reference the 'Thing' class (not an instance of the class)
[2020-10-11T16:41:32.271Z]          obj.classref = Thing
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z] @@ -548,13 +545,11 @@
[2020-10-11T16:41:32.271Z]          pickle = jsonpickle.encode(obj, keys=True)
[2020-10-11T16:41:32.271Z]          actual = jsonpickle.decode(pickle, keys=True)
[2020-10-11T16:41:32.271Z]          self.assertEqual(expect, actual)
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_object_dict_keys(self):
[2020-10-11T16:41:32.271Z] -        """Test that we handle random objects as keys.
[2020-10-11T16:41:32.271Z] -
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """Test that we handle random objects as keys."""
[2020-10-11T16:41:32.271Z]          thing = Thing('random')
[2020-10-11T16:41:32.271Z]          pickle = jsonpickle.encode({thing: True})
[2020-10-11T16:41:32.271Z]          actual = jsonpickle.decode(pickle)
[2020-10-11T16:41:32.271Z]          self.assertEqual(actual, {'Thing("random")': True})
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z] @@ -616,21 +611,19 @@
[2020-10-11T16:41:32.271Z]          self.assertEqual(actual[0].name, 'a')
[2020-10-11T16:41:32.271Z]          self.assertEqual(actual[1].name, 'b')
[2020-10-11T16:41:32.271Z]          self.assertEqual(actual[2].name, 'b')
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_refs_keys_values(self):
[2020-10-11T16:41:32.271Z] -        """Test that objects in dict keys are referenced correctly
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """Test that objects in dict keys are referenced correctly"""
[2020-10-11T16:41:32.271Z]          j = Thing('random')
[2020-10-11T16:41:32.271Z]          object_dict = {j: j}
[2020-10-11T16:41:32.271Z]          pickle = jsonpickle.encode(object_dict, keys=True)
[2020-10-11T16:41:32.271Z]          actual = jsonpickle.decode(pickle, keys=True)
[2020-10-11T16:41:32.271Z]          self.assertEqual(list(actual.keys()), list(actual.values()))
[2020-10-11T16:41:32.271Z]  
[2020-10-11T16:41:32.271Z]      def test_object_keys_to_list(self):
[2020-10-11T16:41:32.271Z] -        """Test that objects in dict values are referenced correctly
[2020-10-11T16:41:32.271Z] -        """
[2020-10-11T16:41:32.271Z] +        """Test that objects in dict values are referenced correctly"""
[2020-10-11T16:41:32.271Z]          j = Thing('random')
[2020-10-11T16:41:32.271Z]          object_dict = {j: [j, j]}
[2020-10-11T16:41:32.271Z]          pickle = jsonpickle.encode(object_dict, keys=True)
[2020-10-11T16:41:32.272Z]          actual = jsonpickle.decode(pickle, keys=True)
[2020-10-11T16:41:32.272Z]          obj = list(actual.keys())[0]
[2020-10-11T16:41:32.272Z] @@ -664,19 +657,16 @@
[2020-10-11T16:41:32.272Z]          self.assertEqual(b.first, item)
[2020-10-11T16:41:32.272Z]          self.assertEqual(b.stuff[b.first], item)
[2020-10-11T16:41:32.272Z]          self.assertEqual(b.morestuff[b.self_list[1]][b.first], item)
[2020-10-11T16:41:32.272Z]  
[2020-10-11T16:41:32.272Z]      def test_load_backend(self):
[2020-10-11T16:41:32.272Z] -        """Test that we can call jsonpickle.load_backend()
[2020-10-11T16:41:32.272Z] -
[2020-10-11T16:41:32.272Z] -        """
[2020-10-11T16:41:32.272Z] +        """Test that we can call jsonpickle.load_backend()"""
[2020-10-11T16:41:32.272Z]          jsonpickle.load_backend('simplejson', 'dumps', 'loads', ValueError)
[2020-10-11T16:41:32.272Z]          self.assertTrue(True)
[2020-10-11T16:41:32.272Z]  
[2020-10-11T16:41:32.272Z]      def test_set_preferred_backend_allows_magic(self):
[2020-10-11T16:41:32.272Z] -        """Tests that we can use the pluggable backends magically
[2020-10-11T16:41:32.272Z] -        """
[2020-10-11T16:41:32.272Z] +        """Tests that we can use the pluggable backends magically"""
[2020-10-11T16:41:32.272Z]          backend = 'os.path'
[2020-10-11T16:41:32.272Z]          jsonpickle.load_backend(backend, 'split', 'join', AttributeError)
[2020-10-11T16:41:32.272Z]          jsonpickle.set_preferred_backend(backend)
[2020-10-11T16:41:32.272Z]  
[2020-10-11T16:41:32.272Z]          slash_hello, world = jsonpickle.encode('/hello/world')
[2020-10-11T16:41:32.272Z] @@ -684,13 +674,11 @@
[2020-10-11T16:41:32.272Z]  
[2020-10-11T16:41:32.272Z]          self.assertEqual(slash_hello, '/hello')
[2020-10-11T16:41:32.272Z]          self.assertEqual(world, 'world')
[2020-10-11T16:41:32.272Z]  
[2020-10-11T16:41:32.272Z]      def test_load_backend_submodule(self):
[2020-10-11T16:41:32.272Z] -        """Test that we can load a submodule as a backend
[2020-10-11T16:41:32.272Z] -
[2020-10-11T16:41:32.272Z] -        """
[2020-10-11T16:41:32.272Z] +        """Test that we can load a submodule as a backend"""
[2020-10-11T16:41:32.272Z]          jsonpickle.load_backend('os.path', 'split', 'join', AttributeError)
[2020-10-11T16:41:32.272Z]          self.assertTrue(
[2020-10-11T16:41:32.272Z]              'os.path' in jsonpickle.json._backend_names
[2020-10-11T16:41:32.272Z]              and 'os.path' in jsonpickle.json._encoders
[2020-10-11T16:41:32.272Z]              and 'os.path' in jsonpickle.json._decoders
[2020-10-11T16:41:32.272Z] 
[2020-10-11T16:41:32.272Z] =============================== warnings summary ===============================
[2020-10-11T16:41:32.272Z] tests/numpy_test.py::NumpyTestCase::test_dtype_roundtrip
[2020-10-11T16:41:32.272Z]   /build/python-jsonpickle/src/jsonpickle-1.4.1/tests/numpy_test.py:56: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
[2020-10-11T16:41:32.272Z]     np.dtype('1i4', align=True),
[2020-10-11T16:41:32.272Z] 
[2020-10-11T16:41:32.272Z] tests/numpy_test.py::NumpyTestCase::test_ndarray_roundtrip
[2020-10-11T16:41:32.272Z]   /build/python-jsonpickle/src/jsonpickle-1.4.1/jsonpickle/ext/numpy.py:292: UserWarning: ndarray is defined by reference to an object we do not know how to serialize. A deep copy is serialized instead, breaking memory aliasing.
[2020-10-11T16:41:32.272Z]     warnings.warn(msg)
[2020-10-11T16:41:32.272Z] 
[2020-10-11T16:41:32.272Z] -- Docs: https://docs.pytest.org/en/stable/warnings.html
[2020-10-11T16:41:32.272Z] 
[2020-10-11T16:41:32.272Z] ----------- coverage: platform linux, python 3.8.6-final-0 -----------
[2020-10-11T16:41:32.272Z] Name                         Stmts   Miss  Cover   Missing
[2020-10-11T16:41:32.272Z] ----------------------------------------------------------
[2020-10-11T16:41:32.272Z] jsonpickle/__init__.py          21      0   100%
[2020-10-11T16:41:32.272Z] jsonpickle/backend.py          114     15    87%   62, 83, 117-118, 166-167, 176, 202-203, 208-212, 244-245
[2020-10-11T16:41:32.272Z] jsonpickle/compat.py            31     10    68%   24-33, 38
[2020-10-11T16:41:32.272Z] jsonpickle/ext/__init__.py       0      0   100%
[2020-10-11T16:41:32.272Z] jsonpickle/ext/numpy.py        167      6    96%   30, 94, 161, 293-298
[2020-10-11T16:41:32.272Z] jsonpickle/ext/pandas.py       151      0   100%
[2020-10-11T16:41:32.272Z] jsonpickle/handlers.py         137      6    96%   121, 128, 157, 180, 247, 290
[2020-10-11T16:41:32.272Z] jsonpickle/pickler.py          359     46    87%   261, 295-296, 301, 304, 346-347, 375-376, 380-383, 406, 422-426, 434-438, 450-452, 508-509, 517, 529-530, 535, 549-550, 556, 650, 663, 672, 679-688, 701, 719, 723-725
[2020-10-11T16:41:32.272Z] jsonpickle/tags.py              22      0   100%
[2020-10-11T16:41:32.272Z] jsonpickle/unpickler.py        415     51    88%   100-101, 104, 189, 191, 228, 247, 264-275, 297-298, 301, 306, 329, 374-376, 379-385, 412, 425-430, 444, 545, 552, 658-659, 682, 697, 699-700, 716-718
[2020-10-11T16:41:32.272Z] jsonpickle/util.py             167     10    94%   33, 84, 313, 347-348, 411, 531, 540, 560-561
[2020-10-11T16:41:32.272Z] jsonpickle/version.py           15      5    67%   5, 8-9, 16-17
[2020-10-11T16:41:32.272Z] ----------------------------------------------------------
[2020-10-11T16:41:32.272Z] TOTAL                         1599    149    91%
[2020-10-11T16:41:32.272Z] 
[2020-10-11T16:41:32.272Z] =========================== short test summary info ============================
[2020-10-11T16:41:32.272Z] FAILED jsonpickle/pickler.py::BLACK
[2020-10-11T16:41:32.272Z] FAILED jsonpickle/unpickler.py::BLACK
[2020-10-11T16:41:32.272Z] FAILED jsonpickle/ext/numpy.py::BLACK
[2020-10-11T16:41:32.272Z] FAILED tests/jsonpickle_test.py::BLACK
[2020-10-11T16:41:32.272Z] ====== 4 failed, 344 passed, 19 skipped, 3 xpassed, 2 warnings in 24.98s =======
[2020-10-11T16:41:32.523Z] ==> ERROR: A failure occurred in check().
[2020-10-11T16:41:32.523Z]     Aborting...
[2020-10-11T16:41:33.434Z] ==> ERROR: Build failed, check /build/buildpkg/default-x86_64/jenkins/build
[Pipeline] }
[2020-10-11T16:41:33.436Z] ERROR: Failed to build source
[2020-10-11T16:41:33.436Z] ERROR: script returned exit code 255
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] emailext
[2020-10-11T16:41:33.533Z] Sending email to: artix-build-failures at artixlinux.org


More information about the artix-build-failures mailing list