deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] Old frontend in pypi pydeck

Open ondave opened this issue 9 months ago • 6 comments

Description

The latest pydeck version on pypi (0.9.1) does not have the latest frontend version: DECKGL_SEMVER = "~9.0.*"

This does not correspond to the version here: https://github.com/visgl/deck.gl/blob/4a62cd82e5a047e2255dde729eaebe373b961775/bindings/pydeck/pydeck/frontend_semver.py#L1

So not sure what happened here? I guess the python release is lagging behind the npm releases. Any chance you could fix up the pypi release?

Flavors

  • [ ] Script tag
  • [ ] React
  • [x] Python/Jupyter notebook
  • [ ] MapboxOverlay
  • [ ] GoogleMapsOverlay
  • [ ] CARTO
  • [ ] ArcGIS

Expected Behavior

Latest released deck.gl frontend version.

Steps to Reproduce

pip install pydeck==0.9.1 python -c "import pydeck;print(pydeck.frontend_semver.DECKGL_SEMVER)"

Environment

  • Framework version: 0.9.1
  • Browser:
  • OS:

Logs

No response

ondave avatar Feb 17 '25 00:02 ondave

Hi @ondave! Currently the pydeck package is very short on available maintainers and upkeep. We aren't making pydeck releases with every deck.gl release at all, it's more on an as-needed timeline. I've gone ahead and published an alpha, available with...

pip install pydeck=="0.9.1a1"

... but haven't done more than minimal testing with deck.gl v9.1 there. The alpha release is pinned to deck.gl v9.1.0-beta.3. If this is (or isn't) working as expected please let us know and I expect that a stable release against deckgl v9.1 will be along afterward.

donmccurdy avatar Mar 13 '25 19:03 donmccurdy

As mentioned in the #pydeck channel, PR #9430 (fix for issue #9370) doesn't work in the 0.9.1a1 release because it also contained changes to jupyter-widget .

I confirmed in my Chrome Dev console that pydeck 0.9.1a1 indeed pinned jupyter-widget to 9.1.0-beta.3 which does not contain the changes from PR #9430.

bijanvakili avatar Mar 14 '25 18:03 bijanvakili

That changed hasn't landed on the 9.1 release branch yet:

https://github.com/visgl/deck.gl/commits/9.1-release/

So we'll need a new version published to npm with the @deck.gl/jupyter-widget fix, then a new pydeck alpha release pulling in that version from npm.

donmccurdy avatar Mar 14 '25 19:03 donmccurdy

Sounds good, @donmccurdy .

Let me know when the next alpha release is ready and I'll retest.

bijanvakili avatar Mar 18 '25 15:03 bijanvakili

Published pydeck 0.9.1a2, pinned this time to deckgl v9.1.7.

donmccurdy avatar Mar 21 '25 15:03 donmccurdy

@donmccurdy LGTM

I've confirmed that 0.9.1a2 now includes the full fix for issue #9370

bijanvakili avatar Mar 22 '25 20:03 bijanvakili