-
Notifications
You must be signed in to change notification settings - Fork 66
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
improved menuinst #2281
improved menuinst #2281
Conversation
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.
we also need the other OS's
For windows menuinst works too, but on the guacamole system I get a PermissionError which seems not to block the installation in the menu, |
interesting windows can install all dependencies in a python-3.10 |
This works as expected on windows and linux verified on a local conda build. I expect it also working for OSX but can't easily check that. |
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.
Nice simplification. I do not understand why the bld.bat and build.sh use different last lines, though. Maybe add a comment to that regard?
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.
All of the changes to localbuild/ have to be replicated in the mss-feedstock, right?
I support removing these kinds of things (e.g. also the updater, or anything that deals with packaging matters at runtime) since they make assumptions about how the software is installed that will not always hold true and break something at some point. Also, it is simpler to not have to deal with that stuff.
localbuild, docs, tutorials, tests, ... are not installed, see MANIFEST.in We keep them for development. Currenly on localbuild the creation of our docker containers is based on. A package maintainer for an LTS of Ubuntu will change in his fork a lot more and keep that version over years. When you want to discuss needs of a Linux package Maintainer do that in a different issue. |
Lets look on this seperated from this PR. The dir is not in the MANIFEST.in so it has a similar scope as docs itselfs. |
I don't see how this has anything to do with what I said. I just noted that I think that these changes also have to go into mss-feedstock at some point, i.e. when updating mss-feedstock after the next release.
The one in https://github.com/Open-MSS/dockertesting isn't really based on localbuild/, it just parses the dependencies out of meta.yaml, same as what the test workflows in this repo do too. Do we have more container images?
I think you are misunderstanding me. The quote you replied to is not meant to say that I want to remove localbuild/ (well, I want to, but that is unrelated to this PR as you noted and we have an issue (sort-of) and a proposed PR for that already). The quote is just meant to support the change in this PR generally. It is meant to say that I support removing stuff that deals with packaging matters at runtime, i.e. anything that installs something or updates something or whatever when the package is already installed and running. |
before we merge this I try it on windows again. |
the last change broke it on windows
|
Trying again with the same, but it looks like I have to ping for resolving https://docs.conda.io/projects/conda-build/en/stable/user-guide/tutorials/build-pkgs.html#writing-the-build-script-files-build-sh-and-bld-bat first. |
unfortunatly the hardware I can use for a build example needs 2h old style mamba listhighlights: setuptools 69.5.1, python 3.10.14, pip 24.0 |
Seems also on linux the minimum python version has changed highlights: setuptools 69.5.1, python 3.10.13, pip 24.0 |
oldstyle build for windows
After this is fixed Afterwards that setup can be used to track down the other problem. |
Purpose of PR?:
Fixes #2262
Does this PR introduce a breaking change?
moves Menu to conda-build process and menuinst