Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Z zodbtools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 4
    • Merge requests 4
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedi
  • zodbtools
  • Merge requests
  • !29

Merged
Created Jul 16, 2024 by Kirill Smelkov@kirrOwner

Test under all py2_pickle{1,2,3} and py3_pickle3 ZODB kinds + fix discovered issues

  • Overview 6
  • Commits 16
  • Changes 55

Hello @jerome,

For ZODB/go and WCFS, in order to support Python3 and Python2 with recent ZODB5, I need to extend generated test databases to cover all ZODB kinds instead of only ZODB/py2 + pickle protocol=2 we had before. This resulted in run_with_all_zodb_pickle_kinds utility inside gen_testdata.py and zodbtools also becoming well tested under all kinds of ZODB databases:

py2: ZODB 4 and ZODB5 < 5.3     (pickle protocol 1)
py2: ZODB 5.3                   (pickle protocol 2)
py2: ZODB ≥ 5.4                 (pickle protocol 3)
py3: ZODB4 and ZODB5            (pickle protocol 3)

Please find the patches that do that for zodbtools attached. Some problems popped up due to extended testing coverage and they are fixed as well.

Please see individual patches for details.

Kirill

/cc @vnmabus, @levin.zimmermann

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/zkind-all
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7