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

Fix build - remove setuptools-git-versioning from pyproject.toml and also versioneer.py from MANIFEST #94

Merged
merged 3 commits into from
Oct 28, 2023

Conversation

yarikoptic
Copy link
Collaborator

See individual commits.

Closes #93 - IMHO the main problem was having both setuptools-git-versioning and setuptools_scm which are for the same purpose, thus likely interfered.
I did some testing on my own repo in this branch for a while to arrive to this conclusion. e.g sample log

It was removed in  2ce7dbc awhile back to switch
to use setuptools_scm.
…tuptools-git-versioning

I believe it is the addition of both setuptools-scm and
setuptools-git-versioning which caused confusion and incorrect operation on CI
-- it failed then to trigger the scm since I guess with
setuptools-git-versioning it was already getting some version according to
DEBUG:

    DEBUG setuptools_scm._integration.setuptools infer_version {'name': None, 'version': '1.6.3.post5+git.13caf5c5', 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'url': None, 'license': None, 'description': None, 'long_description': None, 'keywords': None, 'platforms': None, 'classifiers': None, 'download_url': None, 'provides': None, 'requires': None, 'obsoletes': None}
    DEBUG setuptools_scm._integration.setuptools dist 139796115184528 139796115184848
    running egg_info

so as you can see setuptools_scm just didn't bother running anything.

Should address #93
@yarikoptic yarikoptic added internal Changes only affect the internal API release Create a release when this pr is merged labels Oct 28, 2023
@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b23c5d9) 96.10% compared to head (a5c8bdf) 96.10%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   96.10%   96.10%           
=======================================
  Files           2        2           
  Lines         385      385           
=======================================
  Hits          370      370           
  Misses         15       15           
Flag Coverage Δ
unittests 96.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

🚀 PR was released in v1.6.4 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes only affect the internal API release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Missing annexremote._version in version 1.6.3
1 participant