Skip to content

Fixes to the dist builds for 5.0 - #12292

Merged
Cadair merged 2 commits into
astropy:mainfrom
Cadair:dist_5.0
Oct 27, 2021
Merged

Cadair merged 2 commits into
astropy:mainfrom
Cadair:dist_5.0

Conversation

@Cadair

@Cadair Cadair commented Oct 26, 2021 •

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown
Contributor

👋 Thank you for your draft pull request! Do you know that you can use [ci skip] or [skip ci] in your commit messages to skip running continuous integration tests until you are ready?

@pllim

pllim commented Oct 26, 2021

Copy link
Copy Markdown
Member

p.s. Since Azure doesn't understand CI skip, I think for now, you can just [ci skip] everything so only Azure runs so we don't waste energy on the regular CI. FYI.

@pllim pllim added this to the v5.0 milestone Oct 26, 2021
@Cadair

Cadair commented Oct 26, 2021

Copy link
Copy Markdown
Member Author

I haven't been as i was trying to make skip work. But yes.

@dhomeier

Copy link
Copy Markdown
Contributor

Should test_write_extra_SkyCoord_cols perhaps just be marked xfail until the underlying functionality has been fixed? It tests for a workaround for missing functionality (representing more than one SkyCoord column), which itself does not work consistently across platforms, so I don't see much point in the test in its current form.

@Cadair

Cadair commented Oct 26, 2021

Copy link
Copy Markdown
Member Author

@dhomeier That's probably best discussed in #12170, just skipping it here is fine for now.

@Cadair

Cadair commented Oct 26, 2021

Copy link
Copy Markdown
Member Author

eh mah gawd

image

@Cadair
Cadair marked this pull request as ready for review October 26, 2021 16:01
@Cadair
Cadair requested a review from astrofrog October 26, 2021 16:03
Comment thread azure-pipelines.yml
# Only run one job on PRs
- wheels_cp39*linux_x86_64
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- sdist

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I thought sdist was the one we wanted on PR?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If sdist is added it might still make sense or have one wheel build at least since they use different infrastructure behind the scenes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Well, which one was broken and we didn't catch? That is the one we need to test per PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

They were all broken, the test setup is pretty similar between all of them (clean env, no checkout, dist installed, pytest --pyargs). I picked this as it was a) the fastest and b) also tests the cibuildwheel setup.

@Cadair

Cadair commented Oct 27, 2021

Copy link
Copy Markdown
Member Author

:shipit:

@Cadair
Cadair merged commit be0edc7 into astropy:main Oct 27, 2021
@Cadair
Cadair deleted the dist_5.0 branch October 27, 2021 09:04
@Cadair

Cadair commented Oct 27, 2021

Copy link
Copy Markdown
Member Author

I have kicked off a build that will upload a nightly when it's done (which hasn't happened in a long time): https://dev.azure.com/astropy-project/astropy/_build/results?buildId=2136&view=results

@pllim

pllim commented Oct 27, 2021

Copy link
Copy Markdown
Member

Re: nightly -- You never documented how to actually use it...

@pllim

pllim commented Oct 27, 2021

Copy link
Copy Markdown
Member

Ops! Sorry for the noise. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TST: CI should run one Azure Pipelines sdist build in PR sdist & wheel builds broken

5 participants