Skip to content

ModuleNotFoundError: 'deprecated' when installing bokeh 3.0.1 #72

@TimoRoth

Description

@TimoRoth

The full output is in our build output here:
https://github.com/OGGM/r2d/actions/runs/3449532207/jobs/5757527685#step:6:1589

Relevant part:

Collecting bokeh
  Downloading bokeh-3.0.1.tar.gz (15.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 MB 65.4 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [36 lines of output]
      DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
      Collecting setuptools>=64
        Using cached setuptools-65.5.1.tar.gz (2.6 MB)
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting setuptools-git-versioning
        Downloading setuptools-git-versioning-1.11.0.tar.gz (10 kB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'error'
        error: subprocess-exited-with-error
      
        × python setup.py egg_info did not run successfully.
        │ exit code: 1
        ╰─> [8 lines of output]
            Traceback (most recent call last):
              File "<string>", line 2, in <module>
              File "<pip-setuptools-caller>", line 34, in <module>
              File "/tmp/pip-install-fm8vdn8q/setuptools-git-versioning_7f0d0be05fad4a0f8518e6263fd1d55e/setup.py", line 3, in <module>
                from setuptools_git_versioning import version_from_git
              File "/tmp/pip-install-fm8vdn8q/setuptools-git-versioning_7f0d0be05fad4a0f8518e6263fd1d55e/setuptools_git_versioning.py", line 18, in <module>
                from deprecated import deprecated
            ModuleNotFoundError: No module named 'deprecated'
            [end of output]

All we're doing is trying to install bokeh. Is this an issue in their setup scripts, or an actual issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions