-
Notifications
You must be signed in to change notification settings - Fork 1
Adjust to EMGUI v0.6.0 #21
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
226361d
Adjust to EMGUI v0.6.0
67f7d7b
Fix formatting
12f7606
skip GUI-related imports/tests until Makie enables headless CI runs f…
c9e0e25
Add suggestions from review
0ab4ac0
Move EMGUI to a weak dependency in an attempt to resolve CI
827dbcc
Enable simple test runs locally
3e40d8c
Skip EMGUI related tests for now.
fb2ab87
Add suggestion from review
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a problem in the changes in the
Project.toml: The way the weak dependency is introduced does not make sense. Without specifying an extension, there is not point to specify a weak dependency as outlined in the Pkg documentation.As the
EMGUIextension does not provide new code (only the YAML file), I would suggest removing the weak dependency. Note that I will not allow forEMGUIin the CI test set anyhow (as tested out in, e.g., 226361d) as loading the package takes too long.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If deps for EMGUI is removed there will be an error with EMGUI v0.5* versions, and in this sense this would be a breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit of a hen and egg problem, I see it now. That implies it requires a more thorough thought process how we handle it.
In theory, if we provide the file here, we need to have the version number regarding
EMGUIto limit the application to the latest version to which it is compatible. In this case, we would seeEMGUIas one of the core packages to which all other are dependent. The disadvantage is that if there are changes in the files inEMGUI, we would need to adjust all packages (as it is the case here right now)The alternative is that all names are included in
EMGUIfor the supported packages of theEnergyModelsXorganization. In this situation, we unfortunately would require changes inEMGUIfor changes in the individual packages which is neither beneficial. We would also require a dependency for each package to limit its applicability to a given version.I would still argue to remove the compatibility. We did not have a limitation beforehand for v0.5. As a consequence, it is possible to use 0.1.3 (the version before this) with
EMGUIv0.6.0. If people update their package versions withpgk> update, they will anyhow update to the latest version of both. In the second case of having either of the package cloned or downloaded, the compatibility inEMHeatdoes not change the picture.