Repository navigation
TST: require matplotlib binaries in devdeps so that nightlies take priority over pre-releases without wheels - #15284
neutrinoceros wants to merge 1 commit into
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
90b521c to
e53174e
Compare
…iority over pre-releases without wheels
def2b7c to
ab154a8
Compare
|
I'm not well versed in tox; the only way I found to pass force binaries was through a constraint file, but it works. Remaining failures are out of scope for this PR and have to do with NEP 18 function being deprecated in NumPy 2.0. |
|
|
||
| commands = | ||
| mpldev: pip install -U --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib | ||
| mpldev: pip install -U --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib --only-binary matplotlib |
|
I'm confused why that would fix it, as we release wheels for our RC. We don't typically merge the release branch (with its tag) back into main until the final release, and that is what triggers main to bump versions (which then is the wheels we upload to nightlies). I think what you might actually want is |
Indeed, but I agree that forcing reinstall would be more robust, I'm just not sure how to configure that as I'm new to tox. |
|
This RC period is how long? I am not sure if this effort is worth all the time already put into it if the problem is going away on its own within 2 weeks or so. Though I do wonder why mpldev directive differs from devdeps. @astrofrog or @saimn , do you remember why? |
|
The mpldev config was just for the image tests so we could test with just Matplotlib dev and not also have Numpy dev etc but to be honest I don't think that distinction is really needed anymore and we could probably switch the image test to use devdeps too. I also don't think this PR is really needed - it's not the end of the world if for a couple of weeks we test against RC instead of true developer versions - it's not ideal but also not critical. |
|
@astrofrog , no, I mean why the mpldev install command is different from the matplotlib dev install command in devdeps. |
|
@pllim 'historical reasons' 😄 - feel free to change |
|
I haven't followed closely but from what I can tell problems appear to be fixed on main ? any way, feel free to close this ! |
|
Well, the problem didn't really get solved but now the CI is pulling both matplotlib rc and numpy 1.26 rc (so we're not plagued by numpy 2.0.dev for now). |
|
gotcha. Then I suppose it doesn't hurt either to keep this one around in case you want to merge it after all, and if it's still not merged when matplotlib 3.8 comes out there'll be no cost to closing it. |
|
Sure. I did put a "Close?" label on it this morning, so the bot would close it in 7 days unless it gets a friend to watch the VHS tape. |
|
oooooh, spooky 👻 |
|
Ah looks like the timer is longer than a week as PR, so I closed this manually as it is no longer needed. Thanks anyway! |
This tentatively fix #15283