import numpy as np
from setuptools import setup
from setuptools import find_packages

VERSION = '0.24.0'

AUTHORS = 'Matthew Bourque, Lauren Chambers, Misty Cracraft, Mike Engesser, Mees Fix, Joe Filippazzo, Bryan Hilbert, '
AUTHORS += 'Graham Kanarek, Teagan King, Catherine Martlin, Maria Pena-Guerrero, Johannes Sahlmann, Ben Sunnquist'

DESCRIPTION = 'The James Webb Space Telescope Quicklook Project'

DEPENDENCY_LINKS = ['git+https://github.com/spacetelescope/jwst_reffiles#egg=jwst_reffiles']

REQUIRES = [
    'asdf>=2.3.3',
    'astropy>=3.2.1',
    'astroquery>=0.3.9',
    'authlib',
    'bokeh>=1.0,<1.4',
    'codecov',
    'crds',
    'cryptography',
    'django',
    'flake8',
    'inflection',
    'ipython',
    'jinja2',
    'jsonschema',
    'jwedb>=0.0.3',
    'jwst',
    'matplotlib',
    'nodejs',
    'numpy',
    'numpydoc',
    'pandas',
    'psycopg2',
    'pysiaf',
    'pytest',
    'pytest-cov',
    'scipy',
    'sphinx',
    'sqlalchemy',
    'stsci_rtd_theme',
    'twine',
    'wtforms'
]

setup(
    name='jwql',
    version=VERSION,
    description=DESCRIPTION,
    url='https://github.com/spacetelescope/jwql.git',
    author=AUTHORS,
    author_email='jwql@stsci.edu',
    license='BSD',
    keywords=['astronomy', 'python'],
    classifiers=['Programming Language :: Python'],
    packages=find_packages(),
    install_requires=REQUIRES,
    dependency_links=DEPENDENCY_LINKS,
    include_package_data=True,
    include_dirs=[np.get_include()],
)

setup.py
import numpy as np
from setuptools import setup
from setuptools import find_packages

VERSION = '0.24.0'

AUTHORS = 'Matthew Bourque, Lauren Chambers, Misty Cracraft, Mike Engesser, Mees Fix, Joe Filippazzo, Bryan Hilbert, '
AUTHORS += 'Graham Kanarek, Teagan King, Catherine Martlin, Maria Pena-Guerrero, Johannes Sahlmann, Ben Sunnquist'

DESCRIPTION = 'The James Webb Space Telescope Quicklook Project'

DEPENDENCY_LINKS = ['git+https://github.com/spacetelescope/jwst_reffiles#egg=jwst_reffiles']

REQUIRES = [
    'asdf>=2.3.3',
    'astropy>=3.2.1',
    'astroquery>=0.3.9',
    'authlib',
    'bokeh',
    'codecov',
    'crds',
    'cryptography',
    'django',
    'flake8',
    'inflection',
    'ipython',
    'jinja2',
    'jsonschema',
    'jwedb>=0.0.3',
    'jwst',
    'matplotlib',
    'nodejs',
    'numpy',
    'numpydoc',
    'pandas',
    'psycopg2',
    'pysiaf',
    'pytest',
    'pytest-cov',
    'scipy',
    'sphinx',
    'sqlalchemy',
    'stsci_rtd_theme',
    'twine',
    'wtforms'
]

setup(
    name='jwql',
    version=VERSION,
    description=DESCRIPTION,
    url='https://github.com/spacetelescope/jwql.git',
    author=AUTHORS,
    author_email='jwql@stsci.edu',
    license='BSD',
    keywords=['astronomy', 'python'],
    classifiers=['Programming Language :: Python'],
    packages=find_packages(),
    install_requires=REQUIRES,
    dependency_links=DEPENDENCY_LINKS,
    include_package_data=True,
    include_dirs=[np.get_include()],
)

setup.py
diff --git a/environment_python_3_6.yml b/environment_python_3_6.yml
index 37abca8e0..a327fe9ad 100644
--- a/environment_python_3_6.yml
+++ b/environment_python_3_6.yml
@@ -4,7 +4,7 @@ channels:
 dependencies:
 - astroquery=0.4
 - authlib=0.15.2
-- bokeh>=1.0,<1.4
+- bokeh=2.2.3
 - django=3.1.4
 - drizzle=1.13
 - flake8=3.7.9
diff --git a/environment_python_3_7.yml b/environment_python_3_7.yml
index ddc4fc827..bbc0de909 100644
--- a/environment_python_3_7.yml
+++ b/environment_python_3_7.yml
@@ -4,7 +4,7 @@ channels:
 dependencies:
 - astroquery=0.4
 - authlib=0.15.2
-- bokeh>=1.0,<1.4
+- bokeh=2.2.3
 - django=3.1.4
 - flake8=3.8.3
 - inflection=0.3.1
diff --git a/environment_python_3_8.yml b/environment_python_3_8.yml
index 204f8f794..ae849b19d 100644
--- a/environment_python_3_8.yml
+++ b/environment_python_3_8.yml
@@ -3,6 +3,7 @@ channels:
 - http://ssb.stsci.edu/astroconda
 dependencies:
 - authlib=0.15.2
+- bokeh=2.2.3
 - django=3.1.4
 - flake8=3.8.3
 - inflection=0.3.1
@@ -29,7 +30,6 @@ dependencies:
   - asdf==2.7.1
   - astropy==4.1
   - astroquery==0.4.1
-  - bokeh>=1.0,<1.4
   - codecov==2.1.10
   - crds==10.1.0
   - cryptography==3.2.1
diff --git a/requirements.txt b/requirements.txt
index 3d560bbd7..fa1620f6e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@ asdf==2.7.1
 astropy==4.1
 astroquery==0.4.1
 authlib==0.15.2
-bokeh==1.3.4
+bokeh==2.2.3
 codecov==2.1.10
 crds==10.1.0
 cryptography==3.2.1
diff --git a/setup.py b/setup.py
index 355a272bd..6cd809d35 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
     'astropy>=3.2.1',
     'astroquery>=0.3.9',
     'authlib',
-    'bokeh>=1.0,<1.4',
+    'bokeh',
     'codecov',
     'crds',
     'cryptography',

Update Bokeh to latest version
I remember there was some reason that we were holding off on upgrading Bokeh from 1.3.4. However, Bokeh is now up to version 2.2.1 I believe. We should look into upgrading the version used for JWQL in order to take advantage of new features and so that we minimize the number of plots created under 1.3.4 which may need to be tweaked to work under the new version.

For example, one difference I ran into today was that the keyword "legend", which is used in 1.3.4 to denote the string printed in the legend for a particular element, has been changed to "legend_label" in version 2.2.1.
