Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bokeh versions #714

Closed
wants to merge 1 commit into from
Closed

Bump bokeh versions #714

wants to merge 1 commit into from

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Mar 20, 2024

It needs Panel 1.4 released before it makes sense.

Has a lot of any errors when building

    geoviews/models/clear_tool.ts:13:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Data'.
      No index signature with a parameter of type 'string' was found on type 'Data'.

    13         source.data[column] = []
               ~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:64:15 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    64           x = point_ds.data[pxkey][index]
                     ~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:66:15 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    66           y = point_ds.data[pykey][index]
                     ~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:67:13 - error TS2367: This comparison appears to be unintentional because the types '"pan" | "pinch" | "rotate" | "move" | "tap" | "press" | "pan_start" | "pan_end" | "pinch_start" | "pinch_end" | "rotate_start" | "rotate_end" | "double_tap" | "press_up" | "enter" | "leave" | "wheel"' and '"mousemove"' have no overlap.

    67         if (ev.type != 'mousemove')
                   ~~~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:83:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    83         point_cds.data[pxkey] = xs
               ~~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:89:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    89         point_cds.data[pykey] = ys
               ~~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:96:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Data'.
      No index signature with a parameter of type 'string' was found on type 'Data'.

    96         point_cds.data[key] = styles[key]
               ~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:101:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Data'.
      No index signature with a parameter of type 'string' was found on type 'Data'.

    101         point_cds.data[col] = []
                ~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:150:20 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    150       const xidx = cds.data[xkey].length-1
                           ~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:154:10 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    154         (cds.data[xkey] as any).splice(xidx, 1)
                 ~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:157:20 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    157       const yidx = cds.data[ykey].length-1
                           ~~~~~~~~~~~~~~
    geoviews/models/poly_draw.ts:161:10 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    161         (cds.data[ykey] as any).splice(yidx, 1)
                 ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:76:22 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    76           point.push(cds.data[xkey][index])
                            ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:77:11 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    77           cds.data[xkey][index] += dx
                 ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:80:22 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    80           point.push(cds.data[ykey][index])
                            ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:81:11 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    81           cds.data[ykey][index] += dy
                 ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:101:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    101         point_cds.data[pxkey] = xs
                ~~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:107:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    107         point_cds.data[pykey] = ys
                ~~~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:114:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Data'.
      No index signature with a parameter of type 'string' was found on type 'Data'.

    114         point_cds.data[key] = styles[key]
                ~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:119:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Data'.
      No index signature with a parameter of type 'string' was found on type 'Data'.

    119         point_cds.data[col] = []
                ~~~~~~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:205:12 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    205       xs = cds.data[xkey][index]
                   ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:207:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    207         cds.data[xkey][index] = xs = Array.from(xs)
                ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:213:12 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    213       ys = cds.data[ykey][index]
                   ~~~~~~~~~~~~~~
    geoviews/models/poly_edit.ts:215:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Data'.

    215         cds.data[ykey][index] = ys = Array.from(ys)
                ~~~~~~~~~~~~~~

@hoxbro hoxbro marked this pull request as draft March 20, 2024 17:36
@hoxbro hoxbro closed this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant