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

Remove use of deprecated setuptools_scm_git_archive build package #2575

Merged
merged 5 commits into from
Sep 21, 2023

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Sep 20, 2023

In my Polar2Grid project I install Satpy from source. I noticed today that CI was failing because Satpy is still using the deprecated setuptools_scm_git_archive utility package. The functionality of this package has been merged into setuptools_scm and is no longer needed. It now fails because setuptools_scm (the newest version) no longer includes modules that that package was importing.

  • Closes #xxxx
  • Tests added
  • Fully documented
  • Add your name to AUTHORS.md if not there already

@djhoese djhoese added bug cleanup Code cleanup but otherwise no change in functionality labels Sep 20, 2023
@djhoese
Copy link
Member Author

djhoese commented Sep 20, 2023

I also think I can simplify the setup.py by removing a hack we had for setuptools_scm that I think is now not needed.

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #2575 (72bdca2) into main (214e3f4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2575   +/-   ##
=======================================
  Coverage   94.91%   94.91%           
=======================================
  Files         351      351           
  Lines       51217    51217           
=======================================
  Hits        48613    48613           
  Misses       2604     2604           
Flag Coverage Δ
behaviourtests 4.29% <ø> (ø)
unittests 95.51% <ø> (ø)

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

Copy link
Member

@mraspaud mraspaud left a comment

Choose a reason for hiding this comment

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

LGTM, do you think this is ready to merge?

@djhoese
Copy link
Member Author

djhoese commented Sep 21, 2023

Yeah let's merge it and see what happens.

@djhoese djhoese merged commit fd51886 into pytroll:main Sep 21, 2023
16 of 17 checks passed
@djhoese djhoese deleted the remove-scm-git branch September 21, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cleanup Code cleanup but otherwise no change in functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants