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

Add fallback if the version has been bumped bot not tagged #2754

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

dschwoerer
Copy link
Contributor

Should resolve at least part of the currenly observed errors

@dschwoerer
Copy link
Contributor Author

The upload still fails as there is no easy way to determine a proper version.

I could just detect this case and not upload, but I am worried that it might fail in other cases, so I would rather manually ignore this error ...

@dschwoerer
Copy link
Contributor Author

Remaining failures are #2755 and #2742

Comment on lines 156 to 158
+ f" -DCMAKE_INSTALL_PREFIX={prefix} -DCMAKE_INSTALL_LIBDIR={prefix}"
+ f" -DCMAKE_INSTALL_PYTHON_SITEARCH={trueprefix} -DCMAKE_INSTALL_RPATH=\$ORIGIN"
+ f" -DCMAKE_INSTALL_PYTHON_SITEARCH={trueprefix} -DCMAKE_INSTALL_RPATH=$ORIGIN"
+ opts
Copy link
Member

Choose a reason for hiding this comment

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

No need to change now, but for future reference you can just do:

  run(
        "cmake -S . -B _wheel_build/ -DBOUT_ENABLE_PYTHON=ON"
        f" -DCMAKE_INSTALL_PREFIX={prefix} -DCMAKE_INSTALL_LIBDIR={prefix}"
        f" -DCMAKE_INSTALL_PYTHON_SITEARCH={trueprefix} -DCMAKE_INSTALL_RPATH=$ORIGIN"
        + opts
    )

@ZedThree
Copy link
Member

ZedThree commented Oct 6, 2023

Thanks @dschwoerer !

@ZedThree ZedThree merged commit 9445ace into master Oct 6, 2023
16 of 23 checks passed
@ZedThree ZedThree deleted the version-before-tag branch October 6, 2023 09:26
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.

None yet

2 participants