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

CI: Add pre-release installs to upcoming tests #26197

Merged
merged 1 commit into from Jun 27, 2023

Conversation

greglucas
Copy link
Contributor

PR summary

There is a spot reserved for $PRE in the package installation command, but the environment variable doesn't appear to be set anywhere... Let's add it when we are doing our weekly scheduled runs to get other packages' pre-releases, not just the ones from pandas and numpy. Note this may cause more noise and be a little harder to track down where the issue is coming from, but seems like a good thing to do to test against other upcoming packages.

@greglucas greglucas added the CI: testing CI configuration and testing label Jun 26, 2023
@greglucas greglucas added this to the v3.8.0 milestone Jun 26, 2023
Copy link
Member

@ksunden ksunden left a comment

Choose a reason for hiding this comment

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

I was thinking about doing exactly this in #26152, hopefully this would have caught it prior to final release...

(I do think there is an argument for some things to go even further and do git installs/get more things to upload nightlies, but this is (hopefully) better than not doing any pre releases... The particular change to pyparsing was actually made a year ago, but hadn't been released yet until recently... catching that sooner may have made it easier to sort out)

@QuLogic
Copy link
Member

QuLogic commented Jun 27, 2023

I went to look into this earlier, and when #19036 added GitHub Actions in parallel to TravisCI, it did not have nightly builds. I think I left it for later, but never did. When nightly builds were added in #21634, pre-releases were not added either. I'm not sure if we discussed this in a call, but I think Travis died a bit suddenly and we never remembered the pre-releases in the end. So I'm in favour of adding this here.

@QuLogic QuLogic merged commit a45ed8f into matplotlib:main Jun 27, 2023
33 of 34 checks passed
@greglucas greglucas deleted the upcoming-pre branch June 27, 2023 02:12
@QuLogic
Copy link
Member

QuLogic commented Jun 27, 2023

Ah, there was a typo. Tests didn't run here, and raised an error when merged:

The workflow is not valid. .github/workflows/tests.yml (Line: 187, Col: 14): Unexpected symbol: ''. Located at position 36 within expression: github.event_name == 'schedule' && \ matrix.name-suffix != '(Minimum Versions)'

@QuLogic QuLogic mentioned this pull request Jun 27, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: testing CI configuration and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants