-
-
Notifications
You must be signed in to change notification settings - Fork 10
v2.1.0-rc1 #82
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
v2.1.0-rc1 #82
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Why are the builds passing despite the dependent PR not being merged? |
I like your minimal changes @LecrisUT . How large the fortran bindings are? Are they built together with main package? I would prefer not to expand the package too much. Especially the dependencies. Maybe we need to split it into separate package. How about a new dependency (scikit-build). Is this a new dependency of spglib or just a workaround? If this is just build it is fine. If it expands the run dependencies it is less perfect. |
@conda-forge-admin, please rerender |
The build system has evolved a bit since this PR. Basically we use I've got a few questions:
|
Conda and pip are quite different, but there is no limitation to only setuptools for building. Essentially: whatever you need. So we can shift the build system to the different one. The only requirement is to have a functioning install at the end. BTW @LecrisUT : shall I add you to maintainers? |
Maintainer docs: |
Indeed, most changes done in this minor release were on the build system, so for the users it should be a simple plug-and-play replacement. We just have to make sure we reflect the changes from upstream. I am trying to build the conda package manually. |
@jochym I have pushed the necessary fixes to the build. The conda build system is not as intuitive as the others I have contributed to. I have pushed a temporary commit with the head to Question, do we push RC's here as well, or is it automated? |
The other issue appears to be with macos arm doing cross-compilation. That means we cannot do the compilation, nor can we test the ctest properly unless we ship the testing executables. Any environment variable that tells us if we are cross-compiling? |
-DSPGLIB_WITH_Fortran=ON | ||
cmake --build ./build | ||
# TODO: This should be moved to run_test.sh. Cannot get the appropriate work directory to run these tests | ||
ctest --test-dir ./build |
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.
How can we move this to run_test.sh
? I can't find a way to detect the previous work directory?
We would like to use ctest so that it detects all the tests that we support, but we should also be testing outside the build directory to make sure that the installation is functioning.
Please advise on this. |
It seems failing at linking gtest. Can we use https://anaconda.org/conda-forge/gtest? |
I see it is set in |
The issue is that when downloading, it also installs gtest. But I think we can disable that. Still windows will be failing though. |
00dc564
to
b508bff
Compare
Note: ctest should be run in `test` not `build` Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
…nda-forge-pinning 2023.03.07.12.05.23
Guys. We should not release rc packages. It is fine to use the PR as a testing ground before actual releases. But I would advise against merging them. Conda-forge packages should be release-level quality. |
Note that this is deployed on a different branch and label, so users will not be affected by this. We should be releasing rcs like this so we can catch any errors that we should be fixing upstream. |
@LecrisUT, can we simply release v2.1.0? |
There is still 1-2 things to test with a For the long run it is better to go with this design. We should allow the downstream developers some time to check if there aren't any unexpected accuracy or building issues. @jochym insist that we should only publish release-level, and I agree with that, and this |
I think that to keep it simple may be a choice although we may surprise users in sometimes, because we may have to consider distribution of pains between users and developers or maintainer for sustainability of open source scientific software project where number of developers and maintainers is few. |
Note that the |
Indeed, this approach is coming from standard convention. |
Hi, after a brief discussion in the Conda-forge gitter channel, I just wanted to confirm that, from a Conda-forge perspective, releasing rc builds on the rc channel is fine, even good. That means that downstream library and application developers as well as interested users have the option to test the new release and report any last-minute issues. Keep in mind, that they have to ask for it explicitly by adding the Does that assuage your concerns, @jochym? |
This is a companion PR to spglib/spglib#210
Closes: #83
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)