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

Add setuptools_scm build dep to fix dist-info version not being set #52

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

CAM-Gerlach
Copy link
Member

@CAM-Gerlach CAM-Gerlach commented Jun 8, 2022

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Currently, as first discovered on pypa/twine#902 , the Twine conda package has an empty 0.0.0 version set in the core metadata (.dist-info, as displayed by standard Python packaging tooling, e.g. pip list, twine --version, importlib_metadata, etc) instead of the correct version. This is due to a missing setuptools_scm build-time dependency; I confirmed that adding such is all that is needed to fix this issue in conda-forge/lektor-feedstock#19 .

Therefore, I've added the required versions of Setuptools and Setuptools_SCM as build-time dependencies (as specified upstream and in the current Setuptools_SCM docs), which should fix the problem (which I'll confirm checking the build output). Additionally, I've bumped the readme_renderer version to match the upstream requirement, which seemed to be an oversight.

I'll re-render once this PR passes tests and I confirm the correct .dist-info version is displayed.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@CAM-Gerlach
Copy link
Member Author

@conda-forge-admin, please rerender

@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2022

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/twine-feedstock/actions/runs/2464538637.

@CAM-Gerlach
Copy link
Member Author

@bollwyvl I confirmed this fixes the issue; looks like it's good to go now.

@bollwyvl bollwyvl merged commit c4ee6f4 into conda-forge:main Jun 9, 2022
@bollwyvl
Copy link
Contributor

bollwyvl commented Jun 9, 2022

thanks!

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