Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Added script that can be used for tox builds - #429

Merged
bsipocz merged 1 commit into
astropy:masterfrom
astrofrog:run-tox
Mar 13, 2020
Merged

bsipocz merged 1 commit into
astropy:masterfrom
astrofrog:run-tox

Conversation

@astrofrog

@astrofrog astrofrog commented Dec 14, 2019 •

Copy link
Copy Markdown
Member

This script installs and run tox, and optionally applies global patches if needed. The idea is to keep this super minimal even in the case where patches need to be applied.

I tried a slightly different approach of leaving it to the caller to actually run the tox command, and using the script to just modify the environment variables, but this didn't work because of issues with quotes in bash, which would require the final tox command to be convoluted.

For now, this script does not do any patching.

I've temporarily disabled all other Travis builds to make sure the one I added works, in case iteration is needed, without wasting CI time.

@bsipocz

bsipocz commented Dec 15, 2019

Copy link
Copy Markdown
Member

Let me know whet this is ready for review.

@astrofrog
astrofrog force-pushed the run-tox branch 2 times, most recently from 26b5abb to 8265248 Compare December 15, 2019 12:14
@astrofrog

Copy link
Copy Markdown
Member Author

@bsipocz - ready for review, the Travis failure is unrelated

@bsipocz

bsipocz commented Dec 15, 2019

Copy link
Copy Markdown
Member

Travis failure is with the helpers, so I'm rather inclined to patch rework the 4.0 core tag.

@astrofrog

Copy link
Copy Markdown
Member Author

@bsipocz - ok sounds good, that does indeed look like the issue that will be fixed in astropy/astropy-helpers#506 - that PR should be ready to be merged

@bsipocz

bsipocz commented Dec 16, 2019

Copy link
Copy Markdown
Member

OK, so having the pre release wheels indeed solved the CI.

I'll try to do a review later tonight.

@pllim pllim left a comment

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 am okay with trying this out. 👍

@bsipocz bsipocz left a comment

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.

Look good. It would be nice to have a dummy example of how to limit a dependency version, but given that this is mostly for the few of us maintaining ci-helpers, it's not really necessary.

@bsipocz

bsipocz commented Mar 13, 2020

Copy link
Copy Markdown
Member

Thanks @astrofrog. And a note to myself that I need to stop saying things about timings that I end up apparently not keeping.

@bsipocz
bsipocz merged commit 661e07e into astropy:master Mar 13, 2020
@pllim

pllim commented Mar 16, 2020

Copy link
Copy Markdown
Member

astropy CI is still failing on master, so I just cleared the cache and restarting https://travis-ci.org/github/astropy/astropy/builds/662587719 . FYI

@pllim

pllim commented Mar 16, 2020

Copy link
Copy Markdown
Member

Oh, right. astropy doesn't use ci-helpers anymore for Linux, right? 🤦‍♀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants