Skip to content

setup.py should require six at least version 1.5  #6

Closed

Description

@ccanepa

after installation with python setup.py install , in python 2.7, tests failed to run with message related to _thread

dateutil.rrule does
from six.moves import _thread

but six version needs to be at least 1.5 for that

Defect seen in dateutil v2.3 and master b2615c7 from Tue Dec 9 21:42:17 2014 +0200

EDIT: I was at six vs 1.2 before, updated to latest in pypi, vs 1.8 ATM.
I don't tested versions in ´´´1.5 <= vs < 1.8´´´ so it is possible that other features need a higher version than 1.5; 1.5 is the minimal to solve the _thread traceback.

Activity

  1. jarondl commented on Dec 11, 2014

    @jarondl
    Member

    ok, will do

  2. added a commit that references this issue on Dec 14, 2014
    1119ee7
  3. jdufresne commented on Jan 5, 2015

    @jdufresne
    Contributor

    Thanks for the fix.

    Any chance there could be a point release with this included?

  4. hanbeibei commented on Apr 9, 2015

    @hanbeibei

    Hi
    I'm using thest command:
    sudo pip install --upgrade dateutils

    and get related log as follow:
    Requirement already up-to-date: dateutils in /Library/Python/2.7/site-packages
    Requirement already up-to-date: argparse in /Library/Python/2.7/site-packages (from dateutils)
    Requirement already up-to-date: python-dateutil in /Library/Python/2.7/site-packages (from dateutils)
    Requirement already up-to-date: pytz in /Library/Python/2.7/site-packages (from dateutils)
    Requirement already up-to-date: six>=1.5 in /Library/Python/2.7/site-packages (from python-dateutil->dateutils)

    but still get error message as described on #12

    any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions