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

vdk-jupyter: removed py-to-ts-interfaces because of build problems #1690

Closed
duyguHsnHsn opened this issue Mar 1, 2023 · 0 comments
Closed
Labels

Comments

@duyguHsnHsn
Copy link
Collaborator

duyguHsnHsn commented Mar 1, 2023

Describe the bug
When we add py-to-ts-interfaces to the vdk-jupyterlab-extension build, we get errors.

What should be done
The package should be added again in the build if possible.
If there is no way to it to be added, a new solution/ package should be found that can provide the same functionality as py-to-ts-interfaces.

Screenshots
The errors we get:
Screenshot 2023-03-01 at 18 25 23

Additional context
Currently, the package will be removed from the build since it not a vital part of it (it is used mainly for development convenience).

duyguHsnHsn added a commit that referenced this issue Mar 1, 2023
)

What:
Removed the py-to-ts-interfacesfrom from build.
Created an issue about adding it again to the build -
#1690

Why: It causes problems with the build and requires some hacky code to
be build.


Signed-off-by: Duygu Hasan [[email protected]](mailto:[email protected])
yonitoo pushed a commit that referenced this issue Mar 1, 2023
)

What:
Removed the py-to-ts-interfacesfrom from build.
Created an issue about adding it again to the build -
#1690

Why: It causes problems with the build and requires some hacky code to
be build.


Signed-off-by: Duygu Hasan [[email protected]](mailto:[email protected])
duyguHsnHsn added a commit that referenced this issue Mar 22, 2023
What:
Added py-to-ts-interfaces to build. 

What the changes do:
- Instruct npm to download the py-to-ts-interfaces package from the main
branch of the repository located at
https://github.com/Syndallic/py-to-ts-interfaces
- build script by updating the "build:interfaces" script in the
package.json (the npx command is used to run the installed
py-to-ts-interfaces package)

Why: linked to the issue
#1690

Tests: tested manually the build by adding new options to VdkOptions in
the python project

Signed-off-by: Duygu Hasan [[email protected]](mailto:[email protected])

---------

Co-authored-by: Dilyan Marinov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant