Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Merge requests
  • !270

Fix dbf dependency break for Python 2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/rdmurphy/fix-dbf-dependency-break into master Apr 27, 2014
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: rdmurphy

So the dbf package maintainers apparently don't care about versioning and introduced changes in dbf 0.95.010 that break Python 2 support. Because the requirements.txt defines the dependency as dbf>=0.95.004, csvkit tries to pick up the newer version.

dbf attempts to load the enum package:

File "dbf.py", line 67, in <module>

    from enum import Enum, IntEnum

ImportError: No module named enum

But that is currently only supported in Python 3.4. So the install just fails. A quick search didn't turn up anything that backports enum to Python 2. No bueno.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/rdmurphy/fix-dbf-dependency-break