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

maint: refactor __init__.py and add _version.py, drop setup.py, require python 3.7+ #21

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Dec 6, 2022

I think this makes sense, but I figure I can get down to adding some tests before concluding that with certainty.

Is it breaking to drop support for python 3.6 and require python 3.7 when it has reached end of life?

@consideRatio consideRatio changed the title maint: refactor __init__ and add _version.py maint: refactor __init__.py and add _version.py Dec 6, 2022
@consideRatio consideRatio changed the title maint: refactor __init__.py and add _version.py maint: refactor __init__.py and add _version.py, drop setup.py, require python 3.7+ Dec 6, 2022

return setup(app, *args, **kwargs)
from ._version import __version__ # noqa
from .autodoc_traits import ConfigurableDocumenter, TraitDocumenter, setup # noqa
Copy link
Member

Choose a reason for hiding this comment

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

I think there's actually no reason to have more than just one autodoc_traits.py (no directory at all) for a single-purpose package like this, what do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense, could I go for it in a standalone PR?

Copy link
Member

Choose a reason for hiding this comment

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

Sure!

@minrk minrk merged commit c775f41 into jupyterhub:main Dec 7, 2022
@consideRatio consideRatio changed the title maint: refactor __init__.py and add _version.py, drop setup.py, require python 3.7+ maint: refactor __init__.py and add _version.py, drop setup.py, require python 3.7+ Dec 15, 2022
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.

2 participants