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

Use static setuptools metadata #1116

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

astrojuanlu
Copy link
Contributor

This migrates most of the metadata keys to the new static/declarative setup.cfg.

Also, I tried fixing the bumpversion configuration, but when I tried bumpversion micro it introduced a few bugs in the package-lock.json and whitespace changes in setup.cfg, so I am not sure if we are still using it.

@agjohnson
Copy link
Collaborator

Yeah, I still use bumpversion. I'd like to use it on other projects as well too. I'm going to target a future release for this work, after we get a 1.0 release out with some of the current work pending.

@agjohnson agjohnson added this to the 1.1 milestone Apr 5, 2021
@astrojuanlu
Copy link
Contributor Author

Reported the bumpversion issues here #1117

@astrojuanlu
Copy link
Contributor Author

Rebased on top of master 👍🏽

@benjaoming
Copy link
Contributor

benjaoming commented Aug 19, 2022

😄 @agjohnson - just stumbled upon gold here, the bumpversion issues that got introduced in package-lock.json are already fixed reported here by @astrojuanlu [edit: read that wrong]

@benjaoming benjaoming requested a review from a team as a code owner August 19, 2022 15:27
@benjaoming
Copy link
Contributor

Updated to latest master. I've included the Jinja fix from #1316.

Copy link
Contributor

@benjaoming benjaoming left a comment

Choose a reason for hiding this comment

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

This is really nice work 💯 looking forward to getting rid of setup.py all-together.

I'll do a version bump in another PR, so I might move the version to setup.cfg there.

@@ -86,73 +86,11 @@ def run(self):


setup(
name='sphinx_rtd_theme',
version='1.0.1alpha1',
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we also have the version in setup.cfg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants