☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How do I run the CI tests locally in a fork of the repo?

Community Support
Bryan
Bryan

Hi @jeremy9959

There is a “getting started” chapter tin the Dev Guide that explains how to get all the necessary dependencies installed:[1]

Setting up a development environment — Bokeh 2.4.2 Documentation

Note that those docs published from the last release are slightly out of date. We just got rid of pytest marks, and expect to run top-level test categories by directory, instead of via -m <mark>. In particular, to run the codebase checks, execute

py.test tests/codebase

from the top level. That will run flake8, mypy, isort etc.

EDIT: one more recent update: you will also need to manually pip install channels or else isort will get confused (there is not a conda package for it yet AFAIK)


  1. If you are not using conda, you can install the test deps manually I suppose, they are listed in conda.receipe/meta.yaml ↩︎

⌁   Link to post
jeremy9959
jeremy9959

Actually I have one other question on this general topic. When I wanted to test my proposed new code I needed to use version 1.4 of bokeh. The bokeh repo master branch comes in at the cutting edge. I checked out v1.4.0 so that was ok but I’m not sure if that’s the correct approach for contributing in other ways. I wonder if there’s a place where I can read about the right git protocol for contributing to a big complicated project like this one?

⌁   Link to post

End of archived discussion · Replies are disabled