Skip to content

bug: Motif Finding Tutorial doesn't work with PyPi install - need dependencies to be tutorials extras #768

Description

@rjurney

Describe the bug

The motif finding tutorial won't run, you can't download the data without the tutorial specific dependencies, which are in their own group in pyproject.toml but aren't defined as extras. This means tutorials work for me in development but don't work for PyPi installers - most users :/

To Reproduce

Steps to reproduce the behavior:

graphframes stackexchange stats.meta

Expected behavior

Users should be able to pip install graphframes[tutorials] and it will install dependencies like py7zr which we don't want to require in the main GraphFrames package.

System [please complete the following information]:

  • OS: Mac OS X, late model
  • Python Version: 3.12.9
  • Spark / PySpark version: PySpark 3.5.4
  • GraphFrames version: graphframes-0.10.0

Component

  • Scala Core Internal
  • Scala API
  • Spark Connect Plugin
  • [*] PySpark Classic
  • PySpark Connect

Additional context

Are you planning on creating a PR?

Yes, I am preparing a PR now.

  • [*] I'm willing to make a pull-request

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions