Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin.core
  • Merge requests
  • !35

Merged
Created Feb 21, 2025 by Kirill Smelkov@kirrOwner

lib/zodb: tests: Mark test_zstor_2zurl as xfailing on py3

  • Overview 6
  • Commits 1
  • Changes 1

Because it uses NEO/py which is not yet ported to py3 and fails even with today's NEO/py master (v1.12-148-g1020ac40) with:

=================================== FAILURES ===================================
_______________________________ test_zstor_2zurl _______________________________

...

>       _(neo("test",  "127.0.0.1:1234"),         "neo://test@127.0.0.1:1234")            # NEO/ip4

lib/tests/test_zodb.py:526:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/tests/test_zodb.py:497: in neo
    from neo.client.Storage import Storage as NEOStorage
../../neo/src/lab.nexedi.com/kirr/neo/neo/client/__init__.py:52: in <module>
    from . import app # set up signal handlers early enough to do it in the main thread
../../neo/src/lab.nexedi.com/kirr/neo/neo/client/app.py:31: in <module>
    from neo.lib import logging
../../neo/src/lab.nexedi.com/kirr/neo/neo/lib/__init__.py:17: in <module>
    from .logger import logging
../../neo/src/lab.nexedi.com/kirr/neo/neo/lib/logger.py:25: in <module>
    from .util import nextafter
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from __future__ import division
    import os, socket
    from binascii import a2b_hex, b2a_hex
    from datetime import timedelta, datetime
    from hashlib import sha1
>   from Queue import deque
E   ModuleNotFoundError: No module named 'Queue'

../../neo/src/lab.nexedi.com/kirr/neo/neo/lib/util.py:22: ModuleNotFoundError

After this patch running wendelin.core test on py3 locally passes fully with FileStorage, and fully with ZEO if https://github.com/Pylons/zodburi/pull/35 fix is applied to zodburi.

/cc @jerome, @levin.zimmermann, @vnmabus

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