Skip to content

Conversation

@yakutovicha
Copy link
Member

fix #149

aiidalab>=v21.10.2
ipython~=7.0
ipywidgets~=7.6
ipywidgets>=7.8.1,<9
Copy link
Member

Choose a reason for hiding this comment

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

So we still support 7.8.1? How come not just >=8?

Copy link
Member Author

Choose a reason for hiding this comment

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

To ensure the existing dependency stacks work, I guess. I cannot imagine the possible set of software combinations this will go into, so it makes sense to keep both for the time being.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, most of the apps I think pin the version to 7.x so we must support both for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same question as in the AWB PR. Is there anyway we can still support 7.7?
(although this is less pressing here, since aiidalab-home is installed in the image, so whatever minimum version we put here will be the minimum version in the image.

@danielhollas
Copy link
Contributor

I believe this one was a blocker last time we tried this.

aiidalab/aiidalab-docker-stack#512

@yakutovicha
Copy link
Member Author

I believe this one was a blocker last time we tried this.

aiidalab/aiidalab-docker-stack#512

No more blockers :)

Copy link
Member

@edan-bainglass edan-bainglass left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Some questions about the changes

ipw.dlink(
(self.app, "available_versions"),
(self.version_selector.version_to_install, "index"),
transform=lambda versions: 0 if versions else None,
Copy link
Contributor

Choose a reason for hiding this comment

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

A little confused here: is 0 an index and therefore the latest version is selected by default? Maybe worth a comment.
(also why was this not necessary before?).

self.page_selector.options = list(
range(1, int(len(self.apps_to_display) / self.items_per_page.value + 2))
)
self.page_selector.value = 1
Copy link
Contributor

Choose a reason for hiding this comment

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

I am very confused by this. 😅 why 1?

aiidalab>=v21.10.2
ipython~=7.0
ipywidgets~=7.6
ipywidgets>=7.8.1,<9
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question as in the AWB PR. Is there anyway we can still support 7.7?
(although this is less pressing here, since aiidalab-home is installed in the image, so whatever minimum version we put here will be the minimum version in the image.

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.

Remove the widgetsnbextension version constraint when issue with ipytree is fixed

4 participants