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

Update dependencies. #14

Merged
merged 3 commits into from
Jan 4, 2024
Merged

Update dependencies. #14

merged 3 commits into from
Jan 4, 2024

Conversation

YooSunYoung
Copy link
Member

@YooSunYoung YooSunYoung commented Dec 21, 2023

Added dependencies.

  • pythreejs: For instrument views.
  • defusedxml: For parsing xml(instrument geometry).
  • scippneutron: For instrument views (only in docs)

TODO:

  • Build nightly dependency again.
    Nightly dependency could not be compiled since I was using mac os and my workstation is offline...

@@ -37,6 +37,7 @@ dependencies = [
"scipp>=23.8.0",
"scippnexus>=23.9.0",
"pooch",
"defusedxml",
Copy link
Member

Choose a reason for hiding this comment

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

Can you explain the choice of a third-party library over something builtin in Python? Do you consider the data we get untrusted?

Copy link
Member Author

Choose a reason for hiding this comment

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

This one was recommended by the bandit check because of a security vulnerability of builtin package for xml...
Builtin package xml was not allowed when I tried to commit the code.

Copy link
Member

Choose a reason for hiding this comment

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

👍

@YooSunYoung YooSunYoung merged commit f18e689 into main Jan 4, 2024
3 checks passed
@YooSunYoung YooSunYoung deleted the dependency-update branch January 4, 2024 08:31
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.

2 participants