Skip to content

Split setup.cfg test and all into types; use in tox.ini - #10464

Merged
pllim merged 3 commits into
astropy:mainfrom
mhvk:split-test-and-all-into-types
Jun 29, 2021
Merged

pllim merged 3 commits into
astropy:mainfrom
mhvk:split-test-and-all-into-types

Conversation

@mhvk

@mhvk mhvk commented Jun 6, 2020 •

Copy link
Copy Markdown
Contributor

As a start to address #10342. Two commits just to have something concrete to discuss.

  1. Split the test dependencies into those that are needed to do the testing, and a new test_all that includes packages used for comparison purposes.
  2. Split off a new rec set of recommended packages from all; the objective criterion is that these are all listed as "key" dependencies in devdeps - though they also happen to match more or less what I would pick.

p.s. Cancelled all tests, though checked locally that things work. Can adapt .travis.yml if we find there is a use for it.

@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.

If this can wait, I would like input from @astrofrog when he is available. Maybe @Cadair wants to look too since he has dealt with packaging for Sunpy etc.

If we decide to move forward with this, install.rst and maybe even the dev docs also need to be updated to instruct people how this is intended to be used.

Thank you!

Comment thread setup.cfg Resolved
@pllim
pllim marked this pull request as draft September 16, 2020 21:55
@pllim

pllim commented Sep 16, 2020

Copy link
Copy Markdown
Member

Hello. I converted your PR to a draft PR due to #10706 .

@mhvk
mhvk force-pushed the split-test-and-all-into-types branch from 4ddaef7 to 2b239d4 Compare December 29, 2020 01:10
@embray

embray commented Jun 21, 2021

Copy link
Copy Markdown
Member

This looks straightforward to me. Any help needed finishing this up? I agree with @pllim it should be mentioned in the installation docs.

@mhvk

mhvk commented Jun 21, 2021

Copy link
Copy Markdown
Contributor Author

@embray - thanks, I was really just waiting to get confirmation this was a good idea beyond @pllim's tentative OK!

1 similar comment
@mhvk

mhvk commented Jun 21, 2021

Copy link
Copy Markdown
Contributor Author

@embray - thanks, I was really just waiting to get confirmation this was a good idea beyond @pllim's tentative OK!

@mhvk
mhvk force-pushed the split-test-and-all-into-types branch from 2b239d4 to 261b1a4 Compare June 21, 2021 20:33
@mhvk

mhvk commented Jun 21, 2021

Copy link
Copy Markdown
Contributor Author

OK, I tried to find places where it would be good to mention the changes. Please let me know of any others!

@mhvk

mhvk commented Jun 21, 2021

Copy link
Copy Markdown
Contributor Author

Failure is unrelated - see #11857 (fixed by #11858)

@embray
embray marked this pull request as ready for review June 29, 2021 10:39
@embray

embray commented Jun 29, 2021

Copy link
Copy Markdown
Member

@pllim Any final thoughts on this one, or should we merge?

@pllim

pllim commented Jun 29, 2021

Copy link
Copy Markdown
Member

I'll have a look soon. Thanks for your patience!

@pllim

pllim commented Jun 29, 2021

Copy link
Copy Markdown
Member

Pretty sure the failure was fixed in #11858 but since this PR touches on dependencies, I would like to request a rebase, just to make sure. Thanks!

@pllim

pllim commented Jun 29, 2021

Copy link
Copy Markdown
Member

I guess repetitions are unavoidable and seems like the benefits outweigh the costs here.

We can worry about testing the new "recommended" deps in CI if the need arises in the future. I think we already have enough jobs as it is.

I'll approve after rebase is done (please ping me). 😸

@pllim pllim added this to the v5.0 milestone Jun 29, 2021
@mhvk
mhvk force-pushed the split-test-and-all-into-types branch from 261b1a4 to f2ede45 Compare June 29, 2021 17:08
@mhvk

mhvk commented Jun 29, 2021

Copy link
Copy Markdown
Contributor Author

@pllim - no problem, rebased!

@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.

Thanks!

@pllim
pllim merged commit 4e0d2e9 into astropy:main Jun 29, 2021
@mhvk
mhvk deleted the split-test-and-all-into-types branch June 29, 2021 18:32
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.

3 participants