-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
APE 17 migration #1674
APE 17 migration #1674
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1674 +/- ##
==========================================
- Coverage 61.86% 61.29% -0.58%
==========================================
Files 62 63 +1
Lines 5738 5792 +54
==========================================
Hits 3550 3550
- Misses 2188 2242 +54
Continue to review full report at Codecov.
|
8789dae
to
6af97b8
Compare
/azp run compare-refdata |
Azure Pipelines successfully started running 1 pipeline(s). |
Build failed 792eaa2 |
78bb0f5
to
08ecf86
Compare
Before a pull request is accepted, it must meet the following criteria:
|
c809c6b
to
4d4a3c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments, otherwise looks good
licenses/LICENSE.rst
Outdated
@@ -0,0 +1,26 @@ | |||
Copyright 2021 TARDIS Collaboration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Static dates seem like a bad idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't see that. TARDIS is 2014-present or 2013-present? @wkerzendorf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I thought we were talking about conf.py
. We should put Copyright 2014 TARDIS Collaboration
I guess.
@@ -2,7 +2,8 @@ | |||
import tempfile | |||
|
|||
from pytest_html import extras | |||
from tardis import __githash__ as tardis_githash | |||
|
|||
# from tardis import __githash__ as tardis_githash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment and not just delete?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone will need to fix integration tests in the future and maybe that line would be useful. I was thinking of adding a comment like not available in version.py anymore, find another way!
or something like that.
@@ -33,7 +33,7 @@ | |||
# For specifying error while exception handling | |||
from socket import gaierror | |||
|
|||
from tardis import __githash__ as tardis_githash | |||
# from tardis import __githash__ as tardis_githash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment?
05bf56d
to
34381dd
Compare
2907807
to
d5ac38a
Compare
06eb500
to
4af2443
Compare
"compiling.", | ||
) | ||
|
||
parser.add_argument( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KevinCawley what is that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry I don't follow.
* remove ah submodule * re-render setup.cfg * remove get_package_data functions * remove ah submodule (2) * remove ez_setup.py * re-render setup.py * update pyproject.toml * re-render .gitignore * re-render MANIFEST.in * add tox.ini * re-render _astropy_init.py * update __init__.py * update conftest.py * add licenses folder * add license section to readme * re-render docs cfg * comment out __githash__ imports * remove plasma setup_package.py * disable doctests * re apply black format * fix author name * add required dependency * first round of changes to conf.py * add jaladh changes to conf.py * changes to doc workflows [build_docs] * add atharva patch * fix layout * include package data [build_docs] * add missing nbsphinx config * more changes to conf.py [build_docs] * minor changes * add entry points * black format script * minor changes * add support for CalVer :) * comment out calver cfg * fix typo * minor changes * consistent use of quotes in conf.py * fix copyright [build_docs] * remove obsolete .nojekyll from docs folder * fix year in license * add comment about missing __githash__ * [build_docs]
Description
Adoption of the new Astropy package template: https://docs.astropy.org/projects/package-template/en/latest/ape17.html
What's working?
Suggestions?
Full list of changes
.github/workflows/documentation-build.yml
- use "new" doc build command (deprecatedpython setup.py build_docs
).github/workflows/documentation-preview.yml
- same as above.gitignore
- re-rendered withcookiecutter
and replaced.gitmodules
- removed,astropy_helpers
deprecated :)MANIFEST.in
- re-renderedREADME.md
- merged with file rendered withcookiecutter
ah_bootstrap.py
- removedastropy_helpers
- removeddocs/Makefile
- re-rendereddocs/conf.py
- mergeddocs/make.bat
- re-renderedez_setup.py
- removedlicenses/LICENSE.rst
- moved to newlicenses
folderlicenses/README.rst
- newlicenses/TEMPLATE_LICENCE.rst
- newpyproject.toml
- mergedsetup.cfg
- re-rendered, addedentry_points
,package_data
and disableddoctest
setup.py
- re-rendered, tweaked to make CalVer worktardis/__init__.py
- mergedtardis/__astropy_init.py
- re-renderedtardis/conftest.py
- mergedtardis/io/setup_package.py
- APE 17 step 4tardis/montecarlo/setup_package.py
- APE 17 step 4tardis/plasma/setup_package.py
- APE 17 step 4tardis/simulation/setup_package.py
- APE 17 step 4scripts/tardis → tardis/scripts/tardis.py
- moved to make it work as an entry pointtardis/tests/integration_tests/conftest.py
-githash
not available in new version system (setuptools_scm
)tardis/tests/integration_tests/plot_helpers.py
- same as abovetardis/tests/integration_tests/report.py
- same as abovetardis/tests/setup_package.py
- APE17 step 4tardis_env3.yml
- add requiredsetuptools_scm
andsphinx-astropy
tox.ini
- new from cookiecutterCoverage report
Moving
tardis
script totardis/scripts
makes coverage fail (we have more code lines in PR than in the base branch)Motivation and context
pip
#1211astropy_helpers
submoduleconda-forge
packageHow has this been tested?
Examples
Type of change
Checklist