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

Ape17 #290

Merged
merged 11 commits into from
Feb 15, 2022
Merged

Ape17 #290

merged 11 commits into from
Feb 15, 2022

Conversation

andamian
Copy link
Contributor

@andamian andamian commented Jan 18, 2022

@andamian andamian marked this pull request as draft January 18, 2022 03:24
@codecov
Copy link

codecov bot commented Jan 18, 2022

Codecov Report

Merging #290 (781f88b) into main (b5b33e8) will decrease coverage by 0.04%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
- Coverage   75.50%   75.46%   -0.05%     
==========================================
  Files          44       44              
  Lines        5128     5119       -9     
==========================================
- Hits         3872     3863       -9     
  Misses       1256     1256              
Impacted Files Coverage Δ
pyvo/dal/tap.py 73.37% <50.00%> (ø)
pyvo/__init__.py 100.00% <100.00%> (ø)
pyvo/utils/compat.py 100.00% <100.00%> (ø)
pyvo/_astropy_init.py

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5b33e8...781f88b. Read the comment docs.

@andamian andamian marked this pull request as ready for review January 18, 2022 03:55
@andamian
Copy link
Contributor Author

As per the instructions, @astrofrog please have a look.

@andamian
Copy link
Contributor Author

@pllim @bsipocz - your comments are also welcome! :-)

Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Many minor comments, some nitpicks, some are real issues. When these are addressed I would still suggest to wait for another review from the others as I'm not sure I picked up all the issues.
For my CI related comments, I would suggest that it's fine to decouple those from this refactor PR and do separately.

.github/workflows/cibuild.yml Outdated Show resolved Hide resolved
conftest.py Outdated Show resolved Hide resolved
pyvo/conftest.py Outdated Show resolved Hide resolved
setup.cfg Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
@pllim
Copy link
Member

pllim commented Jan 25, 2022

Nice! +237 −1,373 👏

I will review once Brigitta's comments are addressed. Thanks!

@andamian
Copy link
Contributor Author

Nice! +237 −1,373 👏

I will review once Brigitta's comments are addressed. Thanks!

@pllim - I've finally found the time to address Brigitta's comments. Thanks

@pllim pllim mentioned this pull request Feb 14, 2022
Copy link
Member

@pllim pllim left a comment

Choose a reason for hiding this comment

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

You might want to audit your MANIFEST.in. You don't have directories like cextern nor scripts, among other things, so there is no need to declare them in your packaging manifest. But that is out of scope here (#302).

Comments below. Thanks!
While you are at this, might as well replace distutils? I see this in your test log: DeprecationWarning: distutils Version classes are deprecated

MANIFEST.in Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyvo/conftest.py Outdated Show resolved Hide resolved
pyvo/conftest.py Outdated Show resolved Hide resolved
pyvo/conftest.py Outdated Show resolved Hide resolved
setup.cfg Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@andamian
Copy link
Contributor Author

@pllim - thanks for the prompt code review. Re-worked done including the distutils warnings. Hope I haven't missed anything. Also happy to see 1K LOC shredded. :-)

pyproject.toml Show resolved Hide resolved
setup.cfg Show resolved Hide resolved
@pllim
Copy link
Member

pllim commented Feb 15, 2022

Almost there, just two more questions above. Thanks!

Adrian and others added 2 commits February 15, 2022 09:33
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
Copy link
Member

@pllim pllim left a comment

Choose a reason for hiding this comment

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

LGTM. Let's do this. Thanks!

@pllim pllim merged commit b837808 into astropy:main Feb 15, 2022
@andamian andamian deleted the ape17 branch February 15, 2022 18:35
@bsipocz
Copy link
Member

bsipocz commented Feb 15, 2022

Nice work, nothing feels better than a -1K+ diff for a PR :)

@tomdonaldson tomdonaldson modified the milestones: v1.3, v1.2.2 Feb 17, 2022
@bsipocz bsipocz mentioned this pull request Mar 11, 2022
2 tasks
@bsipocz bsipocz modified the milestones: v1.2.2, v1.3 Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants