Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiprocessing.managers not accessible even though docs say so #49993

Closed
ngie-eign mannequin opened this issue Apr 12, 2009 · 3 comments
Closed

multiprocessing.managers not accessible even though docs say so #49993

ngie-eign mannequin opened this issue Apr 12, 2009 · 3 comments
Labels
extension-modules C modules in the Modules dir topic-installation type-feature A feature request or enhancement

Comments

@ngie-eign
Copy link
Mannequin

ngie-eign mannequin commented Apr 12, 2009

BPO 5743
Nosy @ngie-eign
Files
  • test_managers_support.py: managers support nose testcase
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-04-12.22:55:17.177>
    created_at = <Date 2009-04-12.22:42:01.814>
    labels = ['extension-modules', 'type-feature', 'expert-installation']
    title = 'multiprocessing.managers not accessible even though docs say so'
    updated_at = <Date 2009-04-12.22:55:17.176>
    user = 'https://github.com/ngie-eign'

    bugs.python.org fields:

    activity = <Date 2009-04-12.22:55:17.176>
    actor = 'ngie'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-04-12.22:55:17.177>
    closer = 'ngie'
    components = ['Extension Modules', 'Installation']
    creation = <Date 2009-04-12.22:42:01.814>
    creator = 'ngie'
    dependencies = []
    files = ['13679']
    hgrepos = []
    issue_num = 5743
    keywords = []
    message_count = 3.0
    messages = ['85921', '85922', '85923']
    nosy_count = 2.0
    nosy_names = ['jnoller', 'ngie']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5743'
    versions = ['Python 2.6', 'Python 2.5', 'Python 2.4', 'Python 3.0']

    @ngie-eign
    Copy link
    Mannequin Author

    ngie-eign mannequin commented Apr 12, 2009

    I'm not sure why but my copy doesn't have a managers module. I'm really
    confused because multiprocessing.managers exists in
    Lib/multiprocessing/managers.py and it should have been installed with
    easy_install...

    Please see the attached testcase (it shows the details verifying that I
    don't have support). I ran it against all copies of python I have
    besides 3.x (nose doesn't support 3.x because setuptools isn't there yet
    for 3.x support).

    -bash-3.00$ python2.4 which nosetests ~/test_managers_support.py
    Python version:
    2.4.5 (#1, Mar 28 2009, 14:54:51)
    [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
    ======================================================================
    FAIL: test_managers_support.test_has_managers
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File
    "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
    line 182, in runTest
        self.test(*self.arg)
      File "/users/garrcoop/test_managers_support.py", line 9, in
    test_has_managers
        assert hasattr(multiprocessing, 'managers')
    AssertionError

    Ran 1 test in 0.050s

    FAILED (failures=1)
    -bash-3.00$ python2.5 which nosetests ~/test_managers_support.py
    /ws/garrcoop-sjc/tools/lib/python2.4/site-packages/multiprocessing-2.6.1.1-py2.4-linux-i686.egg/multiprocessing/init.py:86:
    RuntimeWarning: Python C API version mismatch for module
    _multiprocessing: This Python has API version 1013, module
    _multiprocessing has version 1012.
    import _multiprocessing
    Python version:
    2.5.4 (r254:67916, Mar 28 2009, 15:01:19)
    [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
    ======================================================================
    FAIL: test_managers_support.test_has_managers
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File
    "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
    line 182, in runTest
        self.test(*self.arg)
      File "/users/garrcoop/test_managers_support.py", line 9, in
    test_has_managers
        assert hasattr(multiprocessing, 'managers')
    AssertionError

    Ran 1 test in 0.159s

    FAILED (failures=1)
    -bash-3.00$ python2.6 which nosetests ~/test_managers_support.py
    F
    ======================================================================
    FAIL: test_managers_support.test_has_managers
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File
    "/ws/garrcoop-sjc/tools/lib/python2.4/site-packages/nose-0.10.4-py2.4.egg/nose/case.py",
    line 182, in runTest
        self.test(*self.arg)
      File "/users/garrcoop/test_managers_support.py", line 7, in
    test_has_managers
        assert hasattr(multiprocessing, 'managers')
    AssertionError

    Ran 1 test in 0.029s

    FAILED (failures=1)

    @ngie-eign ngie-eign mannequin added extension-modules C modules in the Modules dir topic-installation labels Apr 12, 2009
    @ngie-eign
    Copy link
    Mannequin Author

    ngie-eign mannequin commented Apr 12, 2009

    Sorry -- the info for my python2.6 was out of date. Here's the info (I
    had to set PYTHONPATH to "" to avoid a multiprocessing module conflict):

    bash-3.00$ PYTHONPATH=""; python2.6 which nosetests
    ~/test_managers_support.py
    Python version:
    2.6.1 (r261:67515, Mar 28 2009, 06:39:52)
    [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]F
    ======================================================================
    FAIL: test_managers_support.test_has_managers
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File
    "/ws/garrcoop-sjc/tools/lib/python2.6/site-packages/nose-0.10.4-py2.6.egg/nose/case.py",
    line 182, in runTest
        self.test(*self.arg)
      File "/users/garrcoop/test_managers_support.py", line 9, in
    test_has_managers
        assert hasattr(multiprocessing, 'managers')
    AssertionError

    Ran 1 test in 0.045s

    FAILED (failures=1)

    @ngie-eign
    Copy link
    Mannequin Author

    ngie-eign mannequin commented Apr 12, 2009

    Ugh... nevermind. Bad case of PEBKAC. Sorry for the noise :(...

    @ngie-eign ngie-eign mannequin closed this as completed Apr 12, 2009
    @ngie-eign ngie-eign mannequin added the type-feature A feature request or enhancement label Apr 12, 2009
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    extension-modules C modules in the Modules dir topic-installation type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants