-
Notifications
You must be signed in to change notification settings - Fork 15
Compatibility fixes for unyt3.1.0
#287
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
base: master
Are you sure you want to change the base?
Conversation
|
Test failures seem to be because my attempt to test against unyt's main, currently erroneously set to version 3.0.1dev0 (typo for 3.1.0dev0, I presume), gets overridden by installing 3.0.4 from pypi. I think this is because we have requirements both in requirements.txt and pyproject.toml (well and also because of the typo in unyt). This means 3.0.4 installs as a dependency when swiftsimio installs, AFTER we already installed main when installing requirements :( |
|
@JBorrow unyt released today, so when you get a chance... If you have views on versions for dependencies that's also helpful. |
|
Code looks good to me insofar as I understand the unyt internals. |
|
Can we not allow unyt to handle our numpy version pinning for us? |
No, we require more recent |
|
@JBorrow if you're happy with the changes can you merge and mint a release (could wait for John's PR for release, it seems close to ready too). Main thing to keep an eye on that's not otherwise checked is the RTD build. I don't think I broke it but have no way of checking - can't see the logs or anything. Also consider switching the default docs view from "latest" to "stable", that will be the version that most users want. There's a setting in the RTD console for that. I'll push a commit in a sec to update the link on the README to not point specifically to "latest" but just the RTD site and let it decide what the default version is. I already updated the github sidebar link. FYI the change that I made was to build the docs from the github repo - it was always building from the pypi version, so afaict both "latest" and "stable" were actually the most recent pypi release. RTD is smart enough to build "latest" from HEAD of master and "stable" from the most recent version-number-like tagged commit, we should be letting it do that and that's what I've got it set to do now in the |
A new version of
unytis about to be released. This has some new features and bugfixes that we should take advantage of.This includes changes previously proposed in #221, but I'm combining them as it's all to do with changes in the same version of unyt.
Todo:
numpyversions2.3.4and2.4.1, but this should be done a bit more carefully before merging. I don't have the brainspace to overhaul the CI to test various version combinations right now but checking carefully by hand on this one would be a good idea. Also worth checking a fewastropyversions particularly in conjunction withnumpy2.4.1. We should pinunytto>=3.1.0on this one, for sure. I think we should not pin tonumpy>=2.4.1because it's very new and in particularnumbawill be lagging behind this.unytto actually release3.1.0.Closes #285
Closes #253
Closes #286