spacetelescope / drizzle

A package for combining dithered images into a single image
https://spacetelescope-drizzle.readthedocs.io/en/latest/
Other
51 stars 26 forks source link

Warning during build due to usage of dash-separated keys in pyproject.toml #106

Closed braingram closed 1 year ago

braingram commented 1 year ago

I noticed a few warning in the failed build log posted (the failure appears unrelated to the issue reported here): https://github.com/spacetelescope/jwst/issues/7721

      ********************************************************************************
      Usage of dash-separated 'upload-dir' will not be supported in future
      versions. Please use the underscore name 'upload_dir' instead.

      By 2023-Sep-26, you need to update your project and remove deprecated calls
      or your builds will no longer be supported.

      See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
      ********************************************************************************

I'm unable to find a migration guide but I think this should be fixed by switching the key separators from - to _. I tried to test this locally but don't see the same errors. Perhaps @zacharyburnett knows about this deprecation and which keys need to be updated before they result in build failures in September.