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

Use ../core/kinds instead of core/kinds in imports #13254

Merged
merged 1 commit into from Jul 18, 2023

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Jul 14, 2023

This is required due to TypeScript's handling of injected imports in generated type declarations, which cannot be processed by our source transforms, so we have to do that "transform" manually.

@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #13254 (4460964) into branch-3.3 (969079b) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           branch-3.3   #13254   +/-   ##
===========================================
  Coverage       92.44%   92.44%           
===========================================
  Files             315      315           
  Lines           20107    20107           
===========================================
  Hits            18587    18587           
  Misses           1520     1520           

Copy link
Member

@bryevdv bryevdv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still imports from e.g. core/enums just above. It's not at all clear when this treatment is necessary and when it is not, so some detailed guidance would be extremely appreciated.

Can/should we just update all internal imports to this style? It seem much uglier, but consistency and removing decision making would be preferable IMO.

@mattpap
Copy link
Contributor Author

mattpap commented Jul 18, 2023

It's only core/kinds used in a specific way (defining exported types from values) that's affected and only when generating *.d.ts files. The problem should go away when the new build system arrives, because it should allow for transforming *.d.ts files, which tsc doesn't allow (for reasons).

@mattpap mattpap merged commit db4fa7d into branch-3.3 Jul 18, 2023
27 checks passed
@mattpap mattpap deleted the mattpap/core_kinds_import branch July 18, 2023 12:41
@mattpap mattpap mentioned this pull request Jul 18, 2023
14 tasks
@mattpap mattpap modified the milestones: 3.3, 3.2.1 Jul 19, 2023
mattpap added a commit that referenced this pull request Jul 20, 2023
* Improve performance of WebGL line glyph (#13236)

* Improve performance of webgl line glyph

* Update baseline images

* Update ruff repo links (#13242)

* Fix `PropertyValueColumnData._stream()` to handle `rollover=0` (#13239)

* Fix `PropertyValueColumnData._stream()` to handle `rollover=0`

* Check 'event.data' in the unit tests

* Improve docs example in first_steps_8.rst (#13161)

* Improve docs example in first_steps_8.rst

* Update figure in docs example first_steps_8.rst

* Resolve issues with high DPI GridPlot exports (#13253)

* Allow to disable DatePicker (etc.) after creation (#13256)

* Use ../core/kinds instead of core/kinds in imports (#13254)

* Don't paint undisplayed plots (#13250)

* Update theme.py (#13270)

* Fixed Broken Link (#13266)

* Fixed Broken Link

* Update docs/bokeh/source/docs/first_steps/first_steps_9.rst

Co-authored-by: Bryan Van de Ven <bryan@bokeh.org>

---------

Co-authored-by: Bryan Van de Ven <bryan@bokeh.org>

* fix unterminated string literals in example code [skip ci] (#13274)

* Fix Legend's grid layout for uneven number of items (#13263)

* 13272 update legend docs (#13273)

* update docs for two dimensional legends

* Apply suggestions from code review

* Implement cloneable interface in ndarrays (#13232)

* Update docs/bokeh/switcher.json

* Added release notes

---------

Co-authored-by: Ian Thomas <ianthomas23@gmail.com>
Co-authored-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
Co-authored-by: Christoph Deil <Deil.Christoph@gmail.com>
Co-authored-by: Moritz Schreiber <68053396+mosc9575@users.noreply.github.com>
Co-authored-by: Rajat Shenoi <rajatshenoi@outlook.com>
Co-authored-by: Bryan Van de Ven <bryan@bokeh.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants